Option< T > Class Template Reference

Configuration option. More...

#include <Config.h>

Inheritance diagram for Option< T >:
Configuration::Parameter< T > Reference::Able Reference::HeapTracked

Public Member Functions

 Option (const std::string &name, const T &default_value, const std::string &description="none", const std::string &detailed_description="none")
 Construct a new Configuration::Parameter.
 Option (CommandParser *parser, const std::string &name, const std::string &default_value, const std::string &description="none", const std::string &detailed_description="none")
 Construct a new Configuration::Parameter with an associated parser.
 Option (Configuration::Parameter< T > &parameter, const std::string &name, const T &default_value, const std::string &description="none", const std::string &detailed_description="none")
 Wrap an existing Configuration::Parameter.
 Option (Configuration::Parameter< T > &parameter, const std::string &name, const std::string &description="none", const std::string &detailed_description="none")
 Wrap an existing Configuration::Parameter with own default value.
 Option (Configuration::Parameter< T > &parameter, CommandParser *parser, const std::string &name, const std::string &default_value, const std::string &description="none", const std::string &detailed_description="none")
 Wrap an existing Configuration::Parameter with an associated parser.
T & operator= (const T &t)
 Set equal to T operator.
Public Member Functions inherited from Configuration::Parameter< T >
 operator T& ()
get_value () const
void set_value (const T &val)
T & operator= (const T &t)
bool operator== (const T &t) const
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Public Attributes

std::string description
std::string detailed_description

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

template<typename T>
class Option< T >

Configuration option.


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

Generated using doxygen 1.14.0