Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

NewSimulatorFileRdr Class Reference

Provides functions for parsing the a rdr section of the simulation file. More...

#include <new_sim_file_rdr.h>

Inheritance diagram for NewSimulatorFileRdr:

Inheritance graph
[legend]
Collaboration diagram for NewSimulatorFileRdr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewSimulatorFileRdr (GScanner *scanner)
 Constructor.
virtual ~NewSimulatorFileRdr ()
 Destructor.
bool process_rdr_token (void)
 Read a RDR section.
virtual NewSimulatorRdrprocess_token (NewSimulatorResource *res)=0
 abstract method in which the childs should parse the rdr type union information

Protected Attributes

int m_depth
 Hold the "depth" inside a file (how many parenthesis are open).
SaHpiRdrT m_rdr
 Rdr structure to be filled.

Detailed Description

Provides functions for parsing the a rdr section of the simulation file.


Member Function Documentation

bool NewSimulatorFileRdr::process_rdr_token void   ) 
 

Read a RDR section.

Startpoint is token RDR_TOKEN_HANDLER. Endpoint is G_TOKEN_RIGHT_CURLY if no error occurs during parsing.
Depend on wich RDR type is read, some helper functions are called.

Returns:
success bool


The documentation for this class was generated from the following files:
Generated on Mon Apr 26 14:39:26 2010 for New Simulator by  doxygen 1.4.4