|
template<class TYPE > |
int | executeImp (const TYPE &object, const bsl::string_view &tag, int formattingMode, bdlat_TypeCategory::Array) |
|
template<class TYPE > |
int | executeImp (const TYPE &object, const bsl::string_view &tag, int formattingMode, bdlat_TypeCategory::NullableValue) |
|
template<class TYPE > |
int | executeImp (const TYPE &object, const bsl::string_view &tag, int formattingMode, bdlat_TypeCategory::DynamicType) |
|
template<class TYPE , class ANY_CATEGORY > |
int | executeImp (const TYPE &object, const bsl::string_view &tag, int formattingMode, ANY_CATEGORY) |
|
int | executeImp (const bsl::vector< char > &object, const bsl::string_view &tag, int formattingMode, bdlat_TypeCategory::Array) |
|
template<class TYPE > |
int | executeArrayListImp (const TYPE &object, const bsl::string_view &tag) |
|
template<class TYPE > |
int | executeArrayRepetitionImp (const TYPE &object, const bsl::string_view &tag, int formattingMode) |
|
| Encoder_EncodeObject (Encoder_Context *context) |
|
template<class TYPE , class INFO_TYPE > |
int | operator() (const TYPE &object, const INFO_TYPE &info) |
|
template<class TYPE > |
int | execute (const TYPE &object, const bsl::string_view &tag, int formattingMode) |
|
Component-private class. Do not use.
This struct encodes an object with enclosing tags. Compared to the EncoderUtil_EncodeValue
class below, this class prefixes the value with an opening tag, and suffixes the value with a closing tag. In pseudocode, this is equivalent to:
openTag()
closeTag()
Definition balxml_encoder.h:571
There is an overloaded version of bsl::vector<char>
because, based on the formatting mode, this class needs to switch between encoding the value in a single tag (i.e., when using BASE64, TEXT, IS_LIST or HEX) and encoding the value in multiple tags (i.e., when repetition is used).
See balxml_encoder