Public Member Functions | Private Attributes
icl_core::config::ConfigValueDefault< T > Class Template Reference

#include <ConfigValueDefault.h>

Inheritance diagram for icl_core::config::ConfigValueDefault< T >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<typename T>
class icl_core::config::ConfigValueDefault< T >

Typed "container" class for batch reading of configuration parameters with a default value.

Definition at line 43 of file ConfigValueDefault.h.


Constructor & Destructor Documentation

template<typename T >
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.

template<typename T >
virtual icl_core::config::ConfigValueDefault< T >::~ConfigValueDefault ( ) [inline, virtual]

We need a virtual destructor!

Definition at line 58 of file ConfigValueDefault.h.


Member Function Documentation

template<typename T >
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.


Member Data Documentation

template<typename T >
icl_core::ConvertToRef<T>::ToConstRef icl_core::config::ConfigValueDefault< T >::m_default_value [private]

Definition at line 73 of file ConfigValueDefault.h.


The documentation for this class was generated from the following file:


fzi_icl_core
Author(s):
autogenerated on Tue Aug 8 2017 02:28:05