BloombergLP::baljsn::EncoderTestAddress::manipulateAttributes

Invoke manipulator on each modifiable attribute of this object.

Synopsis

Declared in <baljsn_encoder_testtypes.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

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

Parameters

NameDescription
manipulatorfunctor invoked on each attribute