manipulateAttribute overloads
Declared in <baljsn_encoderoptions.h>
Invoke manipulator on the modifiable attribute indicated by id.
template<class MANIPULATOR>
int
manipulateAttribute(
MANIPULATOR& manipulator,
int id);
» more...
Invoke manipulator on the modifiable attribute indicated by name.
template<class MANIPULATOR>
int
manipulateAttribute(
MANIPULATOR& manipulator,
char const* name,
int nameLength);
» more...
manipulator, or -1 if id is not foundmanipulator, or -1 if name is not found| Name | Description |
|---|---|
| manipulator | functor invoked on the matching attribute |
| id | attribute id |
| name | attribute name |
| nameLength | length of name |