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

Synopsis

Declared in <balxml_decoder.h>

class Decoder_StdVectorCharContext
    : 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

Name

Description

Decoder_ElementContext

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

Type Aliases

Name

Description

Base64Context

Context type for base64‐encoded vector parsing.

HexContext

Context type for hex‐encoded vector parsing.

ListContext

Context type for list‐formatted vector parsing.

UTF8Context

Context type for UTF‐8 string parsing.

Member Functions

Name

Description

Decoder_StdVectorCharContext [constructor]

Create a proxy context for decoding a bsl::vector<char> using the specified formatting mode.

~Decoder_StdVectorCharContext [destructor] [virtual]

Destroy this proxy context and release resources.

addCharacters [virtual]

Process the specified character data while decoding. Return 0 on success, and a non‐zero value otherwise.

beginParse

Invoked when the decoder begins parsing. Return 0 on success, and a non‐zero value otherwise.

endElement [virtual]

Invoked when the decoder finishes parsing an element. Return 0 on success, and a non‐zero value otherwise.

parseAttribute [virtual]

Invoked when the decoder encounters an attribute. Return 0 on success, and a non‐zero value otherwise.

parseSubElement [virtual]

Invoked when the decoder encounters a sub‐element. Return 0 on success, and a non‐zero value otherwise.

startElement [virtual]

Invoked when the decoder begins parsing an element. Return 0 on success, and a non‐zero value otherwise.

Data Members

Name

Description

d_base64Context [variant member]

Active base64 parser context storage.

d_hexContext [variant member]

Active hex parser context storage.

d_listContext [variant member]

Active list parser context storage.

d_utf8Context [variant member]

Active UTF‐8 parser context storage.

Created with MrDocs