|
Mantid
|
Atribute validator visitor class. More...
#include <IFunction.h>
Public Member Functions | |
| AttributeValidatorVisitor (const IFunction::Attribute *attrToValidate) | |
| T | operator() (bool &b) const |
| implements static_visitor's operator() for bool | |
| T | operator() (double &d) const |
| implements static_visitor's operator() for double | |
| T | operator() (int &i) const |
| implements static_visitor's operator() for int | |
| T | operator() (std::string &str) const |
| implements static_visitor's operator() for std::string | |
| T | operator() (std::vector< double > &v) const |
| implements static_visitor's operator() for vector | |
Protected Attributes | |
| const IFunction::Attribute * | m_attrToValidate |
Atribute validator visitor class.
It is used to access m_data of a specificed attribute in order to evaluate the current value of the attribute against the associated validator, for all allowed types.
Definition at line 380 of file IFunction.h.
|
inline |
Definition at line 382 of file IFunction.h.
|
inline |
implements static_visitor's operator() for bool
Definition at line 391 of file IFunction.h.
|
inline |
implements static_visitor's operator() for double
Definition at line 387 of file IFunction.h.
References Mantid::Geometry::d.
|
inline |
implements static_visitor's operator() for int
Definition at line 389 of file IFunction.h.
|
inline |
implements static_visitor's operator() for std::string
Definition at line 385 of file IFunction.h.
|
inline |
implements static_visitor's operator() for vector
Definition at line 393 of file IFunction.h.
|
protected |
Definition at line 396 of file IFunction.h.