SMDS_MeshElement_MyIterator Class Reference
Create an iterator which iterate on elements linked with the current element. More...
Public Member Functions | |
bool | more () |
Return true if and only if there are other object in this iterator. More... | |
const SMDS_MeshElement * | next () |
Return the current object and step to the next one. More... | |
SMDS_MeshElement_MyIterator (const SMDS_MeshElement *element) | |
Public Member Functions inherited from SMDS_Iterator< VALUE > | |
virtual void | remove () |
Delete the current element and step to the next one. More... | |
virtual | ~SMDS_Iterator () |
Provide virtual destructor just for case if some derived iterator must have a destructor. More... | |
Detailed Description
Create an iterator which iterate on elements linked with the current element.
- Parameters
-
type The of elements on which you want to iterate
- Returns
- A smart pointer to iterator, you are not to take care of freeing memory
Constructor & Destructor Documentation
◆ SMDS_MeshElement_MyIterator()
SMDS_MeshElement_MyIterator::SMDS_MeshElement_MyIterator | ( | const SMDS_MeshElement * | element | ) |
Member Function Documentation
◆ more()
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
◆ next()
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
The documentation for this class was generated from the following file:
- src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshElement.cpp