Mantid
|
Base class for binary logic operations for HKLFilter. More...
#include <HKLFilter.h>
Public Member Functions | |
const HKLFilter_const_sptr & | getLHS () const noexcept |
Returns the left-hand side operand of the operation. More... | |
const HKLFilter_const_sptr & | getRHS () const noexcept |
Returns the right-hand side operand of the operation. More... | |
HKLFilterBinaryLogicOperation (HKLFilter_const_sptr lhs, HKLFilter_const_sptr rhs) | |
Stores the left-hand and right-hand side operators, throws exception if either is null. More... | |
Public Member Functions inherited from Mantid::Geometry::HKLFilter | |
std::function< bool(const Kernel::V3D &)> | fn () const noexcept |
Returns a function object that wraps HKLFilter::isAllowed. More... | |
virtual std::string | getDescription () const =0 |
virtual bool | isAllowed (const Kernel::V3D &hkl) const =0 |
virtual | ~HKLFilter ()=default |
Protected Attributes | |
HKLFilter_const_sptr | m_lhs |
HKLFilter_const_sptr | m_rhs |
Base class for binary logic operations for HKLFilter.
Definition at line 103 of file HKLFilter.h.
Mantid::Geometry::HKLFilterBinaryLogicOperation::HKLFilterBinaryLogicOperation | ( | HKLFilter_const_sptr | lhs, |
HKLFilter_const_sptr | rhs | ||
) |
Stores the left-hand and right-hand side operators, throws exception if either is null.
Definition at line 43 of file HKLFilter.cpp.
|
inlinenoexcept |
Returns the left-hand side operand of the operation.
Definition at line 108 of file HKLFilter.h.
|
inlinenoexcept |
Returns the right-hand side operand of the operation.
Definition at line 111 of file HKLFilter.h.
|
protected |
Definition at line 114 of file HKLFilter.h.
Referenced by Mantid::Geometry::HKLFilterAnd::getDescription(), Mantid::Geometry::HKLFilterOr::getDescription(), and HKLFilterBinaryLogicOperation().
|
protected |
Definition at line 115 of file HKLFilter.h.
Referenced by Mantid::Geometry::HKLFilterAnd::getDescription(), Mantid::Geometry::HKLFilterOr::getDescription(), and HKLFilterBinaryLogicOperation().