Data Structures | Namespaces | Constant Groups | Typedefs | Functions
parameter.hh File Reference
#include <string>
#include <map>
#include <ostream>
#include <sstream>
#include <mia/core/dictmap.hh>
#include <mia/core/msgstream.hh>
#include <mia/core/handlerbase.hh>
#include <mia/core/factory_trait.hh>

Go to the source code of this file.

Data Structures

class  CDictParameter< T >
 Dictionary paramater. More...
 
class  CParameter
 The base class for parameters used in complex options. More...
 
class  CSetParameter< T >
 A parameter that can only assume values out of a limited set. More...
 
class  CStringParameter
 an string parameter More...
 
class  CTParameter< T >
 Generic type of a complex paramter. More...
 
class  TFactoryParameter< F >
 A parameter that get's initialized by a factory to a shared or unique pointer. More...
 
class  TParameter< T >
 A parameter that can assume any value of the given value type. More...
 
class  TRangeParameter< T >
 Scalar parameter with an expected value range. More...
 

Namespaces

 xmlpp
 

Constant Groups

 xmlpp
 

Typedefs

typedef CTParameter< bool > CBoolParameter
 boolean parameter More...
 
typedef TRangeParameter< double > CDoubleParameter
 a double parameter (with range) More...
 
typedef TRangeParameter< float > CFloatParameter
 a float parameter (with range) More...
 
typedef TRangeParameter< int > CIntParameter
 an integer parameter (with range) More...
 
typedef TRangeParameter
< unsigned int > 
CUIntParameter
 an unsigned integer parameter (with range) More...
 

Functions

template<typename T >
CParametermake_param (std::shared_ptr< T > &value, const std::string &init, bool required, const char *descr)
 create a factory parameter that initializes to a std::shared_ptr More...
 
template<typename T >
CParametermake_param (std::unique_ptr< T > &value, const std::string &init, bool required, const char *descr)
 create a factory parameter that initializes to a std::unique_ptr More...
 
template<typename T >
CParametermake_param (T &value, bool required, const char *descr)
 

Typedef Documentation

typedef CTParameter<bool> CBoolParameter

boolean parameter

Definition at line 427 of file parameter.hh.

a double parameter (with range)

Definition at line 425 of file parameter.hh.

a float parameter (with range)

Definition at line 423 of file parameter.hh.

an integer parameter (with range)

Definition at line 419 of file parameter.hh.

typedef TRangeParameter<unsigned int> CUIntParameter

an unsigned integer parameter (with range)

Definition at line 421 of file parameter.hh.

Function Documentation

template<typename T >
CParameter* make_param ( T &  value,
bool  required,
const char *  descr 
)

Definition at line 476 of file parameter.hh.