Version: 8.3.0
SMDS_VolumeOfFaces_MyIterator Class Reference
Inheritance diagram for SMDS_VolumeOfFaces_MyIterator:

Public Member Functions

 SMDS_VolumeOfFaces_MyIterator (const SMDS_MeshFace *const *s, int l)
 
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...
 
virtual void remove ()
 Delete the current element and step to the next one. More...
 

Private Attributes

const SMDS_MeshFace *const * mySet
 
int myLength
 
int index
 

Constructor & Destructor Documentation

SMDS_VolumeOfFaces_MyIterator::SMDS_VolumeOfFaces_MyIterator ( const SMDS_MeshFace *const *  s,
int  l 
)

Member Function Documentation

bool SMDS_VolumeOfFaces_MyIterator::more ( )
virtual

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

Implements SMDS_Iterator< const SMDS_MeshElement * >.

const SMDS_MeshElement* SMDS_VolumeOfFaces_MyIterator::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

int SMDS_VolumeOfFaces_MyIterator::index
private
int SMDS_VolumeOfFaces_MyIterator::myLength
private
const SMDS_MeshFace* const* SMDS_VolumeOfFaces_MyIterator::mySet
private