BloombergLP::balber::BerEncoderOptions::manipulateAttribute

manipulateAttribute overloads

Synopses

Declared in <balber_berencoderoptions.h>

Invoke the specified manipulator on the modifiable attribute indicated by the specified id.

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

Invoke the specified manipulator on the modifiable attribute indicated by the specified name of the specified nameLength.

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

Return Value

  • value returned by manipulator, or -1 if id is not found
  • value returned by manipulator, or -1 if name is not found

Parameters

NameDescription
manipulatorfunctor invoked on the selected attribute
idattribute identifier to manipulate
nameattribute name to manipulate
nameLengthlength of name in bytes