Encode the specified object with the specified tag, formattingMode, and isMultiple flag for a dynamic type.
Declared in <balxml_encoder.h>
template<class TYPE>
int
executeImp(
TYPE const& object,
std::string_view const& tag,
int formattingMode,
bool isMultiple,
bdlat_TypeCategory::DynamicType category);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| object | dynamic value to encode |
| tag | XML element tag |
| formattingMode | formatting mode for the value |
| isMultiple | whether the value is a repeated occurrence |
| category | dynamic type-category tag |