This class contains the parameterized encode functions that encode bdlat types in XML format.
Declared in <balxml_encoder.h>
class Encoder;
| Name | Description |
|---|---|
Encoder [constructor] | Create an encoder using the specified options. |
~Encoder [destructor] | Destroy this object. This destruction has no effect on objects pointed-to by the pointers provided at construction. |
encode | encode overloads |
encodeAny | encodeAny overloads |
encodeAnyToStream | encodeAnyToStream overloads |
encodeToStream | Encode the specified non-modifiable object to the specified stream. |
errorSeverity | Return the severity of the most severe warning or error encountered during the last call to the encode method. The severity is reset each time encode is called. |
errorStream | Return pointer to the error stream. |
isCompact | Return true if the encoding style in the encoder options is defined as EncodingStyle::BAEXML_COMPACT, and false otherwise. |
loggedMessages | Return a string containing any error, warning, or trace messages that were logged during the last call to the encode method. |
options | Return the encoder options. |
warningStream | Return pointer to the warning stream. |
operator BloombergLP::bslmf::NestedTraitDeclaration<Encoder, UsesBslmaAllocator> | Declare that this type uses a bslma allocator. |
| Name | Description |
|---|---|
BloombergLP::balxml::Encoder_Context | This struct contains state that is maintained during encoding. |