manipulateAttribute overloads

Synopses

Declared in <balb_testmessages.h>

Invoke the specified manipulator on the attribute indicated by id.

template<class MANIPULATOR>
int
manipulateAttribute(
    MANIPULATOR& manipulator,
    int id);

Invoke the specified manipulator on the attribute indicated by name.

template<class MANIPULATOR>
int
manipulateAttribute(
    MANIPULATOR& manipulator,
    char const* name,
    int nameLength);

Return Value

  • value returned from the invocation of manipulator if id identifies an attribute of this class, and ‐1 otherwise

  • value returned from the invocation of manipulator if name identifies an attribute of this class, and ‐1 otherwise

Parameters

Name

Description

manipulator

functor invoked on the matching attribute

id

attribute identifier

name

attribute name

nameLength

length of name

Created with MrDocs