2 //=============================================================================
3 // File : SMESH_topo.cxx
4 // Created : lun mai 13 15:17:25 CEST 2002
5 // Author : Paul RASCLE, EDF
7 // Copyright : EDF 2002
9 //=============================================================================
12 #include "SMESH_topo.hxx"
13 #include "utilities.h"
15 SMESH_topo::SMESH_topo()
17 MESSAGE("SMESH_topo()");
20 SMESH_topo::~SMESH_topo()
22 MESSAGE("~SMESH_topo()");
25 //=============================================================================
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).
32 //=============================================================================
34 string SMESH_topo::GetShapeLocalId(GEOM::GEOM_Shape_ptr aShape)
36 string str = aShape->ShapeId(); //geomId