BloombergLP::balxml::Encoder_EncodeObject::executeImp

Encode the specified object as a bsl::vector<char> using the specified tag, formattingMode, and isMultiple flag.

Synopsis

Declared in <balxml_encoder.h>

int
executeImp(
    bsl::vector<char> const& object,
    std::string_view const& tag,
    int formattingMode,
    bool isMultiple,
    bdlat_TypeCategory::Array category);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
objectcharacter vector to encode
tagXML element tag
formattingModeformatting mode for the value
isMultiplewhether the value is a repeated occurrence
categoryarray type-category tag