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

Command Class Reference

#include <command.h>

List of all members.

Public Types

enum  TypeArgs { STRICT, AT_LEAST }

Public Methods

 Command (const char *keyword, TypeArgs typeArgs, int nbArgs)
virtual ~Command () throw ()

Private Attributes

std::string mKeyword
TypeArgs mTypeArgs
int mNbArgs


Detailed Description

A command.

A command is a keyword and arguments.

Definition at line 31 of file command.h.


Member Enumeration Documentation

enum Command::TypeArgs
 

What sort of arguments are expected.

Enumeration values:
STRICT 
AT_LEAST 

Definition at line 37 of file command.h.

Referenced by Command().


Constructor & Destructor Documentation

Command::Command const char *    keyword,
TypeArgs    typeArgs,
int    nbArgs
[inline]
 

Definition at line 42 of file command.h.

References mKeyword, mNbArgs, mTypeArgs, and TypeArgs.

virtual Command::~Command   throw () [inline, virtual]
 

Definition at line 45 of file command.h.


Member Data Documentation

std::string Command::mKeyword [private]
 

Definition at line 49 of file command.h.

Referenced by Command().

int Command::mNbArgs [private]
 

Definition at line 53 of file command.h.

Referenced by Command().

TypeArgs Command::mTypeArgs [private]
 

Definition at line 51 of file command.h.

Referenced by Command().


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