Invoke the specified accessor on the attribute indicated by the specified name of the specified nameLength.

Synopsis

Declared in <balber_berencoderoptions.h>

template<typename t_ACCESSOR>
int
accessAttribute(
    t_ACCESSOR& accessor,
    char const* name,
    int nameLength) const;

Return Value

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

Parameters

Name

Description

accessor

functor invoked on the selected attribute

name

attribute name to access

nameLength

length of name in bytes

Created with MrDocs