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 More... | |
T | operator() (double &d) const |
implements static_visitor's operator() for double More... | |
T | operator() (int &i) const |
implements static_visitor's operator() for int More... | |
T | operator() (std::string &str) const |
implements static_visitor's operator() for std::string More... | |
T | operator() (std::vector< double > &v) const |
implements static_visitor's operator() for vector More... | |
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 377 of file IFunction.h.
|
inline |
Definition at line 379 of file IFunction.h.
|
inline |
implements static_visitor's operator() for bool
Definition at line 388 of file IFunction.h.
|
inline |
implements static_visitor's operator() for double
Definition at line 384 of file IFunction.h.
References Mantid::Geometry::d.
|
inline |
implements static_visitor's operator() for int
Definition at line 386 of file IFunction.h.
|
inline |
implements static_visitor's operator() for std::string
Definition at line 382 of file IFunction.h.
|
inline |
implements static_visitor's operator() for vector
Definition at line 390 of file IFunction.h.
|
protected |
Definition at line 393 of file IFunction.h.