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

#include <SMESHDS_TSubMeshHolder.hxx>

Inheritance diagram for SMESHDS_TSubMeshHolder< SUBMESH >::Iterator:

Public Types

typedef SUBMESH * value_type
 

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
 

Member Typedef Documentation

◆ value_type

typedef SUBMESH * SMDS_Iterator< SUBMESH * >::value_type
inherited

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()

◆ remove()

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

Delete the current element and step to the next one.

Field Documentation

◆ myCurID

template<class SUBMESH >
int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myCurID

◆ myEndID

template<class SUBMESH >
int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myEndID

◆ myHolder

◆ myIDDelta

template<class SUBMESH >
int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myIDDelta

◆ myNext