MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <MBIter.hpp>
Classes | |
class | IsType |
Public Member Functions | |
iBase_EntityArrIterator_Private (iBase_EntityType type, iMesh_EntityTopology topology, EntityHandle set, int array_sz, bool recursive=false) | |
virtual | ~iBase_EntityArrIterator_Private () |
int | array_size () const |
virtual ErrorCode | step (int num_steps, bool &at_end)=0 |
virtual void | get_entities (Core *mb, EntityHandle *array, int &count_out)=0 |
virtual ErrorCode | reset (Interface *mb)=0 |
void | remove_type (std::vector< EntityHandle > &vect, EntityType t) |
void | remove_type (Range &range, EntityType t) |
Protected Attributes | |
iBase_EntityType | entType |
iMesh_EntityTopology | entTopo |
EntityHandle | entSet |
int | arrSize |
bool | isRecursive |
Definition at line 11 of file MBIter.hpp.
iBase_EntityArrIterator_Private::iBase_EntityArrIterator_Private | ( | iBase_EntityType | type, |
iMesh_EntityTopology | topology, | ||
EntityHandle | set, | ||
int | array_sz, | ||
bool | recursive = false |
||
) | [inline] |
Definition at line 21 of file MBIter.hpp.
virtual iBase_EntityArrIterator_Private::~iBase_EntityArrIterator_Private | ( | ) | [inline, virtual] |
Definition at line 30 of file MBIter.hpp.
{}
int iBase_EntityArrIterator_Private::array_size | ( | ) | const [inline] |
Definition at line 32 of file MBIter.hpp.
References arrSize.
Referenced by iMesh_getNextEntArrIter().
{ return arrSize; }
virtual void iBase_EntityArrIterator_Private::get_entities | ( | Core * | mb, |
EntityHandle * | array, | ||
int & | count_out | ||
) | [pure virtual] |
Implemented in MBIter< Container >.
Referenced by iMesh_getNextEntArrIter().
void iBase_EntityArrIterator_Private::remove_type | ( | std::vector< EntityHandle > & | vect, |
EntityType | t | ||
) | [inline] |
Definition at line 57 of file MBIter.hpp.
Referenced by MBIter< Container >::reset().
{ vect.erase( std::remove_if( vect.begin(), vect.end(), IsType( t ) ), vect.end() ); }
void iBase_EntityArrIterator_Private::remove_type | ( | Range & | range, |
EntityType | t | ||
) | [inline] |
Definition at line 62 of file MBIter.hpp.
{ std::pair< Range::iterator, Range::iterator > p = range.equal_range( t ); range.erase( p.first, p.second ); }
virtual ErrorCode iBase_EntityArrIterator_Private::reset | ( | Interface * | mb | ) | [pure virtual] |
Implemented in MBIter< Container >.
Referenced by iMesh_resetEntArrIter().
virtual ErrorCode iBase_EntityArrIterator_Private::step | ( | int | num_steps, |
bool & | at_end | ||
) | [pure virtual] |
Implemented in MBIter< Container >.
Referenced by iMesh_stepEntArrIter().
int iBase_EntityArrIterator_Private::arrSize [protected] |
Definition at line 17 of file MBIter.hpp.
Referenced by array_size(), and MBIter< Container >::get_entities().
EntityHandle iBase_EntityArrIterator_Private::entSet [protected] |
Definition at line 16 of file MBIter.hpp.
Referenced by MBIter< Container >::reset().
Definition at line 15 of file MBIter.hpp.
Referenced by MBIter< Container >::reset().
Definition at line 14 of file MBIter.hpp.
Referenced by MBIter< Container >::reset().
bool iBase_EntityArrIterator_Private::isRecursive [protected] |
Definition at line 18 of file MBIter.hpp.
Referenced by MBIter< Container >::reset().