Mantid
|
Logical "And"-operation for HKLFilter. More...
#include <HKLFilter.h>
Public Member Functions | |
std::string | getDescription () const noexcept override |
Returns a description of the HKLFilterAnd. More... | |
HKLFilterAnd (const HKLFilter_const_sptr &lhs, const HKLFilter_const_sptr &rhs) | |
Constructor, calls base class constructor, throws exception if either of the operands is null. More... | |
bool | isAllowed (const Kernel::V3D &hkl) const noexcept override |
Returns true if both wrapped filters return true. More... | |
Public Member Functions inherited from Mantid::Geometry::HKLFilterBinaryLogicOperation | |
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 |
Additional Inherited Members | |
Protected Attributes inherited from Mantid::Geometry::HKLFilterBinaryLogicOperation | |
HKLFilter_const_sptr | m_lhs |
HKLFilter_const_sptr | m_rhs |
Logical "And"-operation for HKLFilter.
Definition at line 119 of file HKLFilter.h.
|
inline |
Constructor, calls base class constructor, throws exception if either of the operands is null.
Definition at line 123 of file HKLFilter.h.
|
overridevirtualnoexcept |
Returns a description of the HKLFilterAnd.
Implements Mantid::Geometry::HKLFilter.
Definition at line 52 of file HKLFilter.cpp.
References Mantid::Geometry::HKLFilterBinaryLogicOperation::m_lhs, and Mantid::Geometry::HKLFilterBinaryLogicOperation::m_rhs.
|
overridevirtualnoexcept |
Returns true if both wrapped filters return true.
Implements Mantid::Geometry::HKLFilter.
Definition at line 57 of file HKLFilter.cpp.