#include <Utilities.h>
|
bool | check () |
|
| CommandLine () |
|
template<class T > |
T | getValue (const std::string &name) |
|
template<class T > |
T | getValue (const std::string &name, T default_value) |
|
template<> |
bool | getValue (const std::string &name) |
|
template<> |
bool | getValue (const std::string &name, bool default_value) |
|
template<class T > |
std::vector< T > | getVector (const std::string &name) |
|
template<class T > |
std::vector< T > | getVector (const std::string &name, const std::string &default_as_string) |
|
bool | parse (int argc, char **argv) |
|
void | print () |
|
| ~CommandLine () |
|
|
typedef std::map< std::string,
std::pair< std::string, bool > > | OptionMap_t |
|
typedef std::vector< std::string > | StrVec_t |
|
Definition at line 24 of file Utilities.h.
CommandLine::CommandLine |
( |
| ) |
|
CommandLine::~CommandLine |
( |
| ) |
|
bool CommandLine::check |
( |
void |
| ) |
|
template<class T >
T CommandLine::getValue |
( |
const std::string & |
name | ) |
|
template<class T >
T CommandLine::getValue |
( |
const std::string & |
name, |
|
|
T |
default_value |
|
) |
| |
template<>
bool CommandLine::getValue |
( |
const std::string & |
name | ) |
|
template<>
bool CommandLine::getValue |
( |
const std::string & |
name, |
|
|
bool |
default_value |
|
) |
| |
template<class T >
std::vector< T > CommandLine::getVector |
( |
const std::string & |
name | ) |
|
template<class T >
std::vector< T > CommandLine::getVector |
( |
const std::string & |
name, |
|
|
const std::string & |
default_as_string |
|
) |
| |
bool CommandLine::parse |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
bool CommandLine::parse_file |
( |
const std::string & |
file_name | ) |
|
|
private |
void CommandLine::print |
( |
void |
| ) |
|
std::string CommandLine::_exe |
|
private |