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

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

#include <HKLFilter.h>

Inheritance diagram for Mantid::Geometry::HKLFilterBinaryLogicOperation:
Mantid::Geometry::HKLFilter Mantid::Geometry::HKLFilterAnd Mantid::Geometry::HKLFilterOr

Public Member Functions

const HKLFilter_const_sptrgetLHS () const noexcept
 Returns the left-hand side operand of the operation. More...
 
const HKLFilter_const_sptrgetRHS () 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
 

Protected Attributes

HKLFilter_const_sptr m_lhs
 
HKLFilter_const_sptr m_rhs
 

Detailed Description

Base class for binary logic operations for HKLFilter.

Definition at line 103 of file HKLFilter.h.

Constructor & Destructor Documentation

◆ HKLFilterBinaryLogicOperation()

Mantid::Geometry::HKLFilterBinaryLogicOperation::HKLFilterBinaryLogicOperation ( HKLFilter_const_sptr  lhs,
HKLFilter_const_sptr  rhs 
)

Stores the left-hand and right-hand side operators, throws exception if either is null.

Definition at line 43 of file HKLFilter.cpp.

References m_lhs, and m_rhs.

Member Function Documentation

◆ getLHS()

const HKLFilter_const_sptr & Mantid::Geometry::HKLFilterBinaryLogicOperation::getLHS ( ) const
inlinenoexcept

Returns the left-hand side operand of the operation.

Definition at line 108 of file HKLFilter.h.

◆ getRHS()

const HKLFilter_const_sptr & Mantid::Geometry::HKLFilterBinaryLogicOperation::getRHS ( ) const
inlinenoexcept

Returns the right-hand side operand of the operation.

Definition at line 111 of file HKLFilter.h.

Member Data Documentation

◆ m_lhs

HKLFilter_const_sptr Mantid::Geometry::HKLFilterBinaryLogicOperation::m_lhs
protected

◆ m_rhs

HKLFilter_const_sptr Mantid::Geometry::HKLFilterBinaryLogicOperation::m_rhs
protected

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