Sundance::PositionalCellPredicate Class Reference

Inheritance diagram for Sundance::PositionalCellPredicate:

Sundance::CellPredicateBase Playa::Handleable< CellPredicateBase > Sundance::Noncopyable Sundance::ObjectWithClassVerbosity< CellPredicateBase > Playa::ObjectWithVerbosity Sundance::CoordinateValueCellPredicate Sundance::PointCellPredicate

List of all members.

Public Member Functions

 PositionalCellPredicate (const RCP< CellPredicateFunctorBase > &func)
virtual ~PositionalCellPredicate ()
virtual void testBatch (const Array< int > &cellLID, Array< int > &results) const
virtual XMLObject toXML () const
virtual bool lessThan (const CellPredicateBase *other) const
virtual std::string description () const

Private Attributes

Handleable interface


RCP< CellPredicateFunctorBasefunc_


Detailed Description

PositionalCellPredicate tests whether the cell's nodes satisfy a condition on their positions.

Definition at line 100 of file SundancePositionalCellPredicate.hpp.


Constructor & Destructor Documentation

Sundance::PositionalCellPredicate::PositionalCellPredicate ( const RCP< CellPredicateFunctorBase > &  func  )  [inline]

Construct with a function of positions

Definition at line 105 of file SundancePositionalCellPredicate.hpp.

virtual Sundance::PositionalCellPredicate::~PositionalCellPredicate (  )  [inline, virtual]

virtual dtor

Definition at line 110 of file SundancePositionalCellPredicate.hpp.


Member Function Documentation

virtual std::string Sundance::PositionalCellPredicate::description (  )  const [inline, virtual]

Implements Sundance::CellPredicateBase.

Definition at line 123 of file SundancePositionalCellPredicate.hpp.

References func_.

bool PositionalCellPredicate::lessThan ( const CellPredicateBase other  )  const [virtual]

comparison

Implements Sundance::CellPredicateBase.

Definition at line 38 of file SundancePositionalCellPredicate.cpp.

References func_, and Sundance::CellPredicateBase::toXML().

void PositionalCellPredicate::testBatch ( const Array< int > &  cellLID,
Array< int > &  results 
) const [virtual]

XMLObject PositionalCellPredicate::toXML (  )  const [virtual]

Write to XML

Implements Sundance::CellPredicateBase.

Definition at line 83 of file SundancePositionalCellPredicate.cpp.


Member Data Documentation

Definition at line 129 of file SundancePositionalCellPredicate.hpp.

Referenced by description(), lessThan(), and testBatch().

Site Contact