accessAttribute overloads
Declared in <balb_testmessages.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 if id identifies an attribute of this class, and -1 otherwiseaccessor if name identifies an attribute of this class, and -1 otherwise| Name | Description |
|---|---|
| accessor | functor invoked on the matching attribute |
| id | attribute identifier |
| name | attribute name |
| nameLength | length of name |