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

Name

Description

parseElementCallback

functor used to parse each list element

basicAllocator

memory allocator; null uses the default

Created with MrDocs