SMESHDS_TSubMeshHolder< SUBMESH >::Iterator Struct Reference

#include <SMESHDS_TSubMeshHolder.hxx>

Public Member Functions

void init (const SMESHDS_TSubMeshHolder< SUBMESH > *holder, int firstID, int endID, int delta)
 
bool more ()
 Return true if and only if there are other object in this iterator. More...
 
SUBMESH * next ()
 Return the current object and step to the next one. More...
 
virtual ~Iterator ()
 
- Public Member Functions inherited from SMDS_Iterator< SUBMESH * >
virtual bool more ()=0
 Return true if and only if there are other object in this iterator. More...
 
virtual SUBMESH * next ()=0
 Return the current object and step to the next one. More...
 
virtual void remove ()
 Delete the current element and step to the next one. More...
 
virtual ~SMDS_Iterator ()
 Provide virtual destructor just for case if some derived iterator must have a destructor. More...
 

Public Attributes

int myCurID
 
int myEndID
 
const SMESHDS_TSubMeshHolder< SUBMESH > * myHolder
 
int myIDDelta
 
SUBMESH * myNext
 

Constructor & Destructor Documentation

◆ ~Iterator()

template<class SUBMESH >
virtual SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::~Iterator ( )
virtual

Member Function Documentation

◆ init()

◆ more()

template<class SUBMESH >
bool SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::more ( )
virtual

Return true if and only if there are other object in this iterator.

Implements SMDS_Iterator< SUBMESH * >.

References SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext.

◆ next()

Member Data Documentation

◆ myCurID

◆ myEndID

◆ myHolder

◆ myIDDelta

◆ myNext


The documentation for this struct was generated from the following file: