Invoke the specified 'accessor' sequentially on each (non‐modifiable) attribute of this object, supplying 'accessor' with the corresponding attribute.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

template<typename t_ACCESSOR>
int
accessAttributes(t_ACCESSOR& accessor) const;

Description

information structure until such invocation returns a non‐zero value. Return the value from the last invocation of 'accessor' (i.e., the invocation that terminated the sequence).

Return Value

the value returned from the invocation of accessor, or a non‐zero value on failure

Parameters

Name

Description

accessor

functor invoked on each attribute

Created with MrDocs