Add an attribute with the specified name, object value, and formattingMode for the specified category.
Declared in <balxml_encoder.h>
template<
class TYPE,
class ANY_CATEGORY>
int
addAttributeImp(
TYPE const& object,
std::string_view const& name,
int formattingMode,
ANY_CATEGORY category);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| object | attribute value |
| name | attribute name |
| formattingMode | formatting mode for the value |
| category | type-category tag used for overload selection |