#include <CommandLine.h>
|
typedef std::map< std::string, std::string > | ARGMAPTYPE |
|
Definition at line 42 of file CommandLine.h.
◆ ARGMAPTYPE
◆ CommandLine() [1/4]
pool::CommandLine::CommandLine |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ CommandLine() [2/4]
pool::CommandLine::CommandLine |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
const std::string & |
strFileName |
|
) |
| |
◆ CommandLine() [3/4]
pool::CommandLine::CommandLine |
( |
const std::string & |
strFileName | ) |
|
Command line arguments may also be supplied exclusively from a file.
◆ ~CommandLine()
virtual pool::CommandLine::~CommandLine |
( |
| ) |
|
|
virtual |
◆ CommandLine() [4/4]
◆ CheckOptions()
virtual void pool::CommandLine::CheckOptions |
( |
const char * |
opts[] | ) |
|
|
virtual |
◆ Count()
int pool::CommandLine::Count |
( |
| ) |
const |
|
inline |
◆ DumpDiagnostics()
void pool::CommandLine::DumpDiagnostics |
( |
| ) |
const |
◆ Exists()
bool pool::CommandLine::Exists |
( |
const std::string & |
strArgName | ) |
const |
|
inline |
◆ GetByName()
std::string pool::CommandLine::GetByName |
( |
const std::string & |
strArgName | ) |
const |
◆ GetParamName()
std::string pool::CommandLine::GetParamName |
( |
const std::string & |
strWord | ) |
const |
|
inlineprivate |
Definition at line 90 of file CommandLine.h.
94 return strWord.substr(1, strWord.length() - 1);
◆ GetProgramName()
const std::string & pool::CommandLine::GetProgramName |
( |
| ) |
const |
|
inline |
◆ IsParamName()
bool pool::CommandLine::IsParamName |
( |
const std::string & |
strValue | ) |
const |
|
inlineprivate |
Definition at line 85 of file CommandLine.h.
87 return ( (strWord.length()) > 1 && ( strWord[0] ==
'-' ) );
◆ LoadSettingsFile()
std::string pool::CommandLine::LoadSettingsFile |
( |
const std::string & |
strFileName | ) |
|
|
private |
◆ operator=()
◆ ParseCommandLine()
void pool::CommandLine::ParseCommandLine |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
private |
◆ ParseSettings()
void pool::CommandLine::ParseSettings |
( |
const std::string & |
strInput | ) |
|
|
private |
◆ TranslateQuotes()
void pool::CommandLine::TranslateQuotes |
( |
std::istringstream & |
ist, |
|
|
std::string & |
strWord |
|
) |
| |
|
private |
◆ Usage()
virtual std::string pool::CommandLine::Usage |
( |
| ) |
|
|
virtual |
◆ mArgMap
◆ mnParameterCount
int pool::CommandLine::mnParameterCount |
|
private |
◆ mstrProgramName
std::string pool::CommandLine::mstrProgramName |
|
private |
The documentation for this class was generated from the following file: