public POA_SMESH::SMESH_Mesh
{
public:
- SMESH_Mesh_i();
SMESH_Mesh_i(SMESH_Gen_i* myGen_i,
GEOM::GEOM_Gen_ptr geomEngine,
CORBA::Long studyId,
- int localId);
+ ::SMESH_Mesh * impl);
virtual ~SMESH_Mesh_i();
CORBA::Long GetStudyId()
throw (SALOME::SALOME_Exception);
+ void Export(const char* fileName, const char* fileType)
+ throw (SALOME::SALOME_Exception);
+
// --- C++ interface
void SetImpl(::SMESH_Mesh* impl);
void SetIor(SMESH::SMESH_Mesh_ptr myIor);
SMESH::SMESH_Mesh_ptr GetIor();
- void ExportMED( const char* file )
- throw (SALOME::SALOME_Exception);
- void ExportDAT( const char* file )
- throw (SALOME::SALOME_Exception);
- void ExportUNV( const char* file )
- throw (SALOME::SALOME_Exception);
-
SALOME_MED::MESH_ptr GetMEDMesh()
throw (SALOME::SALOME_Exception);
map<int, ::SMESH_subMesh*> _mapSubMesh; //NRI
private:
-
+ SMESH::log_array_var createUpdateAllCommand(SMESH::log_array_var log, int * index);
::SMESH_Mesh* _impl; // :: force no namespace here
SMESH_Gen_i* _gen_i;
// CORBA::ORB_ptr _orb;
// SMESH_topo* _topo; // all local TopoDS_Shape of subShapes
- int _id; // id given by creator (unique within the creator instance)
GEOM::GEOM_Gen_var _geom;
- int _studyId;
- // int _localId; // id attributed to all objects created by Mesh_i
+ CORBA::Long _studyId;
map<int, SMESH::SMESH_subMesh_ptr> _mapSubMeshIor;
SMESH::SMESH_Mesh_var _myIor;
};