Key-value-pair options. More...
#include <Options.hh>
Public Member Functions | |
| Options () | |
| Options (Options const &options)=default | |
| Options (std::string const &string, bool do_it=true) | |
| template<typename Value_ , typename = detail::OnlyIfNotBool<Value_>> | |
| Options (std::string const &string, Value_ value) | |
| template<typename Value_ > | |
| Options (std::string const &string, Value_ value, std::string const &unit) | |
| void | Add (std::string const &string, bool do_it=true) |
| template<typename Value_ > | |
| void | Add (std::string const &string, Value_ value) |
| template<typename Value_ > | |
| void | Add (std::string const &string, Value_ value, std::string const &unit) |
| std::string | str () const |
| operator std::string () const | |
| operator TString () const | |
Detailed Description
Key-value-pair options.
Constructor & Destructor Documentation
| boca::Options::Options | ( | ) |
|
default |
| boca::Options::Options | ( | std::string const & | string, |
| bool | do_it = true |
||
| ) |
template<typename Value_ , typename = detail::OnlyIfNotBool<Value_>>
|
inline |
template<typename Value_ >
|
inline |
Member Function Documentation
| void boca::Options::Add | ( | std::string const & | string, |
| bool | do_it = true |
||
| ) |
template<typename Value_ >
|
inline |
template<typename Value_ >
|
inline |
| boca::Options::operator std::string | ( | ) | const |
| boca::Options::operator TString | ( | ) | const |
| std::string boca::Options::str | ( | ) | const |
The documentation for this class was generated from the following files:
- boca/generic/Options.hh
- source/generic/Options.cpp
