#include <SMDS_IteratorOfElements.hxx>

Public Member Functions | |
| SMDS_IteratorOfElements (const SMDS_MeshElement *element, SMDSAbs_ElementType type, const SMDS_ElemIteratorPtr &it) | |
| Create an iterator which look for elements of type type which are linked to the element element. More... | |
| 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... | |
| virtual void | remove () |
| Delete the current element and step to the next one. More... | |
Private Member Functions | |
| bool | subMore () |
| const SMDS_MeshElement * | subNext () |
Private Attributes | |
| SMDS_ElemIteratorPtr | t1Iterator |
| SMDS_ElemIteratorPtr | t2Iterator |
| SMDSAbs_ElementType | myType |
| const SMDS_MeshElement * | myElement |
| const SMDS_MeshElement * | myProxyElement |
| bool | myReverseIteration |
| std::set< const SMDS_MeshElement * > | alreadyReturnedElements |
| std::set< const SMDS_MeshElement * >::iterator | itAlreadyReturned |
| SMDS_IteratorOfElements::SMDS_IteratorOfElements | ( | const SMDS_MeshElement * | element, |
| SMDSAbs_ElementType | type, | ||
| const SMDS_ElemIteratorPtr & | it | ||
| ) |
Create an iterator which look for elements of type type which are linked to the element element.
it is the iterator to get connectivity of element
References alreadyReturnedElements, SMDS_MeshElement::GetType(), itAlreadyReturned, myElement, myReverseIteration, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, SMDSAbs_Volume, subMore(), and subNext().
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
References alreadyReturnedElements, SMDS_MeshElement::elementsIterator(), SMDS_MeshElement::GetType(), itAlreadyReturned, myElement, myProxyElement, and myReverseIteration.
Referenced by next().
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
References more(), and myProxyElement.
|
virtualinherited |
Delete the current element and step to the next one.
|
private |
References myType, t1Iterator, and t2Iterator.
Referenced by SMDS_IteratorOfElements().
|
private |
References myType, t1Iterator, and t2Iterator.
Referenced by SMDS_IteratorOfElements().
|
private |
Referenced by more(), and SMDS_IteratorOfElements().
|
private |
Referenced by more(), and SMDS_IteratorOfElements().
|
private |
Referenced by more(), and SMDS_IteratorOfElements().
|
private |
|
private |
Referenced by more(), and SMDS_IteratorOfElements().
|
private |
|
private |
|
private |