Hosting courtesy of Sourceforge

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

Parse::ReadAndCheck Class Template Reference

#include <ParseAction.h>

Inheritance diagram for Parse::ReadAndCheck:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 ReadAndCheck (T &obj, bool &objectSet_)
virtual void getValue (istream &input)

Detailed Description

template<class T>
class Parse::ReadAndCheck< T >

ParseAction used to see if an object was inputted

Definition at line 88 of file ParseAction.h.


Constructor & Destructor Documentation

template<class T>
Parse::ReadAndCheck< T >::ReadAndCheck T &    object,
bool &    objectSet_
 

ReadAndCheck constructor

Parameters:
obj  object to be inputted
objectSet_  reference boolean, will be set to true if getValue() is called

Definition at line 146 of file ParseAction.h.


Member Function Documentation

template<class T>
void Parse::ReadAndCheck< T >::getValue istream &    input [virtual]
 

Reads value and sets objectSet to true

See also:
ReadAndCheck()

Reimplemented from Parse::StdRead.

Definition at line 152 of file ParseAction.h.


Member Data Documentation

template<class T>
bool& Parse::ReadAndCheck::valueSet [protected]
 

Definition at line 100 of file ParseAction.h.


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