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

TSE3::FileItemParser Class Reference

Internal utility for parsing TSE3MDL data lines. More...

#include <FileBlockParser.h>

Inheritance diagram for TSE3::FileItemParser:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 FileItemParser ()
virtual ~FileItemParser ()=0
virtual void parse (const std::string &data)=0

Detailed Description

Internal utility for parsing TSE3MDL data lines.

A TSE3 utility class.

This class is used by the FileBlockParser class to act on lines of the format "Name:Data". The FileBlockParser will identify the line as beginning with Name and mantains the mapping of Name string to FileItemParser. It then passes on the data portion of the line to the appropriate FileItemParser.

Author:
Pete Goodliffe
Version:
1.00


Constructor & Destructor Documentation

TSE3::FileItemParser::FileItemParser  )  [inline]
 

virtual TSE3::FileItemParser::~FileItemParser  )  [pure virtual]
 


Member Function Documentation

virtual void TSE3::FileItemParser::parse const std::string &  data  )  [pure virtual]
 

This method is called by the FileBlockParser when it finds a data line that is handled by this FileItemParser.

Parameters:
data The data line to be handled. The "Name:" prefix has already been stripped.

Implemented in TSE3::FileItemParser_OnOff< T >, TSE3::FileItemParser_ReasonOnOff< T, reason >, TSE3::FileItemParser_Number< T >, TSE3::FileItemParser_Clock< T >, and TSE3::FileItemParser_String< T >.


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