#include <CmdLineArgs2.h>
Definition at line 72 of file CmdLineArgs2.h.
◆ CmdLineArgs2() [1/2]
pool::CmdLineArgs2::CmdLineArgs2 |
( |
const std::string & |
name = "General" | ) |
|
◆ CmdLineArgs2() [2/2]
pool::CmdLineArgs2::CmdLineArgs2 |
( |
QualList & |
, |
|
|
const std::string & |
name = "General" |
|
) |
| |
◆ ~CmdLineArgs2()
virtual pool::CmdLineArgs2::~CmdLineArgs2 |
( |
| ) |
|
|
inlinevirtual |
◆ allowedTypes()
std::vector<std::string>& pool::CmdLineArgs2::allowedTypes |
( |
| ) |
|
|
inline |
Hack to bring in allowed types of Collections.
Definition at line 113 of file CmdLineArgs2.h.
◆ evalArgs()
virtual bool pool::CmdLineArgs2::evalArgs |
( |
std::vector< std::string > & |
argv | ) |
|
|
virtual |
◆ evalArgsPass2()
virtual bool pool::CmdLineArgs2::evalArgsPass2 |
( |
std::vector< std::string > & |
, |
|
|
pool::Args2Container & |
|
|
) |
| |
|
inlinevirtual |
◆ getArgQual()
ArgQual& pool::CmdLineArgs2::getArgQual |
( |
const std::string & |
a | ) |
|
|
inline |
◆ getArgQuals()
QualList& pool::CmdLineArgs2::getArgQuals |
( |
| ) |
|
|
inline |
◆ getOpt() [1/2]
bool pool::CmdLineArgs2::getOpt |
( |
const std::string & |
opt, |
|
|
int & |
optval |
|
) |
| const |
check if option was present and return its (first) numerical value in optval (!)
◆ getOpt() [2/2]
bool pool::CmdLineArgs2::getOpt |
( |
const std::string & |
opt, |
|
|
std::string & |
optval |
|
) |
| const |
check if option was present and return its (first) value in optval(!)
◆ getOpts()
bool pool::CmdLineArgs2::getOpts |
( |
const std::string & |
opt, |
|
|
std::vector< std::string > & |
optvalvec |
|
) |
| const |
check if option was present and return its values in optvalvec(!)
◆ hasQual()
bool pool::CmdLineArgs2::hasQual |
( |
const std::string & |
arg | ) |
const |
Check if argument was found in the argv[].
◆ ignoreMissingArgs()
void pool::CmdLineArgs2::ignoreMissingArgs |
( |
bool |
ignore | ) |
|
|
inline |
set flag to suppress error messages about missing arguments e.g. when -xmlInput is present
Definition at line 122 of file CmdLineArgs2.h.
◆ init()
void pool::CmdLineArgs2::init |
( |
| ) |
|
|
inlinevirtual |
◆ initTypes()
void pool::CmdLineArgs2::initTypes |
( |
| ) |
|
|
private |
Fill the vector m_allowedTypes.
◆ name()
const std::string& pool::CmdLineArgs2::name |
( |
| ) |
const |
|
inline |
◆ nArgs()
unsigned int pool::CmdLineArgs2::nArgs |
( |
std::string |
| ) |
|
Number of arguments for a given qualifer, e.g. nArgs("-src")
◆ setArgQuals()
void pool::CmdLineArgs2::setArgQuals |
( |
QualList & |
quals | ) |
|
|
inline |
◆ valid()
bool pool::CmdLineArgs2::valid |
( |
| ) |
const |
|
inline |
Returns true if evalArgs has been called with no errors.
Definition at line 103 of file CmdLineArgs2.h.
◆ elements
T std::map< K, T >::elements |
|
inherited |
◆ keys
◆ m_allowedTypes
std::vector<std::string> pool::CmdLineArgs2::m_allowedTypes |
|
private |
◆ m_argsfine
bool pool::CmdLineArgs2::m_argsfine |
|
protected |
◆ m_argv
std::vector<std::string> pool::CmdLineArgs2::m_argv |
|
protected |
◆ m_id
std::string pool::CmdLineArgs2::m_id |
|
private |
◆ m_ignoreMissingArgs
bool pool::CmdLineArgs2::m_ignoreMissingArgs |
|
protected |
◆ m_quals
The documentation for this class was generated from the following file: