Common, template-parameter independent base class of Parameter, to be stored in a pointer-container in ParameterTable.
More...
#include <Pars.h>
|
| 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) |
|
|
virtual void | read_v (std::istream &)=0 |
|
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.
parameters::ParameterBase::ParameterBase |
( |
const std::string & |
s, |
|
|
const std::string & |
d |
|
) |
| |
|
inline |
- Parameters
-
s | parameter name (as appears in command line) |
d | parameter 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: