Salome HOME
Addition of the 2 new unstructured mesh types.
[modules/med.git] / src / MEDCouplingCorba / MEDCoupling1DGTUMeshServant.hxx
diff --git a/src/MEDCouplingCorba/MEDCoupling1DGTUMeshServant.hxx b/src/MEDCouplingCorba/MEDCoupling1DGTUMeshServant.hxx
new file mode 100644 (file)
index 0000000..987733c
--- /dev/null
@@ -0,0 +1,46 @@
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+//
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// Author : Anthony Geay (CEA/DEN)
+
+#ifndef __MEDCOUPLING1DGTUMESHSERVANT_HXX__
+#define __MEDCOUPLING1DGTUMESHSERVANT_HXX__
+
+#include "SALOMEconfig.h"
+#ifdef WIN32
+#define NOMINMAX
+#endif
+#include CORBA_SERVER_HEADER(MEDCouplingCorbaServant)
+#include "MEDCoupling1GTUMeshServant.hxx"
+#include "MEDCouplingCorba.hxx"
+
+namespace ParaMEDMEM
+{
+  class MEDCoupling1DGTUMesh;
+
+  class MEDCOUPLINGCORBA_EXPORT MEDCoupling1DGTUMeshServant : public MEDCoupling1GTUMeshServant, public virtual POA_SALOME_MED::MEDCoupling1DGTUMeshCorbaInterface
+  {
+  public:
+    typedef MEDCoupling1DGTUMesh CppType;
+    MEDCoupling1DGTUMeshServant(const MEDCoupling1DGTUMesh *cppPointerOfMesh);
+  protected:
+    const MEDCoupling1DGTUMesh *getPointer() const { return (const MEDCoupling1DGTUMesh *)_cpp_pointer; }
+  };
+}
+
+#endif