Version: 9.12.0
MyNodeIterator Class Reference
Inheritance diagram for MyNodeIterator:

Public Types

typedef VALUE value_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...
 

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

template<typename VALUE >
typedef VALUE SMDS_Iterator< VALUE >::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< VALUE >.

◆ 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< VALUE >.

◆ 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< VALUE >.

◆ 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< VALUE >.

◆ remove()

template<typename VALUE >
virtual void SMDS_Iterator< VALUE >::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