[#BloombergLP-balxml-ListParser-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ListParser.adoc[ListParser]::ListParser :relfileprefix: ../../../ :mrdocs: Create a parser for lists. == Synopsis Declared in `<balxml_listparser.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit ListParser( xref:BloombergLP/balxml/ListParser/ParseElementCallback.adoc[ParseElementCallback] parseElementCallback, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Use the specified `parseElementCallback` functor to parse each element and the optionally specified `basicAllocator` for supplying memory. If `basicAllocator` is 0, the currently installed default allocator will be used. == Parameters [cols="1,4"] |=== | Name| Description | *parseElementCallback* | functor used to parse each list element | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#