ShoutConfig Class Reference

List of all members.


Public Member Functions

 ShoutConfig (APPLICATION_ID appID, int argc, char *argv[])
 ~ShoutConfig ()
bool parIsDefined (int parameter)
char * getStringValue (int parameter)
float getFloatValue (int parameter)

Protected Member Functions

void initializeParameter (int id, const char *shortDiscr, const char *longDiscr, const char *text, const char *valDiscr, double val)
void initializeParameter (int id, const char *shortDiscr, const char *longDiscr, const char *text, const char *valDiscr, const char *val)
int parInApp (int i)
void readConfigFile (FILE *config, StringLookup *lookupLong)
bool fillParameter (char *line, StringLookup *lookupLong)

Protected Attributes

char ** parShort
char ** parLong
CommandParameterTypeparameter
int nrPars
APPLICATION_ID applicationID

Detailed Description

Todo:
docs

Constructor & Destructor Documentation

ShoutConfig::~ShoutConfig (  ) 

Todo:
docs

References parameter, parLong, and parShort.


Member Function Documentation

bool ShoutConfig::fillParameter ( char *  line,
StringLookup lookupLong 
) [protected]

Todo:
docs

References StringLookup::getWordID(), parameter, StringFunctions::RightTrim(), and StringFunctions::splitList().

Referenced by readConfigFile(), and ShoutConfig().

Here is the call graph for this function:

float ShoutConfig::getFloatValue ( int  par  ) 

Todo:
docs

References parameter, and parInApp().

Referenced by main(), and Whisper::Whisper().

Here is the call graph for this function:

char * ShoutConfig::getStringValue ( int  par  ) 

Todo:
docs

References parameter, parInApp(), and CommandParameterType::value.

Referenced by main(), and Whisper::Whisper().

Here is the call graph for this function:

void ShoutConfig::initializeParameter ( int  id,
const char *  shortDiscr,
const char *  longDiscr,
const char *  text,
const char *  valDescr,
const char *  val 
) [protected]

Todo:
docs

References parameter, parLong, and parShort.

void ShoutConfig::initializeParameter ( int  id,
const char *  shortDiscr,
const char *  longDiscr,
const char *  text,
const char *  valDescr,
double  val 
) [protected]

Todo:
docs

Referenced by ShoutConfig().

bool ShoutConfig::parIsDefined ( int  par  ) 

Todo:
docs

References parameter.

Referenced by main(), ShoutConfig(), and Whisper::Whisper().

void ShoutConfig::readConfigFile ( FILE *  config,
StringLookup lookupLong 
) [protected]

Todo:
docs

References fillParameter().

Referenced by ShoutConfig().

Here is the call graph for this function:


Member Data Documentation

int ShoutConfig::nrPars [protected]