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::ParameterBase Class Referenceabstract

Common, template-parameter independent base class of Parameter, to be stored in a pointer-container in ParameterTable. More...

#include <Pars.h>

+ Inheritance diagram for parameters::ParameterBase:

Public Member Functions

 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

virtual void read_v (std::istream &)=0
 

Detailed Description

Common, template-parameter independent base class of Parameter, to be stored in a pointer-container in ParameterTable.

Note
This class is not really part of the API, it is included here simply because parameters are stored in ParameterTable as a pointer container (boost::ptr_list<ParameterBase>). The inclusion here could be avoided by resorting to a pointer-to-implementation technique in ParameterTable, however, …
See also
Parameter

Definition at line 81 of file Pars.h.

Constructor & Destructor Documentation

parameters::ParameterBase::ParameterBase ( const std::string &  s,
const std::string &  d 
)
inline
Parameters
sparameter name (as appears in command line)
dparameter description (to be listed in help)

Definition at line 84 of file Pars.h.


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