Pulsar::Option< T > Class Template Reference

Configuration option. More...

#include <Config.h>

Inheritance diagram for Pulsar::Option< T >:
Configuration::Parameter< T >

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 Attributes

std::string description
 
std::string detailed_description
 

Detailed Description

template<typename T>
class Pulsar::Option< T >

Configuration option.


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

Generated using doxygen 1.8.17