Hosting courtesy of Sourceforge
Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members
Parse::ParserGenerator Class Template Reference
#include <ListParser.h>
Inheritance diagram for Parse::ParserGenerator:
[legend]List of all members.
Detailed Description
template<class T>
class Parse::ParserGenerator< T >
Defines an interface for classes of to make a Parser that reads values of type T. This class was made so that classes that are not directy Parseable can still be parsed as the client programmer sees fit.
Definition at line 50 of file ListParser.h.
Constructor & Destructor Documentation
|
template<class T> |
| virtual Parse::ParserGenerator< T >::~ParserGenerator |
( |
|
) |
[virtual] |
|
Member Function Documentation
|
template<class T> |
| virtual Parser* Parse::ParserGenerator< T >::generateParser |
( |
istream & |
inputFile, |
|
|
T & |
item |
|
) |
[pure virtual] |
|
|
|
Makes a Parser capable of reading an instance of generic type T. Allocates the Parser dynamically, leaves the caller responsible for deletion. -
Parameters:
-
| inputFile |
istream passed to the Parser constructor |
| item |
specific object that will be modified by the parser |
|
The documentation for this class was generated from the following file:
Generated on Tue May 21 07:26:58 2002 for BomberLAN by
1.2.12 written by Dimitri van Heesch,
© 1997-2001