BloombergLP::balber::BerDecoderOptions::manipulateAttribute

manipulateAttribute overloads

Synopses

Declared in <balber_berdecoderoptions.h>

Invoke the specified manipulator on the attribute indicated by id.

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

Invoke the specified manipulator on the attribute indicated by name.

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

Return Value

  • value from manipulator, or -1 if id is not found
  • value from 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