Public Member Functions
Sundance::GIDCellPredicate Class Reference
Inheritance diagram for Sundance::GIDCellPredicate:
Sundance::CellPredicateBase Playa::Handleable< CellPredicateBase > Sundance::Noncopyable Sundance::ObjectWithClassVerbosity< CellPredicateBase > Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 GIDCellPredicate (int cellDim, const Set< int > &gids)
virtual ~GIDCellPredicate ()
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
int cellDim_
Set< int > gids_

Detailed Description

GIDCellPredicate tests whether a cell's GID is contained in a specified set of GIDs.

Definition at line 57 of file SundanceGIDCellPredicate.hpp.


Constructor & Destructor Documentation

Sundance::GIDCellPredicate::GIDCellPredicate ( int  cellDim,
const Set< int > &  gids 
) [inline]

Construct with a GID set

Definition at line 61 of file SundanceGIDCellPredicate.hpp.

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

virtual dtor

Definition at line 65 of file SundanceGIDCellPredicate.hpp.


Member Function Documentation

virtual std::string Sundance::GIDCellPredicate::description ( ) const [inline, virtual]
bool GIDCellPredicate::lessThan ( const CellPredicateBase other) const [virtual]

comparison

Implements Sundance::CellPredicateBase.

Definition at line 48 of file SundanceGIDCellPredicate.cpp.

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

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

Write to XML

Implements Sundance::CellPredicateBase.

Definition at line 69 of file SundanceGIDCellPredicate.cpp.

References gids_, and Sundance::Set< Key, Compare >::toString().


Member Data Documentation

Reimplemented from Sundance::CellPredicateBase.

Definition at line 85 of file SundanceGIDCellPredicate.hpp.

Referenced by testBatch().

Definition at line 86 of file SundanceGIDCellPredicate.hpp.

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

Site Contact