Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

CmdLine Class Reference

#include <CmdLine.h>

List of all members.

Public Methods

 CmdLine ()
void addParameterSwitch (const STD string flag, const STD string initialValue, const STD string help)
void addStandaloneSwitch (const STD string flag, const STD string help)
const STD string & switchValue (const STD string flag)
const STD string & switchHelp (const STD string flag)
void process (int argc, char **argv)
int NumberOfRemainingParameters ()
const char * RemainingParameter (int index)
void printSwitches (STD ostream &s=STD cout)
void dump (STD ostream &s=STD cout) const
void dump (STD ostream &s=STD cout)

Friends

STD ostream & operator<< (STD ostream &s, const CmdLine &c)


Constructor & Destructor Documentation

CmdLine::CmdLine  
 

Definition at line 10 of file CmdLine.cpp.


Member Function Documentation

void CmdLine::addParameterSwitch const STD string    flag,
const STD string    initialValue,
const STD string    help
 

Referenced by processCmdLine().

void CmdLine::addStandaloneSwitch const STD string    flag,
const STD string    help
 

Referenced by processCmdLine().

void CmdLine::dump STD ostream &    s = STD cout
 

void CmdLine::dump STD ostream &    s = STD cout const
 

Referenced by operator<<().

int CmdLine::NumberOfRemainingParameters  
 

Definition at line 46 of file CmdLine.cpp.

void CmdLine::printSwitches STD ostream &    s = STD cout
 

void CmdLine::process int    argc,
char **    argv
 

Definition at line 26 of file CmdLine.cpp.

Referenced by processCmdLine().

const char * CmdLine::RemainingParameter int    index
 

Definition at line 49 of file CmdLine.cpp.

const STD string& CmdLine::switchHelp const STD string    flag
 

const STD string& CmdLine::switchValue const STD string    flag
 


Friends And Related Function Documentation

STD ostream& operator<< STD ostream &    s,
const CmdLine &    c
[friend]
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 20 11:54:39 2003 for ATPG by doxygen1.3-rc1