Version: 9.16.0
MyElemIterator Class Reference
Inheritance diagram for MyElemIterator:

Public Types

typedef const SMDS_MeshElementvalue_type
 

Public Member Functions

 MyElemIterator (const TSubMeshSet &theSubMeshes)
 
SMDS_ElemIteratorPtr getElements (const SMESHDS_SubMesh *theSubMesh) const
 
bool more ()
 Return true if and only if there are other object in this iterator. More...
 
bool more ()
 Return true if and only if there are other object in this iterator. More...
 
const SMDS_MeshElementnext ()
 Return the current object and step to the next one. More...
 
const SMDS_MeshElementnext ()
 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...
 

Private Attributes

SMDSAbs_ElementType myType
 
SMDS_ElemIteratorPtr myElemIt
 
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshElement * > > myElemIt
 
SMDS_NodeIteratorPtr myNodeIt
 
const SMDS_MeshElementmyElem
 
bool myMore
 
TSubMeshSet::const_iterator mySubIt
 
TSubMeshSet::const_iterator mySubEnd
 

Member Typedef Documentation

◆ value_type

typedef const SMDS_MeshElement * SMDS_Iterator< const SMDS_MeshElement * >::value_type
inherited

Constructor & Destructor Documentation

◆ MyElemIterator()

MyElemIterator::MyElemIterator ( const TSubMeshSet theSubMeshes)

Member Function Documentation

◆ getElements()

SMDS_ElemIteratorPtr MyElemIterator::getElements ( const SMESHDS_SubMesh theSubMesh) const
virtual

◆ more() [1/2]

bool MyIterator< const SMDS_MeshElement * >::more ( )
virtualinherited

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

Implements SMDS_Iterator< const SMDS_MeshElement * >.

◆ more() [2/2]

bool MyIterator< const SMDS_MeshElement * >::more ( )
virtualinherited

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

Implements SMDS_Iterator< const SMDS_MeshElement * >.

◆ next() [1/2]

const SMDS_MeshElement * MyIterator< const SMDS_MeshElement * >::next ( )
virtualinherited

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

◆ next() [2/2]

const SMDS_MeshElement * MyIterator< const SMDS_MeshElement * >::next ( )
virtualinherited

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

◆ remove()

virtual void SMDS_Iterator< const SMDS_MeshElement * >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation

◆ myElem

const SMDS_MeshElement* MyIterator< const SMDS_MeshElement * >::myElem
privateinherited

◆ myElemIt [1/2]

SMDS_ElemIteratorPtr MyIterator< const SMDS_MeshElement * >::myElemIt
privateinherited

◆ myElemIt [2/2]

boost::shared_ptr< SMDS_Iterator<const SMDS_MeshElement * > > MyIterator< const SMDS_MeshElement * >::myElemIt
privateinherited

◆ myMore

bool MyIterator< const SMDS_MeshElement * >::myMore
privateinherited

◆ myNodeIt

SMDS_NodeIteratorPtr MyIterator< const SMDS_MeshElement * >::myNodeIt
privateinherited

◆ mySubEnd

TSubMeshSet::const_iterator MyIterator< const SMDS_MeshElement * >::mySubEnd
privateinherited

◆ mySubIt

TSubMeshSet::const_iterator MyIterator< const SMDS_MeshElement * >::mySubIt
privateinherited

◆ myType

SMDSAbs_ElementType MyIterator< const SMDS_MeshElement * >::myType
privateinherited