Back to index

salome-smesh  6.5.0
Public Member Functions | Public Attributes | Private Attributes
SortableElement Class Reference
Inheritance diagram for SortableElement:
Inheritance graph
Collaboration diagram for SortableElement:
Collaboration graph

List of all members.

Public Member Functions

 SortableElement (const SMDS_MeshElement *theElem)
const SMDS_MeshElement * Get () const
void Set (const SMDS_MeshElement *e) const

Public Attributes

 STL member.

Private Attributes

const SMDS_MeshElement * myElem

Detailed Description

Definition at line 7721 of file SMESH_MeshEditor.cxx.

Constructor & Destructor Documentation

SortableElement::SortableElement ( const SMDS_MeshElement *  theElem) [inline]

Definition at line 7725 of file SMESH_MeshEditor.cxx.

    myElem = theElem;
    SMDS_ElemIteratorPtr nodeIt = theElem->nodesIterator();
    while ( nodeIt->more() )
      this->insert( nodeIt->next() );

Member Function Documentation

const SMDS_MeshElement* SortableElement::Get ( ) const [inline]

Definition at line 7733 of file SMESH_MeshEditor.cxx.

  { return myElem; }
void SortableElement::Set ( const SMDS_MeshElement *  e) const [inline]

Definition at line 7736 of file SMESH_MeshEditor.cxx.

  { myElem = e; }

Member Data Documentation

template<typename K>
K std::set< K >::keys [inherited]

STL member.

const SMDS_MeshElement* SortableElement::myElem [mutable, private]

Definition at line 7741 of file SMESH_MeshEditor.cxx.

The documentation for this class was generated from the following file: