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);

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

  • value from manipulator, or ‐1 if name is not found

Parameters

Name

Description

manipulator

functor invoked on the selected attribute

id

attribute identifier to manipulate

name

attribute name to manipulate

nameLength

length of name in bytes

Created with MrDocs