BloombergLP::balxml::Encoder_EncodeValue::executeImp

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

Synopsis

Declared in <balxml_encoder.h>

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

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