BloombergLP::balxml::Encoder_EncodeObject::executeImp

Encode the specified object with the specified tag, formattingMode, and isMultiple flag for the specified category.

Synopsis

Declared in <balxml_encoder.h>

template<
    class TYPE,
    class ANY_CATEGORY>
int
executeImp(
    TYPE const& object,
    std::string_view const& tag,
    int formattingMode,
    bool isMultiple,
    ANY_CATEGORY category);

Return Value

0 on success, or a non-zero value otherwise

Parameters

NameDescription
objectvalue to encode
tagXML element tag
formattingModeformatting mode for the value
isMultiplewhether the value is a repeated occurrence
categorytype-category tag used for overload selection