BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ISelectionRule Class Referenceabstract

Description

Abstract base class for selection rules.

Inheritance diagram for ISelectionRule:

Public Member Functions

virtual ~ISelectionRule ()=default
 
virtual ISelectionRuleclone () const =0
 
virtual bool coordinateSelected (const I3 &coordinate) const =0
 

Constructor & Destructor Documentation

◆ ~ISelectionRule()

virtual ISelectionRule::~ISelectionRule ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual ISelectionRule* ISelectionRule::clone ( ) const
pure virtual

Implemented in SimpleSelectionRule.

◆ coordinateSelected()

virtual bool ISelectionRule::coordinateSelected ( const I3 coordinate) const
pure virtual

Implemented in SimpleSelectionRule.