Invoke accessor sequentially on each non‐modifiable attribute.

Synopsis

Declared in <baljsn_decoderoptions.h>

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

Description

Invoke the specified accessor sequentially on each (non‐modifiable) attribute of this object, supplying accessor with the corresponding attribute 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

value from the last invocation of accessor

Parameters

Name

Description

accessor

functor invoked on each attribute

Created with MrDocs