executeImp overloads
Synopses
Declared in <balxml_encoder.h>
Encode the specified object as a bsl::vector<char> using the specified tag, formattingMode, and isMultiple flag.
int
executeImp(
bsl::vector<char> const& object,
std::string_view const& tag,
int formattingMode,
bool isMultiple,
bdlat_TypeCategory::Array category);
Encode the specified object with the specified tag, formattingMode, and isMultiple flag for an array type.
template<class TYPE>
int
executeImp(
TYPE const& object,
std::string_view const& tag,
int formattingMode,
bool isMultiple,
bdlat_TypeCategory::Array category);
Encode the specified object with the specified tag, formattingMode, and isMultiple flag for a dynamic type.
template<class TYPE>
int
executeImp(
TYPE const& object,
std::string_view const& tag,
int formattingMode,
bool isMultiple,
bdlat_TypeCategory::DynamicType category);
Encode the specified object with the specified tag, formattingMode, and isMultiple flag for a nullable‐value type.
template<class TYPE>
int
executeImp(
TYPE const& object,
std::string_view const& tag,
int formattingMode,
bool isMultiple,
bdlat_TypeCategory::NullableValue category);
Encode the specified object with the specified tag, formattingMode, and isMultiple flag for the specified category.
template<
class TYPE,
class ANY_CATEGORY>
int
executeImp(
TYPE const& object,
std::string_view const& tag,
int formattingMode,
bool isMultiple,
ANY_CATEGORY category);
Return Value
-
0 on success, and a non‐zero value otherwise
-
0 on success, or a non‐zero value otherwise
Parameters
Name |
Description |
object |
character vector to encode |
tag |
XML element tag |
formattingMode |
formatting mode for the value |
isMultiple |
whether the value is a repeated occurrence |
category |
array type‐category tag |
Created with MrDocs