Add an attribute with the specified name, object value, and formattingMode for a dynamic‐type category.
Synopsis
Declared in <balxml_encoder.h>
template<class TYPE>
int
addAttributeImp(
TYPE const& object,
std::string_view const& name,
int formattingMode,
bdlat_TypeCategory::DynamicType category);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
object |
dynamic attribute value |
name |
attribute name |
formattingMode |
formatting mode for the value |
category |
dynamic type‐category tag |
Created with MrDocs