|
vSMC
vSMC: Scalable Monte Carlo
|
Option with a default value. More...
#include <vsmc/utility/program_option.hpp>
Public Member Functions | |
| 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 () |
| virtual ProgramOption * | clone () const =0 |
| virtual bool | is_vector () const =0 |
| ProgramOption & | operator= (const ProgramOption &) |
| virtual bool | set (const std::string &, const std::string &, bool, std::ostream &)=0 |
| virtual bool | set_default ()=0 |
Protected Member Functions | |
| 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 default value.
Definition at line 373 of file program_option.hpp.
|
inline |
Definition at line 377 of file program_option.hpp.
|
inline |
Definition at line 381 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 388 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 386 of file program_option.hpp.
|
inlinevirtual |
Implements vsmc::ProgramOption.
Definition at line 384 of file program_option.hpp.
|
inlineprotected |
Definition at line 393 of file program_option.hpp.
1.8.9.1