Invoke manipulator on the modifiable attribute indicated by id.
Declared in <balxml_encoderoptions.h>
template<typename t_MANIPULATOR>
int
manipulateAttribute(
t_MANIPULATOR& manipulator,
int id);
Invoke the specified manipulator on the address of the (modifiable) attribute indicated by the specified id, supplying manipulator with the corresponding attribute information structure. Return the value returned from the invocation of manipulator if id identifies an attribute of this class, and -1 otherwise.
value returned by manipulator, or -1 if id is not found
| Name | Description |
|---|---|
| manipulator | functor invoked on the matching attribute |
| id | attribute id |