accessAttribute overloads
Declared in <balber_berdecoderoptions.h>
Invoke the specified accessor on the attribute indicated by id.
template<class ACCESSOR>
int
accessAttribute(
ACCESSOR& accessor,
int id) const;
» more...
Invoke the specified accessor on the attribute indicated by name.
template<class ACCESSOR>
int
accessAttribute(
ACCESSOR& accessor,
char const* name,
int nameLength) const;
» more...
accessor, or -1 if id is not foundaccessor, or -1 if name is not found| Name | Description |
|---|---|
| accessor | functor invoked on the selected attribute |
| id | attribute identifier to access |
| name | attribute name to access |
| nameLength | length of name in bytes |