Mantid
|
Logical "Not"-operation for HKLFilter. More...
#include <HKLFilter.h>
Public Member Functions | |
std::string | getDescription () const noexcept override |
Returns a description of the HKLFilterNot. More... | |
HKLFilterNot (const HKLFilter_const_sptr &filter) | |
Constructor, calls base class constructor, throws exception if filter is a null pointer. More... | |
bool | isAllowed (const Kernel::V3D &hkl) const noexcept override |
Returns true if the wrapped filter returns false and false otherwise. More... | |
Public Member Functions inherited from Mantid::Geometry::HKLFilterUnaryLogicOperation | |
const HKLFilter_const_sptr & | getOperand () const noexcept |
Returns the operand of the function. More... | |
HKLFilterUnaryLogicOperation (HKLFilter_const_sptr filter) | |
Stores the supplied filter, throws exception if filter 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::HKLFilterUnaryLogicOperation | |
HKLFilter_const_sptr | m_operand |
Logical "Not"-operation for HKLFilter.
Definition at line 92 of file HKLFilter.h.
|
inline |
Constructor, calls base class constructor, throws exception if filter is a null pointer.
Definition at line 96 of file HKLFilter.h.
|
overridevirtualnoexcept |
Returns a description of the HKLFilterNot.
Implements Mantid::Geometry::HKLFilter.
Definition at line 36 of file HKLFilter.cpp.
References Mantid::Geometry::HKLFilterUnaryLogicOperation::m_operand.
|
overridevirtualnoexcept |
Returns true if the wrapped filter returns false and false otherwise.
Implements Mantid::Geometry::HKLFilter.
Definition at line 39 of file HKLFilter.cpp.