Hosting courtesy of Sourceforge

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

Parse::StdRead Class Template Reference

#include <ParseAction.h>

Inheritance diagram for Parse::StdRead:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 StdRead (T &object)
virtual void getValue (istream &input)

Detailed Description

template<class T>
class Parse::StdRead< T >

Simple ParseAction for inputting simple values of type T Reads any type T that has operator>>(istream &, T) overloaded, does nothing special

Definition at line 68 of file ParseAction.h.


Constructor & Destructor Documentation

template<class T>
Parse::StdRead< T >::StdRead T &    object
 

StdRead constructor

Parameters:
object  the object to be inputted

Definition at line 141 of file ParseAction.h.


Member Function Documentation

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

Reads object passed in constructor from input

Parameters:
input  istream from which to get the value

Reimplemented from Parse::ParseAction.

Reimplemented in Parse::ReadAndCheck, Parse::ReadOrDefault, and Parse::ReadAndMult.

Definition at line 136 of file ParseAction.h.


Member Data Documentation

template<class T>
T& Parse::StdRead::obj [protected]
 

Definition at line 81 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