Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::CmdOptions Class Reference

#include <CmdOptions.h>

Collaboration diagram for Impala::CmdOptions:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Initialise (bool stdVideoOptions=false, bool stdGaussOptions=false, bool stdDatabaseOptions=false)
void AddOption (char optNameS, const char *optNameL, const char *parName, const char *defVal, const char *alternatives=0, bool defaultFromEnv=false)
void SetDefault (char *optNameL, char *defVal)
bool ParseArgs (int argc, char *argv[], String usageStr, int nrReqArgs=0)
int GetNrArg ()
String GetArg (int i)
String GetString (String optL, String defVal="")
int GetInt (String optL, int defVal=-1)
double GetDouble (String optL, double defVal=-1)
bool GetBool (String optL, bool defVal=false)
void PrintArgs (std::ostream &os)
void HideUsageFor (String parameter)

Static Public Member Functions

static CmdOptionsGetInstance ()

Private Member Functions

 CmdOptions ()
 CmdOptions (const CmdOptions &)
CmdOptionsoperator= (const CmdOptions &)
virtual ~CmdOptions ()
int NrOpt ()
int GetOptIdx (String s)
bool IsOpt (String s)
bool IsOptS (String s)
bool IsOptL (String s)
void CheckDynamicOption (String s)
String DoParseArgs (int argc, char *argv[], String usageStr, int nrReqArgs)
void ShowUsage (char *progName, String usageStr)
void ReadIniFile (String fileName)
void ConfigureLogSystem ()

Private Attributes

std::vector< char > mOptNameS
std::vector< StringmOptNameL
std::vector< StringmOptDefVal
std::vector< StringmOptVal
std::vector< StringmOptParName
std::vector< StringmOptAlt
std::vector< bool > mOptHideUsage
std::vector< StringmArg
 ILOG_VAR_DECL

Detailed Description

Definition at line 16 of file CmdOptions.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 10:35:32 2010 for ImpalaSrc by  doxygen 1.5.1