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 set< const SMESHDS_SubMesh * > &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 |
set< const SMESHDS_SubMesh * > ::const_iterator | mySubIt |
set< const SMESHDS_SubMesh * > ::const_iterator | mySubEnd |
boost::shared_ptr < SMDS_Iterator< VALUE > > | myElemIt |
MyIterator< VALUE >::MyIterator | ( | SMDSAbs_ElementType | type, |
const SMESHDS_SubMesh * | subMesh | ||
) |
MyIterator< VALUE >::MyIterator | ( | const set< const SMESHDS_SubMesh * > & | theSubMeshes | ) |
|
protectedpure virtual |
Implemented in MyNodeIterator, and MyElemIterator.
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
Referenced by MyIterator< const SMDS_MeshNode * >::MyIterator().
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
|
virtualinherited |
Delete the current element and step to the next one.
|
virtualinherited |
Delete the current element and step to the next one.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |