Program option base class.
More...
#include <vsmc/utility/program_option.hpp>
|
bool | set_value (const std::string &oname, const std::string &sval, bool *dest, bool silent, std::ostream &os) |
|
template<typename T > |
bool | set_value (const std::string &oname, const std::string &sval, T *dest, bool silent, std::ostream &os) |
|
Program option base class.
Definition at line 60 of file program_option.hpp.
vsmc::ProgramOption::ProgramOption |
( |
| ) |
|
|
inline |
virtual vsmc::ProgramOption::~ProgramOption |
( |
| ) |
|
|
inlinevirtual |
virtual std::string vsmc::ProgramOption::default_str |
( |
| ) |
const |
|
pure virtual |
virtual std::string vsmc::ProgramOption::description |
( |
| ) |
const |
|
pure virtual |
virtual bool vsmc::ProgramOption::is_bool |
( |
| ) |
const |
|
pure virtual |
virtual bool vsmc::ProgramOption::is_vector |
( |
| ) |
const |
|
pure virtual |
virtual bool vsmc::ProgramOption::set |
( |
const std::string & |
, |
|
|
const std::string & |
, |
|
|
bool |
, |
|
|
std::ostream & |
|
|
) |
| |
|
pure virtual |
virtual bool vsmc::ProgramOption::set_default |
( |
| ) |
|
|
pure virtual |
bool vsmc::ProgramOption::set_value |
( |
const std::string & |
oname, |
|
|
const std::string & |
sval, |
|
|
bool * |
dest, |
|
|
bool |
silent, |
|
|
std::ostream & |
os |
|
) |
| |
|
inlineprotected |
template<typename T >
bool vsmc::ProgramOption::set_value |
( |
const std::string & |
oname, |
|
|
const std::string & |
sval, |
|
|
T * |
dest, |
|
|
bool |
silent, |
|
|
std::ostream & |
os |
|
) |
| |
|
inlineprotected |