Sundance::CellPredicate Class Reference

Inheritance diagram for Sundance::CellPredicate:

Playa::Handle< CellPredicateBase >

List of all members.

Public Member Functions

 CellPredicate ()
 CellPredicate (Handleable< CellPredicateBase > *rawPtr)
 CellPredicate (const RefCountPtr< CellPredicateBase > &smartPtr)
 CellPredicate (const RCP< CellPredicateFunctorBase > &func)
 CellPredicate (Playa::Handleable< CellPredicateFunctorBase > *func)
 CellPredicate (ParametrizedCurve &curve, CurveCellFilterMode filterMode)
XMLObject toXML () const
std::string description () const
void setMesh (const Mesh &mesh, int cellDim) const
bool operator< (const CellPredicate &other) const


Detailed Description

User-level handle for predicates (deriving from CellPredicateBase) used to decide whether a given cell passes a CellFilter.

Definition at line 54 of file SundanceCellPredicate.hpp.


Constructor & Destructor Documentation

Sundance::CellPredicate::CellPredicate (  )  [inline]

Empty ctor

Definition at line 59 of file SundanceCellPredicate.hpp.

Sundance::CellPredicate::CellPredicate ( Handleable< CellPredicateBase > *  rawPtr  )  [inline]

Construct a CellPredicate with a raw pointer to a CellPredicateBase

Definition at line 59 of file SundanceCellPredicate.hpp.

Sundance::CellPredicate::CellPredicate ( const RefCountPtr< CellPredicateBase > &  smartPtr  )  [inline]

Construct a CellPredicate with a smart pointer to a CellPredicateBase

Definition at line 59 of file SundanceCellPredicate.hpp.

CellPredicate::CellPredicate ( const RCP< CellPredicateFunctorBase > &  func  ) 

construct from a positional cell predicate functor

Definition at line 40 of file SundanceCellPredicate.cpp.

CellPredicate::CellPredicate ( Playa::Handleable< CellPredicateFunctorBase > *  func  ) 

construct from a positional cell predicate functor

Definition at line 44 of file SundanceCellPredicate.cpp.

CellPredicate::CellPredicate ( ParametrizedCurve &  curve,
CurveCellFilterMode  filterMode 
)

construct from a positional cell predicate functor

Definition at line 48 of file SundanceCellPredicate.cpp.


Member Function Documentation

std::string Sundance::CellPredicate::description (  )  const [inline]

bool CellPredicate::operator< ( const CellPredicate other  )  const

compare to another predicate, used for placement in STL containers

Definition at line 53 of file SundanceCellPredicate.cpp.

References Playa::Handle< PointerType >::ptr(), and Playa::Handle< CellPredicateBase >::ptr().

void Sundance::CellPredicate::setMesh ( const Mesh mesh,
int  cellDim 
) const [inline]

set the mesh on which cells are to be tested

Definition at line 79 of file SundanceCellPredicate.hpp.

References Playa::Handle< CellPredicateBase >::ptr().

Referenced by Sundance::SubsetCellFilter::internalGetCells().

XMLObject Sundance::CellPredicate::toXML (  )  const [inline]

Site Contact