Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::Geometry::HKLFilterUnaryLogicOperation Class Reference

Base class for unary logic operations for HKLFilter. More...

#include <HKLFilter.h>

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

Public Member Functions

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
 

Protected Attributes

HKLFilter_const_sptr m_operand
 

Detailed Description

Base class for unary logic operations for HKLFilter.

Definition at line 80 of file HKLFilter.h.

Constructor & Destructor Documentation

◆ HKLFilterUnaryLogicOperation()

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.

Member Function Documentation

◆ getOperand()

const HKLFilter_const_sptr & Mantid::Geometry::HKLFilterUnaryLogicOperation::getOperand ( ) const
inlinenoexcept

Returns the operand of the function.

Definition at line 85 of file HKLFilter.h.

Member Data Documentation

◆ m_operand

HKLFilter_const_sptr Mantid::Geometry::HKLFilterUnaryLogicOperation::m_operand
protected

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