The ChainCon Software (Release 0.03)
Public Member Functions | Private Attributes | List of all members
NegateRestr< CellRestrT > Class Template Reference

A template of a simple class for negating the cell restriction given by another object for the boundary computation procedures. More...

#include <boundary.h>

Public Member Functions

 NegateRestr (const CellRestrT &p)
 Creates an object of the class based on another object whose decisions will be negated. More...
 
template<class CellT >
bool check (const CellT &c) const
 Checks whether the given cell satisfies the negation of the restriction given by the parent object. More...
 

Private Attributes

const CellRestrT & parent
 The parent object whose decisions will be negated. More...
 

Detailed Description

template<class CellRestrT>
class NegateRestr< CellRestrT >

A template of a simple class for negating the cell restriction given by another object for the boundary computation procedures.

Definition at line 77 of file boundary.h.

Constructor & Destructor Documentation

◆ NegateRestr()

template<class CellRestrT >
NegateRestr< CellRestrT >::NegateRestr ( const CellRestrT &  p)
inline

Creates an object of the class based on another object whose decisions will be negated.

Definition at line 96 of file boundary.h.

Member Function Documentation

◆ check()

template<class CellRestrT >
template<class CellT >
bool NegateRestr< CellRestrT >::check ( const CellT &  c) const
inline

Checks whether the given cell satisfies the negation of the restriction given by the parent object.

Definition at line 104 of file boundary.h.

References NegateRestr< CellRestrT >::parent.

Referenced by addBoundaries(), computeBoundary(), and computeBoundaryMap().

Member Data Documentation

◆ parent

template<class CellRestrT >
const CellRestrT& NegateRestr< CellRestrT >::parent
private

The parent object whose decisions will be negated.

Definition at line 91 of file boundary.h.

Referenced by NegateRestr< CellRestrT >::check().


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