Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESH_I / SMESH_topo.cxx
1 using namespace std;
2 //=============================================================================
3 // File      : SMESH_topo.cxx
4 // Created   : lun mai 13 15:17:25 CEST 2002
5 // Author    : Paul RASCLE, EDF
6 // Project   : SALOME
7 // Copyright : EDF 2002
8 // $Header$
9 //=============================================================================
10 using namespace std;
11
12 #include "SMESH_topo.hxx"
13 #include "utilities.h"
14
15 SMESH_topo::SMESH_topo()
16 {
17   MESSAGE("SMESH_topo()");
18 }
19
20 SMESH_topo::~SMESH_topo()
21 {
22   MESSAGE("~SMESH_topo()");
23 }
24
25 //=============================================================================
26 /*!
27  *  Static method, gives a unique local id for a given CORBA reference of
28  *  a shape, within the SALOME session (multi studies). 
29  *  Internal geom id or stringified CORBA reference could be used here.
30  *  GEOM Id is more efficient (shorter string).
31  */
32 //=============================================================================
33
34 string SMESH_topo::GetShapeLocalId(GEOM::GEOM_Shape_ptr aShape)
35 {
36   string str = aShape->ShapeId(); //geomId
37   MESSAGE(str);
38   return str;
39 }
40