Salome HOME
Fix problems with localization: prevent accidental breaking of application locale
[tools/medcoupling.git] / src / MEDLoader / SauvUtilities.hxx
index 107552b8f6c3b42eb1a095827fc174fef445f93a..2150df37bd1878b311d4d79667cab6296040e2e7 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
@@ -90,7 +90,7 @@ namespace SauvUtilities
   /*!
    * \brief Base class for ASCII and XDR file readers
    */
-  class FileReader : public ParaMEDMEM::RefCountObject
+  class FileReader : public MEDCoupling::RefCountObject
   {
   public:
     FileReader(const char* fileName);
@@ -110,9 +110,10 @@ namespace SauvUtilities
     virtual double getDouble() const = 0;
     virtual std::string getName() const = 0;
   protected:
-    std::size_t getHeapMemorySize() const { return 0; }
+    std::size_t getHeapMemorySizeWithoutChildren() const { return 0; }
+    std::vector<const BigMemoryObject *> getDirectChildrenWithNull() const { return std::vector<const BigMemoryObject *>(); }
   protected:
-    std::string _fileName, _curLocale;
+    std::string _fileName;
     int _iRead, _nbToRead;
   };
 }