BloombergLP::balxml::ListParser::ListParser

Create a parser for lists.

Synopsis

Declared in <balxml_listparser.h>

explicit
ListParser(
    ParseElementCallback parseElementCallback,
    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

NameDescription
parseElementCallbackfunctor used to parse each list element
basicAllocatormemory allocator; null uses the default