X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_MeshEditor_i.hxx;h=0c75c7de0032a50274327fefb11572e986f8bbc4;hp=608677b3085c5043195377d8c3b5addaac5cce4b;hb=5eead45cedf2e8ee9d3d376ee977dcdb293558b0;hpb=26dabc480d24eb0f05427661547c8523e8eadc24 diff --git a/src/SMESH_I/SMESH_MeshEditor_i.hxx b/src/SMESH_I/SMESH_MeshEditor_i.hxx index 608677b30..0c75c7de0 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.hxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.hxx @@ -1,10 +1,29 @@ -// File : SMESH_MeshEditor_i.hxx -// Created : Wed Jun 19 18:43:16 2002 -// Author : Nicolas REJNERI - -// Project : SALOME -// Module : SMESH -// Copyright : Open CASCADE 2002 +// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses +// +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SMESH_MeshEditor_i.hxx +// Author : Nicolas REJNERI +// Module : SMESH // $Header$ #ifndef _SMESH_MESHEDITOR_I_HXX_ @@ -15,30 +34,27 @@ #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 -