Version: 8.3.0
_MySubIterator Class Reference

=================================================================== More...

Inheritance diagram for _MySubIterator:

Public Member Functions

 _MySubIterator (const SMDS_MeshVolume *vol, SMDSAbs_ElementType type)
 
virtual bool more ()
 Return true if and only if there are other object in this iterator. More...
 
virtual const SMDS_MeshElementnext ()
 Return the current object and step to the next one. More...
 
 _MySubIterator (const SMDS_MeshVolume *vol, SMDSAbs_ElementType type)
 
virtual bool more ()
 Return true if and only if there are other object in this iterator. More...
 
virtual const SMDS_MeshElementnext ()
 Return the current object and step to the next one. More...
 
 _MySubIterator (const SMDS_VolumeOfNodes *vol, SMDSAbs_ElementType type)
 
virtual bool more ()
 Return true if and only if there are other object in this iterator. More...
 
virtual 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

vector< const SMDS_MeshElement * > myElems
 
size_t myIndex
 

Detailed Description

===================================================================

Iterator on faces or edges of volume.

Iterator on faces or edges of volume===================================================================

Constructor & Destructor Documentation

_MySubIterator::_MySubIterator ( const SMDS_MeshVolume vol,
SMDSAbs_ElementType  type 
)
_MySubIterator::_MySubIterator ( const SMDS_MeshVolume vol,
SMDSAbs_ElementType  type 
)
_MySubIterator::_MySubIterator ( const SMDS_VolumeOfNodes vol,
SMDSAbs_ElementType  type 
)

Member Function Documentation

virtual bool _MySubIterator::more ( )
virtual

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

Implements SMDS_Iterator< const SMDS_MeshElement * >.

virtual bool _MySubIterator::more ( )
virtual

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

Implements SMDS_Iterator< const SMDS_MeshElement * >.

virtual bool _MySubIterator::more ( )
virtual

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

Implements SMDS_Iterator< const SMDS_MeshElement * >.

virtual const SMDS_MeshElement* _MySubIterator::next ( )
virtual

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

virtual const SMDS_MeshElement* _MySubIterator::next ( )
virtual

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

virtual const SMDS_MeshElement* _MySubIterator::next ( )
virtual

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

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

Delete the current element and step to the next one.

Field Documentation

vector< const SMDS_MeshElement * > _MySubIterator::myElems
private
size_t _MySubIterator::myIndex
private