Invoke the specified accessor on the attribute indicated by the specified id.

Synopsis

Declared in <balber_berencoderoptions.h>

template<typename t_ACCESSOR>
int
accessAttribute(
    t_ACCESSOR& accessor,
    int id) const;

Return Value

value returned by accessor, or ‐1 if id is not found

Parameters

Name

Description

accessor

functor invoked on the selected attribute

id

attribute identifier to access

Created with MrDocs