C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
parameters::Parameter< T > Class Template Reference

Template containing value for the given parameter. More...

#include <Pars.h>

+ Inheritance diagram for parameters::Parameter< T >:
+ Collaboration diagram for parameters::Parameter< T >:

Public Member Functions

 Parameter (const std::string &s, const std::string &d, const T &v)
 
const T & get () const
 
T & get ()
 
- Public Member Functions inherited from parameters::ParameterBase
 ParameterBase (const std::string &s, const std::string &d)
 
const std::string & getS () const
 
const std::string & getD () const
 
void print (size_t smw, size_t tmw, size_t dmw) const
 
void read (std::istream &is)
 

Protected Member Functions

void read_v (std::istream &is)
 

Detailed Description

template<typename T>
class parameters::Parameter< T >

Template containing value for the given parameter.

Note
This class is not really part of the API, it is included here simply in order that specializations of it might be declared elsewhere in the framework

Definition at line 110 of file Pars.h.

Constructor & Destructor Documentation

template<typename T>
parameters::Parameter< T >::Parameter ( const std::string &  s,
const std::string &  d,
const T &  v 
)
inline
Parameters
sparameter name (as appears in command line)
dparameter description (to be listed in help)
vparameter default value

Definition at line 113 of file Pars.h.


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