
Public Types | |
| typedef const SMDS_MeshElement * | value_type |
| typedef VALUE | value_type |
Public Member Functions | |
| MyIterator (SMDSAbs_ElementType type, const SMESHDS_SubMesh *subMesh) | |
| 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... | |
| MyIterator (const TSubMeshSet &theSubMeshes) | |
| bool | more () |
| Return true if and only if there are other object in this iterator. More... | |
| VALUE | next () |
| 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... | |
Protected Member Functions | |
| virtual boost::shared_ptr< SMDS_Iterator< VALUE > > | getElements (const SMESHDS_SubMesh *) const =0 |
Private Attributes | |
| SMDSAbs_ElementType | myType |
| SMDS_ElemIteratorPtr | myElemIt |
| SMDS_NodeIteratorPtr | myNodeIt |
| const SMDS_MeshElement * | myElem |
| bool | myMore |
| TSubMeshSet::const_iterator | mySubIt |
| TSubMeshSet::const_iterator | mySubEnd |
| boost::shared_ptr< SMDS_Iterator< VALUE > > | myElemIt |
|
inherited |
|
inherited |
| MyIterator< VALUE >::MyIterator | ( | SMDSAbs_ElementType | type, |
| const SMESHDS_SubMesh * | subMesh | ||
| ) |
| MyIterator< VALUE >::MyIterator | ( | const TSubMeshSet & | theSubMeshes | ) |
|
protectedpure virtual |
Implemented in MyElemIterator, and MyNodeIterator.
Referenced by MyIterator< VALUE >::more().
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
References MyIterator< VALUE >::myElem, MyIterator< VALUE >::myNodeIt, MyIterator< VALUE >::myType, and SMDSAbs_Node.
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
References MyIterator< VALUE >::getElements(), MyIterator< VALUE >::myElemIt, MyIterator< VALUE >::myMore, MyIterator< VALUE >::mySubEnd, and MyIterator< VALUE >::mySubIt.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
References SMDS_MeshNode::GetInverseElementIterator(), SMDS_MeshElement::GetType(), MyIterator< VALUE >::myElem, MyIterator< VALUE >::myElemIt, MyIterator< VALUE >::myNodeIt, MyIterator< VALUE >::myType, and SMDSAbs_Node.
Referenced by MyIterator< VALUE >::MyIterator().
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
References MyIterator< VALUE >::myElemIt, and MyIterator< VALUE >::myMore.
|
virtualinherited |
Delete the current element and step to the next one.
|
virtualinherited |
Delete the current element and step to the next one.
|
private |
Referenced by MyIterator< VALUE >::more(), and MyIterator< VALUE >::next().
|
private |
Referenced by MyIterator< VALUE >::more(), MyIterator< VALUE >::MyIterator(), and MyIterator< VALUE >::next().
|
private |
|
private |
Referenced by MyIterator< VALUE >::more(), and MyIterator< VALUE >::next().
|
private |
Referenced by MyIterator< VALUE >::more(), MyIterator< VALUE >::MyIterator(), and MyIterator< VALUE >::next().
|
private |
Referenced by MyIterator< VALUE >::more().
|
private |
Referenced by MyIterator< VALUE >::more().
|
private |
Referenced by MyIterator< VALUE >::more(), MyIterator< VALUE >::MyIterator(), and MyIterator< VALUE >::next().