BloombergLP::balxml::Encoder_EncodeValue::executeImp

executeImp overloads

Synopses

Declared in <balxml_encoder.h>

Encode the specified object with the specified formattingMode for a choice type.

template<class TYPE>
int
executeImp(
    TYPE const& object,
    int formattingMode,
    bdlat_TypeCategory::Choice category);
» more...

Encode the specified object with the specified formattingMode for a dynamic type.

template<class TYPE>
int
executeImp(
    TYPE const& object,
    int formattingMode,
    bdlat_TypeCategory::DynamicType category);
» more...

Encode the specified object with the specified formattingMode for a sequence type.

template<class TYPE>
int
executeImp(
    TYPE const& object,
    int formattingMode,
    bdlat_TypeCategory::Sequence category);
» more...

Encode the specified object with the specified formattingMode for the specified category.

template<
    class TYPE,
    class ANY_CATEGORY>
int
executeImp(
    TYPE const& object,
    int formattingMode,
    ANY_CATEGORY category);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
objectchoice value to encode
formattingModeformatting mode for the value
categorychoice type-category tag