BloombergLP::balxml::Decoder_StdStringContext

COMPONENT-PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT.

Synopsis

Declared in <balxml_decoder.h>

class Decoder_StdStringContext
    : public Decoder_ElementContext

Description

Proxy context for bsl::string. This is just a proxy context. It will forward all callbacks to the appropriate context, based on the formatting mode.

Base Classes

NameDescription
Decoder_ElementContextCOMPONENT-PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT.

Type Aliases

NameDescription
Base64Context Context type for Base64-encoded bsl::string values.
HexContext Context type for hex-encoded bsl::string values.
UTF8Context Context type for UTF-8 bsl::string values.

Member Functions

NameDescription
Decoder_StdStringContext [constructor]Create a proxy context for decoding a bsl::string.
~Decoder_StdStringContext [destructor] [virtual]Destroy this object.
addCharacters [virtual]Process the specified character data while decoding.
beginParse Invoked when the decoder begins parsing.
endElement [virtual]Invoked when the decoder finishes parsing an element.
parseAttribute [virtual]Invoked when the decoder encounters an attribute.
parseSubElement [virtual]Invoked when the decoder encounters a sub-element.
startElement [virtual]Invoked when the decoder begins parsing an element.

Data Members

NameDescription
d_base64Context [variant member]Storage for a Base64 parsing context.
d_hexContext [variant member]Storage for a hex parsing context.
d_utf8Context [variant member]Storage for a UTF-8 parsing context.