The documentation of a parameter. More...
#include <Parametrizable.h>
Public Member Functions | |
ParameterDoc (const std::string &name, const std::string &doc, const std::string &defaultValue) | |
Construct a parameter documentation without bounds. More... | |
ParameterDoc (const std::string &name, const std::string &doc, const std::string &defaultValue, const std::string &minValue, const std::string &maxValue, LexicalComparison comp) | |
Construct a parameter documentation with bounds. More... | |
Public Attributes | |
LexicalComparison | comp |
pointer to comparison function More... | |
std::string | defaultValue |
default value More... | |
std::string | doc |
short documentation More... | |
std::string | maxValue |
if bounds are checked, maxmimu value More... | |
std::string | minValue |
if bounds are checked, minimum value More... | |
std::string | name |
name More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const ParameterDoc &p) |
Dump the documentation of this parameter to a stream. More... | |
The documentation of a parameter.
Definition at line 160 of file Parametrizable.h.
PointMatcherSupport::Parametrizable::ParameterDoc::ParameterDoc | ( | const std::string & | name, |
const std::string & | doc, | ||
const std::string & | defaultValue, | ||
const std::string & | minValue, | ||
const std::string & | maxValue, | ||
LexicalComparison | comp | ||
) |
Construct a parameter documentation with bounds.
Definition at line 112 of file Parametrizable.cpp.
PointMatcherSupport::Parametrizable::ParameterDoc::ParameterDoc | ( | const std::string & | name, |
const std::string & | doc, | ||
const std::string & | defaultValue | ||
) |
Construct a parameter documentation without bounds.
Definition at line 122 of file Parametrizable.cpp.
|
friend |
Dump the documentation of this parameter to a stream.
Definition at line 51 of file Parametrizable.cpp.
LexicalComparison PointMatcherSupport::Parametrizable::ParameterDoc::comp |
pointer to comparison function
Definition at line 167 of file Parametrizable.h.
std::string PointMatcherSupport::Parametrizable::ParameterDoc::defaultValue |
default value
Definition at line 164 of file Parametrizable.h.
std::string PointMatcherSupport::Parametrizable::ParameterDoc::doc |
short documentation
Definition at line 163 of file Parametrizable.h.
std::string PointMatcherSupport::Parametrizable::ParameterDoc::maxValue |
if bounds are checked, maxmimu value
Definition at line 166 of file Parametrizable.h.
std::string PointMatcherSupport::Parametrizable::ParameterDoc::minValue |
if bounds are checked, minimum value
Definition at line 165 of file Parametrizable.h.
std::string PointMatcherSupport::Parametrizable::ParameterDoc::name |
name
Definition at line 162 of file Parametrizable.h.