FSMSADF::Tool Class Reference

#include <tools.h>

Inheritance diagram for FSMSADF::Tool:
Collaboration diagram for FSMSADF::Tool:

List of all members.

Public Member Functions

virtual void parseCommandLine (int argc, char **argv)
virtual bool parseCommand (int argc, char **argv, int *arg)=0
virtual CPairs parseSwitchArgument (CString arguments)
virtual void initSettings (const CString &modulename, int argc, char **argv)
virtual void setDefaults (void)
virtual bool checkRequiredSettings (void)=0
virtual void helpMessage (ostream &out)=0
virtual void cleanUp ()
virtual void postInitSettings ()

Protected Attributes

Settings_settings

Member Function Documentation

virtual bool FSMSADF::Tool::checkRequiredSettings ( void   )  [pure virtual]
void FSMSADF::Tool::cleanUp (  )  [virtual]
virtual void FSMSADF::Tool::helpMessage ( ostream &  out  )  [pure virtual]
void FSMSADF::Tool::initSettings ( const CString modulename,
int  argc,
char **  argv 
) [virtual]

initSettings () The function initializes the program settings.

Reimplemented in FSMSADF::ToolAnalyze, FSMSADF::ToolGenerate, and FSMSADF::ToolTransform.

virtual bool FSMSADF::Tool::parseCommand ( int  argc,
char **  argv,
int *  arg 
) [pure virtual]
void FSMSADF::Tool::parseCommandLine ( int  argc,
char **  argv 
) [virtual]

parseCommandLine () The function parses the command line arguments and add info to the supplied settings structure.

CPairs FSMSADF::Tool::parseSwitchArgument ( CString  arguments  )  [virtual]

parseSwitchArgument () The function parses the string 'arguments' into a sequence of (arg, value) pairs. The syntax as as follows:

pair := key(value) arg := pair,pair,...

Note: value may be a pair itself, but this is not expanded into a set of pairs (i.e. nested pairs are not supported).

Referenced by FSMSADF::ToolTransform::parseCommand(), and FSMSADF::ToolAnalyze::parseCommand().

virtual void FSMSADF::Tool::postInitSettings ( void   )  [inline, virtual]

Reimplemented in FSMSADF::ToolGenerate.

void FSMSADF::Tool::setDefaults ( void   )  [virtual]

Reimplemented in FSMSADF::ToolGenerate.


Member Data Documentation


The documentation for this class was generated from the following files: