BloombergLP::balxml::Decoder_ListParser

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

Synopsis

Declared in <balxml_decoder.h>

template<class TYPE>
class Decoder_ListParser;

Description

This is a wrapper around ListParser<TYPE>. The Decoder_PushParserContext class needs a default constructible push parser. However, ListParser<TYPE> is not default constructible - it requires an parseElementCallback. This wrapper provides a default constructor that passes TypesParserUtil::parseDefault as the callback.

Member Functions

NameDescription
Decoder_ListParser [constructor]Create a list parser that uses TypesParserUtil::parseDefault as the element callback.
beginParse Begin parsing into the specified object. Return 0 on success, and a non-zero value otherwise.
endParse Finish parsing the current list. Return 0 on success, and a non-zero value otherwise.
pushCharacters Append character data from the specified iterator range [begin, end)] to the current list parse. Return 0 on success, and a non-zero value otherwise.