Option base class.
More...
#include <vsmc/utility/program_option.hpp>
|
bool | set_value (const std::string &name, const std::string &sval, bool *dest, bool silent, std::ostream &os) |
|
bool | set_value (const std::string &, const std::string &sval, std::string *dest, bool, std::ostream &) |
|
template<typename T > |
bool | set_value (const std::string &name, const std::string &sval, T *dest, bool silent, std::ostream &os) |
|
Option base class.
Definition at line 63 of file program_option.hpp.
vsmc::ProgramOption::ProgramOption |
( |
| ) |
|
|
default |
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 & |
name, |
|
|
const std::string & |
sval, |
|
|
bool * |
dest, |
|
|
bool |
silent, |
|
|
std::ostream & |
os |
|
) |
| |
|
inlineprotected |
bool vsmc::ProgramOption::set_value |
( |
const std::string & |
, |
|
|
const std::string & |
sval, |
|
|
std::string * |
dest, |
|
|
bool |
, |
|
|
std::ostream & |
|
|
) |
| |
|
inlineprotected |
template<typename T >
bool vsmc::ProgramOption::set_value |
( |
const std::string & |
name, |
|
|
const std::string & |
sval, |
|
|
T * |
dest, |
|
|
bool |
silent, |
|
|
std::ostream & |
os |
|
) |
| |
|
inlineprotected |