Salome HOME
Update copyrights
[modules/med.git] / src / MEDCouplingCorba / DataArrayIntServant.hxx
index e7c9853c528f6c4470eea3b4168b8f6698db7377..73b7bd7009804efd8bdae1e0c22e8fc558a592a7 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2019  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.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -28,8 +28,9 @@
 #include CORBA_SERVER_HEADER(MEDCouplingCorbaServant)
 #include "MEDCouplingCorba.hxx"
 #include "DataArrayServant.hxx"
+#include "MCType.hxx"
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   class DataArrayInt;
 
@@ -39,10 +40,10 @@ namespace ParaMEDMEM
     typedef DataArrayInt CppType;
     DataArrayIntServant(const DataArrayInt *cppPointer);
   protected:
-    const DataArrayInt *getPointer() const { return (const DataArrayInt *)(_cpp_pointer); }
     SALOME::StringSeq *GetExportableFormats();
     CORBA::Boolean ExportDataAs(const char *format, SALOME::GenericObj_out exporter);
   public:
+    const DataArrayInt *getPointer() const { return (const DataArrayInt *)(_cpp_pointer); }
     void getTinyInfo(SALOME_TYPES::ListOfLong_out la, SALOME_TYPES::ListOfString_out sa);
     void getSerialisationData(SALOME_TYPES::ListOfLong_out da);
   };