#include <variables_map.hpp>
Public Member Functions | |
| template<class T> T | as () const |
| If stored value if of type T, returns that value. | |
| bool | empty () const |
| Returns true if no value is stored. | |
| bool | defaulted () const |
| Returns true if the value was not explcitly given, but has default value. | |
| const boost::any & | value () const |
| Returns the contained value. | |
Contains details about how the value is set and allows to conveniently obtain the value.
|
|||||||||
|
If stored value if of type T, returns that value. Otherwise, throws boost::bad_any_cast exception. |
|
|
Returns true if no value is stored.
|
|
|
Returns true if the value was not explcitly given, but has default value.
|
|
|
Returns the contained value.
|