Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Parse::NaturalListParser Class Template Reference

#include <ListParser.h>

Inheritance diagram for Parse::NaturalListParser:

Inheritance graph
[legend]
Collaboration diagram for Parse::NaturalListParser:

Collaboration graph
[legend]
List of all members.

Public Methods

 NaturalListParser (list< Base *> &listToAddTo)
virtual void getValue (istream &input)

Detailed Description

template<class Base>
class Parse::NaturalListParser< Base >

ListParser that parses lists of pointers to Parseable objects

Definition at line 144 of file ListParser.h.


Constructor & Destructor Documentation

template<class Base>
Parse::NaturalListParser< Base >::NaturalListParser list< Base *> &    listToAddTo
 

NaturalListParser constructor

Parameters:
listToAddTo  list of pointers to parseable, handled by ListParser ctor

Definition at line 148 of file ListParser.h.


Member Function Documentation

template<class Base>
virtual void Parse::NaturalListParser< Base >::getValue istream &    input [virtual]
 

Creates a Parser for a dynamically allocated Parseable, calls the parser and puts the Parseable in the list

Reimplemented from Parse::ParseAction.

Definition at line 154 of file ListParser.h.


The documentation for this class was generated from the following file:
Generated on Tue May 21 07:26:57 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001