Salome HOME
Update to match the new implementation of SMDS
[modules/smesh.git] / src / SMESH_I / SMESH_MeshEditor_i.hxx
index 44e2652a816c96d00f4d8596bd3cec12d7ec728a..0c75c7de0032a50274327fefb11572e986f8bbc4 100644 (file)
 
 #include "SMESHDS_Mesh.hxx"
 
-
-class SMESH_MeshEditor_i:
-  public POA_SMESH::SMESH_MeshEditor
+class SMESH_MeshEditor_i: public POA_SMESH::SMESH_MeshEditor
 {
-public:
-  SMESH_MeshEditor_i(const Handle(SMESHDS_Mesh)& theMesh);
+  public:
+       SMESH_MeshEditor_i(SMESHDS_Mesh * theMesh);
 
-  virtual ~SMESH_MeshEditor_i() {};
+       virtual ~ SMESH_MeshEditor_i()
+       {
+       };
 
-  // --- CORBA
-  CORBA::Boolean RemoveElements(const SMESH::long_array& IDsOfElements);
-  CORBA::Boolean RemoveNodes(const SMESH::long_array& IDsOfNodes);
+       // --- CORBA
+       CORBA::Boolean RemoveElements(const SMESH::long_array & IDsOfElements);
+       CORBA::Boolean RemoveNodes(const SMESH::long_array & IDsOfNodes);
 
-  CORBA::Boolean AddNode(CORBA::Double x,
-                        CORBA::Double y,
-                        CORBA::Double z);
-  CORBA::Boolean AddEdge(const SMESH::long_array& IDsOfNodes);
-  CORBA::Boolean AddFace(const SMESH::long_array& IDsOfNodes);
-  CORBA::Boolean AddVolume(const SMESH::long_array& IDsOfNodes);
+       CORBA::Boolean AddNode(CORBA::Double x, CORBA::Double y, CORBA::Double z);
+       CORBA::Boolean AddEdge(const SMESH::long_array & IDsOfNodes);
+       CORBA::Boolean AddFace(const SMESH::long_array & IDsOfNodes);
+       CORBA::Boolean AddVolume(const SMESH::long_array & IDsOfNodes);
 
-private:
-  SMESH::SMESH_subMesh_var _myMesh;
-  Handle (SMESHDS_Mesh) _myMeshDS;
+  private:
+       SMESH::SMESH_subMesh_var _myMesh;
+       SMESHDS_Mesh *_myMeshDS;
 };
 
 #endif
-