#include <ConfigValueDefault.h>

Public Member Functions | |
| ConfigValueDefault (const icl_core::String &key, typename icl_core::ConvertToRef< T >::ToRef value, typename icl_core::ConvertToRef< T >::ToConstRef default_value) | |
| virtual bool | get (std::string const &prefix, icl_core::logging::LogStream &log_stream) const |
| virtual | ~ConfigValueDefault () |
Private Attributes | |
| icl_core::ConvertToRef< T > ::ToConstRef | m_default_value |
Typed "container" class for batch reading of configuration parameters with a default value.
Definition at line 43 of file ConfigValueDefault.h.
| icl_core::config::ConfigValueDefault< T >::ConfigValueDefault | ( | const icl_core::String & | key, |
| typename icl_core::ConvertToRef< T >::ToRef | value, | ||
| typename icl_core::ConvertToRef< T >::ToConstRef | default_value | ||
| ) | [inline] |
Create a placeholder for later batch reading of configuration parameters.
Definition at line 49 of file ConfigValueDefault.h.
| virtual icl_core::config::ConfigValueDefault< T >::~ConfigValueDefault | ( | ) | [inline, virtual] |
We need a virtual destructor!
Definition at line 58 of file ConfigValueDefault.h.
| virtual bool icl_core::config::ConfigValueDefault< T >::get | ( | std::string const & | prefix, |
| icl_core::logging::LogStream & | log_stream | ||
| ) | const [inline, virtual] |
Actually read the configuration parameter.
Reimplemented from icl_core::config::ConfigValue< T >.
Definition at line 62 of file ConfigValueDefault.h.
icl_core::ConvertToRef<T>::ToConstRef icl_core::config::ConfigValueDefault< T >::m_default_value [private] |
Definition at line 73 of file ConfigValueDefault.h.