
Public Types | |
| enum | CellFilterOpType { Union, Intersection, Difference } | 
Public Member Functions | |
| BinaryCellFilter (const CellFilter &left, const CellFilter &right, const CellFilterOpType &op) | |
| virtual | ~BinaryCellFilter () | 
| virtual int | dimension (const Mesh &mesh) const | 
| virtual XMLObject | toXML () const | 
| virtual std::string | typeName () const | 
Handleable interface | |
| CellFilterOpType | op_ | 
| CellFilter | left_ | 
| CellFilter | right_ | 
| virtual CellSet | internalGetCells (const Mesh &mesh) const | 
| std::string | opName () const | 
Definition at line 46 of file SundanceBinaryCellFilter.hpp.
Definition at line 51 of file SundanceBinaryCellFilter.hpp.
| BinaryCellFilter::BinaryCellFilter | ( | const CellFilter & | left, | |
| const CellFilter & | right, | |||
| const CellFilterOpType & | op | |||
| ) | 
Empty ctor
Definition at line 42 of file SundanceBinaryCellFilter.cpp.
References Intersection, Sundance::CellFilterBase::setName(), Sundance::CellFilter::toString(), and Union.
| virtual Sundance::BinaryCellFilter::~BinaryCellFilter | ( | ) |  [inline, virtual] | 
        
virtual dtor
Definition at line 58 of file SundanceBinaryCellFilter.hpp.
| int BinaryCellFilter::dimension | ( | const Mesh & | mesh | ) |  const [virtual] | 
        
Return the dimension of the cells that will be identified by this filter when acting on the given mesh
Implements Sundance::CellFilterBase.
Definition at line 63 of file SundanceBinaryCellFilter.cpp.
References Sundance::CellFilter::dimension(), left_, and right_.
Get my cells for the given mesh
Implements Sundance::CellFilterBase.
Definition at line 76 of file SundanceBinaryCellFilter.cpp.
References Difference, Sundance::CellFilter::getCells(), Sundance::Mesh::id(), Intersection, left_, op_, right_, SUNDANCE_OUT, Sundance::CellFilterBase::toString(), toXML(), and Union.
| string BinaryCellFilter::opName | ( | ) |  const [private] | 
        
Definition at line 105 of file SundanceBinaryCellFilter.cpp.
References Difference, Intersection, op_, and Union.
Referenced by toXML().
| XMLObject BinaryCellFilter::toXML | ( | ) |  const [virtual] | 
        
Write to XML
Definition at line 121 of file SundanceBinaryCellFilter.cpp.
References left_, opName(), right_, and Sundance::CellFilter::toXML().
Referenced by internalGetCells().
| virtual std::string Sundance::BinaryCellFilter::typeName | ( | ) |  const [inline, virtual] | 
        
Return the name of the type. Used in ordering.
Definition at line 73 of file SundanceBinaryCellFilter.hpp.
CellFilter Sundance::BinaryCellFilter::left_ [private]           | 
        
My left operand
Definition at line 90 of file SundanceBinaryCellFilter.hpp.
Referenced by dimension(), internalGetCells(), and toXML().
The operation I perform
Definition at line 87 of file SundanceBinaryCellFilter.hpp.
Referenced by internalGetCells(), and opName().
CellFilter Sundance::BinaryCellFilter::right_ [private]           | 
        
My right operand
Definition at line 93 of file SundanceBinaryCellFilter.hpp.
Referenced by dimension(), internalGetCells(), and toXML().