Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::FileItemParser_OnOff< T > Class Template Reference

Internal utility for parsing On/Off/Yes/No data lines. More...

#include <FileBlockParser.h>

Inheritance diagram for TSE3::FileItemParser_OnOff< T >:

Inheritance graph
[legend]
Collaboration diagram for TSE3::FileItemParser_OnOff< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(T::* fn_t )(bool)

Public Member Functions

 FileItemParser_OnOff (T *obj, fn_t mfun)
void parse (const std::string &data)

Detailed Description

template<class T>
class TSE3::FileItemParser_OnOff< T >

Internal utility for parsing On/Off/Yes/No data lines.

A TSE3 utility class.

A utility class implementing a specific type of FileItemParser. This class will call a member function with signature void setXXX(bool) with the value true if the data string is either "On" or "Yes".

Author:
Pete Goodliffe
Version:
1.00


Member Typedef Documentation

template<class T>
typedef void(T::* TSE3::FileItemParser_OnOff< T >::fn_t)(bool)
 


Constructor & Destructor Documentation

template<class T>
TSE3::FileItemParser_OnOff< T >::FileItemParser_OnOff T *  obj,
fn_t  mfun
[inline]
 


Member Function Documentation

template<class T>
void TSE3::FileItemParser_OnOff< T >::parse const std::string &  data  )  [inline, virtual]
 

Implements TSE3::FileItemParser.


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:46:11 2005 for TSE3 by doxygen 1.3.2