Public Member Functions
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 65 of file SundanceCellPredicate.hpp.


Constructor & Destructor Documentation

Empty ctor

Definition at line 70 of file SundanceCellPredicate.hpp.

Construct a CellPredicate with a raw pointer to a CellPredicateBase

Definition at line 70 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 70 of file SundanceCellPredicate.hpp.

construct from a positional cell predicate functor

Definition at line 51 of file SundanceCellPredicate.cpp.

construct from a positional cell predicate functor

Definition at line 55 of file SundanceCellPredicate.cpp.

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

construct from a positional cell predicate functor

Definition at line 59 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 64 of file SundanceCellPredicate.cpp.

References Playa::Handle< CellPredicateBase >::ptr(), and Playa::Handle< PointerType >::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 90 of file SundanceCellPredicate.hpp.

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

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

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

Site Contact