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

NewSimulatorFileDimi Class Reference

Provides some functions for parsing the dimi section of the simulation file. More...

#include <new_sim_file_dimi.h>

Inheritance diagram for NewSimulatorFileDimi:

Inheritance graph
[legend]
Collaboration diagram for NewSimulatorFileDimi:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewSimulatorFileDimi (GScanner *scanner)
 Constructor.
virtual ~NewSimulatorFileDimi ()
 Destructor.
virtual NewSimulatorRdrprocess_token (NewSimulatorResource *res)
 Parse inside the DIMI_TOKEN_HANDLER the RDR_DETAIL_TOKEN_HANDLER.
bool process_dimi_test (NewSimulatorDimiTest *dt)
 Parse a test case.
bool process_dimi_testdata (NewSimulatorDimiTest *dt)
 Parse test case data.
bool process_dimi_entities (SaHpiDimiTestAffectedEntityT &tae)
 Parse a test afffected entity structure.
bool process_dimi_testparameters (SaHpiDimiTestParamsDefinitionT &tp)
 Parse a test parameters definition.

Detailed Description

Provides some functions for parsing the dimi section of the simulation file.


Member Function Documentation

bool NewSimulatorFileDimi::process_dimi_entities SaHpiDimiTestAffectedEntityT &  tae  ) 
 

Parse a test afffected entity structure.

Startpoint is the G_TOKEN_LEFT_CURLY. Endpoint is the last G_TOKEN_RIGHT_CURLY.

Parameters:
tae address of structure SaHpiDimiTestAffectedEntityT
Returns:
bool value success

bool NewSimulatorFileDimi::process_dimi_test NewSimulatorDimiTest dt  ) 
 

Parse a test case.

Startpoint is the DIMI_TESTCASE_TOKEN_HANDLER. Endpoint is the last G_TOKEN_RIGHT_CURLY.

Parameters:
dt pointer on a NewSimulatorDimiTest to be filled
Returns:
bool value success

bool NewSimulatorFileDimi::process_dimi_testdata NewSimulatorDimiTest dt  ) 
 

Parse test case data.

Startpoint is the DIMI_TEST_DATA_TOKEN_HANDLER. Endpoint is the last G_TOKEN_RIGHT_CURLY.

Parameters:
dt pointer on a NewSimulatorDimiTest object to be filled with test results
Returns:
bool value success

bool NewSimulatorFileDimi::process_dimi_testparameters SaHpiDimiTestParamsDefinitionT &  tp  ) 
 

Parse a test parameters definition.

Startpoint is the G_TOKEN_LEFT_CURLY. Endpoint is the last G_TOKEN_RIGHT_CURLY.

Parameters:
tp address of structure SaHpiDimiTestParamsDefinitionT
Returns:
bool value success

NewSimulatorRdr * NewSimulatorFileDimi::process_token NewSimulatorResource res  )  [virtual]
 

Parse inside the DIMI_TOKEN_HANDLER the RDR_DETAIL_TOKEN_HANDLER.

Startpoint is the RDR_DETAIL_TOKEN_HANDLER. Endpoint is the last G_TOKEN_RIGHT_CURLY of the DIMI_TOKEN_HANDLER. For DIMI_DATA_TOKEN_HANDLER the method NewSimulatorFileInventory::process_dimi_data is called.

Parameters:
res Pointer on the resource which includes the dimi data
Returns:
Pointer on a new Rdr entry

Implements NewSimulatorFileRdr.


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