BloombergLP::balxml::Decoder_PushParserContext

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

Synopsis

Declared in <balxml_decoder.h>

template<
    class TYPE,
    class PARSER>
class Decoder_PushParserContext
    : public Decoder_ElementContext

Description

Context for types that use one of the following push parsers: ` o Base64Parser o HexParser o Decoder_ListParser `

Base Classes

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

Member Functions

NameDescription
Decoder_PushParserContext [constructor]Create a push-parser context for the specified object using the specified formattingMode.
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.