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

TSE3::File::XmlElementParser_ReasonOnOff< T, reason > Class Template Reference

Internal utility for parsing boolean values with reason codes Internal utility for parsing numeric data lines. More...

#include <XML.h>

Inheritance diagram for TSE3::File::XmlElementParser_ReasonOnOff< T, reason >:

Inheritance graph
[legend]
Collaboration diagram for TSE3::File::XmlElementParser_ReasonOnOff< T, reason >:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

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

Detailed Description

template<class T, class reason>
class TSE3::File::XmlElementParser_ReasonOnOff< T, reason >

Internal utility for parsing boolean values with reason codes Internal utility for parsing numeric data lines.

A TSE3 utility class.

A utility class implementing a specific type of XmlElementParser. This class will call a member function with signature void setXXX(reason r, bool) with the boolean value of the data string.

Author:
Pete Goodliffe
Version:
1.00


Member Typedef Documentation

template<class T, class reason>
typedef void(T::* TSE3::File::XmlElementParser_ReasonOnOff< T, reason >::fn_t)(reason, bool)
 


Constructor & Destructor Documentation

template<class T, class reason>
TSE3::File::XmlElementParser_ReasonOnOff< T, reason >::XmlElementParser_ReasonOnOff T *  obj,
fn_t  mfun,
reason  r
[inline]
 


Member Function Documentation

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

Implements TSE3::File::XmlElementParser.


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