accessAttribute overloads
Synopses
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;
Invoke the specified accessor on the attribute indicated by name.
template<class ACCESSOR>
int
accessAttribute(
ACCESSOR& accessor,
char const* name,
int nameLength) const;
Return Value
-
value from
accessor, or ‐1 ifidis not found -
value from
accessor, or ‐1 ifnameis not found
Parameters
Name |
Description |
accessor |
functor invoked on the selected attribute |
id |
attribute identifier to access |
name |
attribute name to access |
nameLength |
length of |
Created with MrDocs