BloombergLP::baljsn::DecoderOptions::manipulateAttributes

Invoke manipulator sequentially on each modifiable attribute.

Synopsis

Declared in <baljsn_decoderoptions.h>

template<typename t_MANIPULATOR>
int
manipulateAttributes(t_MANIPULATOR& manipulator);

Description

Invoke the specified manipulator sequentially on the address of each (modifiable) attribute of this object, supplying manipulator with the corresponding attribute information structure until such invocation returns a non-zero value. Return the value from the last invocation of manipulator (i.e., the invocation that terminated the sequence).

Return Value

value from the last invocation of manipulator

Parameters

NameDescription
manipulatorfunctor invoked on each attribute