Version: 9.16.0
MyNodeIterator Class Reference
Inheritance diagram for MyNodeIterator:

Public Types

typedef const SMDS_MeshElementvalue_type
 
typedef const SMDS_MeshNodevalue_type
 

Public Member Functions

 MyNodeIterator (const TSubMeshSet &theSubMeshes)
 
SMDS_NodeIteratorPtr 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_MeshNodenext ()
 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 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_MeshNode * > > myElemIt
 
SMDS_NodeIteratorPtr myNodeIt
 
const SMDS_MeshElementmyElem
 
bool myMore
 
TSubMeshSet::const_iterator mySubIt
 
TSubMeshSet::const_iterator mySubEnd
 

Member Typedef Documentation

◆ value_type [1/2]

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

◆ value_type [2/2]

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

Constructor & Destructor Documentation

◆ MyNodeIterator()

MyNodeIterator::MyNodeIterator ( const TSubMeshSet theSubMeshes)

Member Function Documentation

◆ getElements()

SMDS_NodeIteratorPtr MyNodeIterator::getElements ( const SMESHDS_SubMesh theSubMesh) const
virtual

◆ more() [1/2]

bool MyIterator< const SMDS_MeshNode * >::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_MeshNode * >::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_MeshNode * >::next ( )
virtualinherited

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

◆ next() [2/2]

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

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

◆ remove() [1/2]

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

Delete the current element and step to the next one.

◆ remove() [2/2]

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

Delete the current element and step to the next one.

Field Documentation

◆ myElem

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

◆ myElemIt [1/2]

SMDS_ElemIteratorPtr MyIterator< const SMDS_MeshNode * >::myElemIt
privateinherited

◆ myElemIt [2/2]

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

◆ myMore

bool MyIterator< const SMDS_MeshNode * >::myMore
privateinherited

◆ myNodeIt

SMDS_NodeIteratorPtr MyIterator< const SMDS_MeshNode * >::myNodeIt
privateinherited

◆ mySubEnd

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

◆ mySubIt

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

◆ myType

SMDSAbs_ElementType MyIterator< const SMDS_MeshNode * >::myType
privateinherited