linal::Parser Class Reference

#include <Parser.h>


Public Member Functions

 Parser ()
 ~Parser ()
void main (DArray< DString > *)
void main (int argc, char **args)
void main ()
bool processCommand (linal::Command *command, DString *whatIsSaid)

Static Public Member Functions

static DString getVersion ()

Private Member Functions

CommandgetCommand ()
DString getSwapValue (Command *command)
DString getHistoryValue (Command *command)
bool processCommand (linal::Command *command)
void printHelp ()
 Print out a list of valid command words.
void start ()
bool openFile (DString fileName)

Private Attributes

CommandWordscommands
LinAlla
Helph
DString * inputBuffer
utils::DArray< DString > * history


Constructor & Destructor Documentation

linal::Parser::Parser (  ) 

linal::Parser::~Parser (  ) 


Member Function Documentation

static DString linal::Parser::getVersion (  )  [inline, static]

void linal::Parser::main ( DArray< DString > *   ) 

void linal::Parser::main ( int  argc,
char **  args 
)

void linal::Parser::main (  ) 

bool linal::Parser::processCommand ( linal::Command command,
DString *  whatIsSaid 
)

Command * linal::Parser::getCommand (  )  [private]

DString linal::Parser::getSwapValue ( Command command  )  [private]

DString linal::Parser::getHistoryValue ( Command command  )  [private]

bool linal::Parser::processCommand ( linal::Command command  )  [private]

void linal::Parser::printHelp (  )  [private]

Print out a list of valid command words.

void linal::Parser::start (  )  [private]

bool linal::Parser::openFile ( DString  fileName  )  [private]


Field Documentation

CommandWords* linal::Parser::commands [private]

LinAl* linal::Parser::la [private]

Help* linal::Parser::h [private]

DString* linal::Parser::inputBuffer [private]

utils::DArray<DString>* linal::Parser::history [private]


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 14:53:55 2008 by  doxygen 1.5.2