Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Geometry::HKLFilterNot Class Referencefinal

Logical "Not"-operation for HKLFilter. More...

#include <HKLFilter.h>

Inheritance diagram for Mantid::Geometry::HKLFilterNot:
Mantid::Geometry::HKLFilterUnaryLogicOperation Mantid::Geometry::HKLFilter

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_sptrgetOperand () 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
 

Detailed Description

Logical "Not"-operation for HKLFilter.

Definition at line 92 of file HKLFilter.h.

Constructor & Destructor Documentation

◆ HKLFilterNot()

Mantid::Geometry::HKLFilterNot::HKLFilterNot ( const HKLFilter_const_sptr filter)
inline

Constructor, calls base class constructor, throws exception if filter is a null pointer.

Definition at line 96 of file HKLFilter.h.

Member Function Documentation

◆ getDescription()

std::string Mantid::Geometry::HKLFilterNot::getDescription ( ) const
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.

◆ isAllowed()

bool Mantid::Geometry::HKLFilterNot::isAllowed ( const Kernel::V3D hkl) const
overridevirtualnoexcept

Returns true if the wrapped filter returns false and false otherwise.

Implements Mantid::Geometry::HKLFilter.

Definition at line 39 of file HKLFilter.cpp.


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