Mantid
|
Base class for unary logic operations for HKLFilter. More...
#include <HKLFilter.h>
Public Member Functions | |
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 |
Protected Attributes | |
HKLFilter_const_sptr | m_operand |
Base class for unary logic operations for HKLFilter.
Definition at line 80 of file HKLFilter.h.
Mantid::Geometry::HKLFilterUnaryLogicOperation::HKLFilterUnaryLogicOperation | ( | HKLFilter_const_sptr | filter | ) |
Stores the supplied filter, throws exception if filter is null.
Definition at line 29 of file HKLFilter.cpp.
References m_operand.
|
inlinenoexcept |
Returns the operand of the function.
Definition at line 85 of file HKLFilter.h.
|
protected |
Definition at line 88 of file HKLFilter.h.
Referenced by Mantid::Geometry::HKLFilterNot::getDescription(), and HKLFilterUnaryLogicOperation().