Version: 6.3.1
Public Member Functions | Private Attributes

SortableElement Class Reference

Inheritance diagram for SortableElement:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

const SMDS_MeshElementmyElem

Detailed Description

Definition at line 7954 of file SMESH_MeshEditor.cxx.


Constructor & Destructor Documentation

SortableElement.SortableElement ( const SMDS_MeshElement theElem)

Definition at line 7958 of file SMESH_MeshEditor.cxx.

References SMDS_MeshElement.nodesIterator().

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

Member Function Documentation

const SMDS_MeshElement* SortableElement.Get ( ) const

Definition at line 7966 of file SMESH_MeshEditor.cxx.

  { return myElem; }
void SortableElement.Set ( const SMDS_MeshElement e) const

Definition at line 7969 of file SMESH_MeshEditor.cxx.

  { myElem = e; }

Field Documentation

const SMDS_MeshElement* SortableElement.myElem [mutable, private]

Definition at line 7974 of file SMESH_MeshEditor.cxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS