// Module : SMESH
// $Header$
-using namespace std;
#include "SMESH_Mesh_i.hxx"
#include "SMESH_subMesh_i.hxx"
#include "SMESH_MEDMesh_i.hxx"
#include <string>
#include <iostream>
-
-//**** SMESHDS en champ
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-SMESH_Mesh_i::SMESH_Mesh_i()
-{
- MESSAGE("SMESH_Mesh_i: default constructor, not for use");
- ASSERT(0);
-};
+using namespace std;
//=============================================================================
/*!
//=============================================================================
SMESH_Mesh_i::SMESH_Mesh_i(SMESH_Gen_i * gen_i,
- GEOM::GEOM_Gen_ptr geomEngine, CORBA::Long studyId, int localId)
+ GEOM::GEOM_Gen_ptr geomEngine, CORBA::Long studyId, ::SMESH_Mesh * impl)
{
MESSAGE("SMESH_Mesh_i");
_gen_i = gen_i;
- _id = localId;
_geom = GEOM::GEOM_Gen::_narrow(geomEngine);
- _studyId = studyId;
+ _impl=impl;
+ _studyId=studyId;
}
//=============================================================================
CORBA::Long SMESH_Mesh_i::GetId()throw(SALOME::SALOME_Exception)
{
- MESSAGE("SMESH_Mesh_i::GetId");
- return _id;
+ return _impl->GetId();
}
//=============================================================================
*/
//=============================================================================
-void SMESH_Mesh_i::SetImpl(::SMESH_Mesh * impl)
-{
- MESSAGE("SMESH_Mesh_i::SetImpl");
- _impl = impl;
-}
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
::SMESH_Mesh & SMESH_Mesh_i::GetImpl()
{
MESSAGE("SMESH_Mesh_i::GetImpl()");