Salome HOME
Update copyrights
[modules/med.git] / src / MEDCouplingCorba / DataArrayIntServant.hxx
index 5fb91564c73789003f9f2c4f82ef4103a54236da..73b7bd7009804efd8bdae1e0c22e8fc558a592a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  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
@@ -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);
   };