|
Mantid
|
SingleValueParameter is a templated base class implementing CRTP. More...
#include <SingleValueParameter.h>
Public Types | |
| using | ValueType = ValType |
Public Member Functions | |
| ValType | getValue () const |
| bool | isValid () const override |
| bool | operator!= (const Derived &other) const |
| Derived & | operator= (const Derived &other) |
| SingleValueParameter< Derived, ValType > & | operator= (const SingleValueParameter< Derived, ValType > &other) |
| bool | operator== (const Derived &other) const |
| SingleValueParameter () | |
| Default constructor. Object is created in invalid state. More... | |
| SingleValueParameter (const SingleValueParameter< Derived, ValType > &other) | |
| SingleValueParameter (ValType value) | |
| std::string | toXMLString () const override |
Public Member Functions inherited from Mantid::API::ImplicitFunctionParameter | |
| virtual ImplicitFunctionParameter * | clone () const =0 |
| virtual std::string | getName () const =0 |
| virtual bool | isValid () const =0 |
| virtual std::string | toXMLString () const =0 |
| virtual | ~ImplicitFunctionParameter ()=default |
Protected Attributes | |
| bool | m_isValid |
| ValType | m_value |
Protected Attributes inherited from Mantid::API::ImplicitFunctionParameter | |
| bool | m_isValid {false} |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::API::ImplicitFunctionParameter | |
| std::string | parameterXMLTemplate (const std::string &valueXMLtext) const |
SingleValueParameter is a templated base class implementing CRTP.
Allows strongly named concrete SingleValueParameters to be defined and used in a very simple manner.
Definition at line 27 of file SingleValueParameter.h.
| using Mantid::API::SingleValueParameter< Derived, ValType >::ValueType = ValType |
Definition at line 29 of file SingleValueParameter.h.
| Mantid::API::SingleValueParameter< Derived, ValType >::SingleValueParameter | ( | ValType | value | ) |
Definition at line 123 of file SingleValueParameter.h.
| Mantid::API::SingleValueParameter< Derived, ValType >::SingleValueParameter |
Default constructor. Object is created in invalid state.
Definition at line 116 of file SingleValueParameter.h.
| Mantid::API::SingleValueParameter< Derived, ValType >::SingleValueParameter | ( | const SingleValueParameter< Derived, ValType > & | other | ) |
Definition at line 102 of file SingleValueParameter.h.
| ValType Mantid::API::SingleValueParameter< Derived, ValType >::getValue |
Definition at line 50 of file SingleValueParameter.h.
References m_value.
|
overridevirtual |
Implements Mantid::API::ImplicitFunctionParameter.
Definition at line 58 of file SingleValueParameter.h.
| bool Mantid::API::SingleValueParameter< Derived, ValType >::operator!= | ( | const Derived & | other | ) | const |
Definition at line 93 of file SingleValueParameter.h.
| Derived & Mantid::API::SingleValueParameter< Derived, ValType >::operator= | ( | const Derived & | other | ) |
Definition at line 69 of file SingleValueParameter.h.
References m_value.
| SingleValueParameter< Derived, ValType > & Mantid::API::SingleValueParameter< Derived, ValType >::operator= | ( | const SingleValueParameter< Derived, ValType > & | other | ) |
Definition at line 108 of file SingleValueParameter.h.
References m_value.
| bool Mantid::API::SingleValueParameter< Derived, ValType >::operator== | ( | const Derived & | other | ) | const |
Definition at line 83 of file SingleValueParameter.h.
References m_value.
|
overridevirtual |
Implements Mantid::API::ImplicitFunctionParameter.
Definition at line 129 of file SingleValueParameter.h.
References m_value.
|
protected |
Definition at line 43 of file SingleValueParameter.h.
|
protected |
Definition at line 42 of file SingleValueParameter.h.