BloombergLP::balxml::Encoder_SequenceFirstPass::addAttributeImp

addAttributeImp overloads

Synopses

Declared in <balxml_encoder.h>

Add an attribute with the specified name, object value, and formattingMode for a dynamic-type category.

template<class TYPE>
int
addAttributeImp(
    TYPE const& object,
    std::string_view const& name,
    int formattingMode,
    bdlat_TypeCategory::DynamicType);
» more...

Add an attribute with the specified name, the value of the specified object, using the specified formattingMode. Note that the last argument is used for overloading purposes only.

template<class TYPE>
int
addAttributeImp(
    TYPE const& object,
    std::string_view const& name,
    int formattingMode,
    bdlat_TypeCategory::NullableValue);
» more...

Add an attribute with the specified name, object value, and formattingMode for the specified category.

template<
    class TYPE,
    class ANY_CATEGORY>
int
addAttributeImp(
    TYPE const& object,
    std::string_view const& name,
    int formattingMode,
    ANY_CATEGORY);
» more...