Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType > Class Template Reference

Vector3DParameter is abstract type implementing curiously recurring template pattern to implement common code associated with vector storage. More...

#include <Vector3DParameter.h>

Inheritance diagram for Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >:
Mantid::API::ImplicitFunctionParameter

Public Member Functions

ElemType getX () const
 
ElemType getY () const
 
ElemType getZ () const
 
virtual bool isValid () const
 
bool operator!= (const Derived &other) const
 
Derived & operator= (const Derived &other)
 
bool operator== (const Derived &other) const
 
ElemType & operator[] (int index)
 
std::string toXMLString () const
 
 Vector3DParameter ()
 
 Vector3DParameter (const Vector3DParameter< Derived, ElemType > &other)
 
 Vector3DParameter (ElemType a, ElemType b, ElemType c)
 
- Public Member Functions inherited from Mantid::API::ImplicitFunctionParameter
virtual ImplicitFunctionParameterclone () 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
 
std::vector< ElemType > m_vector
 
- 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
 

Detailed Description

template<typename Derived, typename ElemType>
class Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >

Vector3DParameter is abstract type implementing curiously recurring template pattern to implement common code associated with vector storage.

Author
Owen Arnold, Tessella plc
Date
01/02/2011

Definition at line 24 of file Vector3DParameter.h.

Constructor & Destructor Documentation

◆ Vector3DParameter() [1/3]

template<typename Derived , typename ElemType >
Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::Vector3DParameter ( ElemType  a,
ElemType  b,
ElemType  c 
)

◆ Vector3DParameter() [2/3]

template<typename Derived , typename ElemType >
Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::Vector3DParameter

Definition at line 80 of file Vector3DParameter.h.

◆ Vector3DParameter() [3/3]

template<typename Derived , typename ElemType >
Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::Vector3DParameter ( const Vector3DParameter< Derived, ElemType > &  other)

Member Function Documentation

◆ getX()

template<typename Derived , typename ElemType >
ElemType Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::getX

Definition at line 90 of file Vector3DParameter.h.

◆ getY()

template<typename Derived , typename ElemType >
ElemType Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::getY

Definition at line 94 of file Vector3DParameter.h.

◆ getZ()

template<typename Derived , typename ElemType >
ElemType Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::getZ

Definition at line 98 of file Vector3DParameter.h.

◆ isValid()

template<typename Derived , typename ElemType >
bool Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::isValid
virtual

Implements Mantid::API::ImplicitFunctionParameter.

Definition at line 44 of file Vector3DParameter.h.

◆ operator!=()

template<typename Derived , typename ElemType >
bool Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::operator!= ( const Derived &  other) const

Definition at line 64 of file Vector3DParameter.h.

◆ operator=()

template<typename Derived , typename ElemType >
Derived & Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::operator= ( const Derived &  other)

Definition at line 49 of file Vector3DParameter.h.

◆ operator==()

template<typename Derived , typename ElemType >
bool Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::operator== ( const Derived &  other) const

Definition at line 59 of file Vector3DParameter.h.

◆ operator[]()

template<typename Derived , typename ElemType >
ElemType & Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::operator[] ( int  index)

Definition at line 107 of file Vector3DParameter.h.

References index.

◆ toXMLString()

template<typename Derived , typename ElemType >
std::string Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::toXMLString
virtual

Implements Mantid::API::ImplicitFunctionParameter.

Definition at line 102 of file Vector3DParameter.h.

Member Data Documentation

◆ m_isValid

template<typename Derived , typename ElemType >
bool Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::m_isValid
protected

◆ m_vector

template<typename Derived , typename ElemType >
std::vector<ElemType> Mantid::MDAlgorithms::Vector3DParameter< Derived, ElemType >::m_vector
protected

The documentation for this class was generated from the following file: