BloombergLP::baljsn::EncoderTestSequenceWithUntagged11Sequence1::manipulateAttribute

manipulateAttribute overloads

Synopses

Declared in <baljsn_encoder_testtypes.h>

Invoke manipulator on the modifiable attribute indicated by id.

template<typename t_MANIPULATOR>
int
manipulateAttribute(
    t_MANIPULATOR& manipulator,
    int id);
» more...

Invoke manipulator on the modifiable attribute indicated by name.

template<typename t_MANIPULATOR>
int
manipulateAttribute(
    t_MANIPULATOR& manipulator,
    char const* name,
    int nameLength);
» more...

Return Value

the value returned from the invocation of manipulator, or a non-zero value on failure

Parameters

NameDescription
manipulatorfunctor invoked on the matching attribute
idattribute identifier
nameattribute name
nameLengthlength of name