[#BloombergLP-balxml-Decoder_ListParser]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::Decoder&lowbar;ListParser
:relfileprefix: ../../
:mrdocs:

COMPONENT&hyphen;PRIVATE CLASS&period; DO NOT USE OUTSIDE OF THIS COMPONENT&period;

== Synopsis

Declared in `&lt;balxml&lowbar;decoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
class Decoder&lowbar;ListParser;
----

== Description

This is a wrapper around `ListParser&lt;TYPE&gt;`&period; The `Decoder&lowbar;PushParserContext` class needs a default constructible push parser&period; However, `ListParser&lt;TYPE&gt;` is not default constructible &hyphen; it requires an `parseElementCallback`&period; This wrapper provides a default constructor that passes `TypesParserUtil&colon;&colon;parseDefault` as the callback&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balxml/Decoder_ListParser/2constructor.adoc[`Decoder&lowbar;ListParser`]         [.small]#[constructor]#
| Create a list parser that uses `TypesParserUtil&colon;&colon;parseDefault` as the element callback&period;
| xref:BloombergLP/balxml/Decoder_ListParser/beginParse.adoc[`beginParse`] 
| Begin parsing into the specified `object`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;
| xref:BloombergLP/balxml/Decoder_ListParser/endParse.adoc[`endParse`] 
| Finish parsing the current list&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;
| xref:BloombergLP/balxml/Decoder_ListParser/pushCharacters.adoc[`pushCharacters`] 
| Append character data from the specified iterator range `&lsqb;begin, end)&rsqb;` to the current list parse&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
