vSMC
vSMC: Scalable Monte Carlo
|
Option with a single value. More...
#include <vsmc/utility/program_option.hpp>
Public Member Functions | |
ProgramOptionScalar (const std::string &desc, T *ptr) | |
template<typename V > | |
ProgramOptionScalar (const std::string &desc, T *ptr, V val) | |
ProgramOption * | clone () const |
bool | is_vector () const |
bool | set (const std::string &oname, const std::string &sval, bool silent, std::ostream &os) |
bool | set_default () |
Public Member Functions inherited from vsmc::ProgramOptionDefault< T > | |
ProgramOptionDefault (const std::string &desc) | |
template<typename V > | |
ProgramOptionDefault (const std::string &desc, V val) | |
std::string | default_str () const |
std::string | description () const |
bool | is_bool () const |
Public Member Functions inherited from vsmc::ProgramOption | |
ProgramOption () | |
ProgramOption (const ProgramOption &) | |
virtual | ~ProgramOption () |
ProgramOption & | operator= (const ProgramOption &) |
Additional Inherited Members | |
Protected Member Functions inherited from vsmc::ProgramOptionDefault< T > | |
bool | set_value_default (T *dest) |
Protected Member Functions inherited from vsmc::ProgramOption | |
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) |
Option with a single value.
Definition at line 248 of file program_option.hpp.
|
inline |
Definition at line 251 of file program_option.hpp.
|
inline |
Definition at line 257 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 272 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 262 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 264 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 270 of file program_option.hpp.