Invoke accessor on the non-modifiable current selection.
Declared in <baljsn_encoder_testtypes.h>
template<typename t_ACCESSOR>
int
accessSelection(t_ACCESSOR& accessor) const;
Invoke the specified 'accessor' on the non-modifiable selection, supplying 'accessor' with the corresponding selection information structure. Return the value returned from the invocation of 'accessor' if this object has a defined selection, and -1 otherwise.
the value returned from the invocation of accessor, or a non-zero value on failure
| Name | Description |
|---|---|
| accessor | functor invoked on the current selection |