SMDS_IteratorOfElements Class Reference

#include <SMDS_IteratorOfElements.hxx>

Public Member Functions

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...
 
 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...
 
- 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...
 

Constructor & Destructor Documentation

◆ SMDS_IteratorOfElements()

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 SMDS_MeshElement::GetType().

Member Function Documentation

◆ more()

bool SMDS_IteratorOfElements::more ( )
virtual

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

Implements SMDS_Iterator< VALUE >.

References SMDS_MeshElement::elementsIterator(), and SMDS_MeshElement::GetType().

Referenced by next().

◆ next()

const SMDS_MeshElement * SMDS_IteratorOfElements::next ( )
virtual

Return the current object and step to the next one.

Implements SMDS_Iterator< VALUE >.

References more().


The documentation for this class was generated from the following files:
  • src/3rdParty/salomesmesh/inc/SMDS_IteratorOfElements.hxx
  • src/3rdParty/salomesmesh/src/SMDS/SMDS_IteratorOfElements.cpp