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

CommandParser Class Reference

#include <commandParser.h>

List of all members.

Public Methods

 CommandParser ()
virtual ~CommandParser () throw ()
 registerCommand (Command &command, CommandProcessor *processor)
 registerCommands (CommandProcessor &processor)

Private Attributes

std::list< CommandProcessingDefinition > commandProcessingDefinitions


Detailed Description

A command oriented parser.

It read a file as an enumeration of command. A command is a line beginning with a keyword and arguments.

Definition at line 36 of file commandParser.h.


Constructor & Destructor Documentation

CommandParser::CommandParser (    ) 
 

CommandParser::~CommandParser (    )  throw () [virtual]
 

Definition at line 27 of file commandParser.cc.


Member Function Documentation

CommandParser::registerCommand (  Command &    command,
CommandProcessor *    processor
) 
 

Definition at line 32 of file commandParser.cc.

CommandParser::registerCommands (  CommandProcessor &    processor ) 
 


Member Data Documentation

std::list<CommandProcessingDefinition> CommandParser::commandProcessingDefinitions [private]
 

All the definitions known by the parser.

Definition at line 58 of file commandParser.h.


The documentation for this class was generated from the following files:
Generated on Wed Feb 18 22:24:03 2004 for Opensched by doxygen1.2.15