Version: 8.3.0
SMESHDS_TSubMeshHolder< SUBMESH >::Iterator Struct Reference

#include <SMESHDS_TSubMeshHolder.hxx>

Inheritance diagram for SMESHDS_TSubMeshHolder< SUBMESH >::Iterator:

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 ()
 
virtual void remove ()
 Delete the current element and step to the next one. More...
 

Data Fields

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

Constructor & Destructor Documentation

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

Member Function Documentation

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.

virtual void SMDS_Iterator< SUBMESH * >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation