X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FSauvUtilities.hxx;h=ea62893bfeba31cff3a14c934dab59ed4c58b189;hb=b7e277ad50223814bc479c5bd64cf12abe8fc959;hp=107552b8f6c3b42eb1a095827fc174fef445f93a;hpb=887d0e1efce4f46f68d2596dcd801f02f5c1f99e;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/SauvUtilities.hxx b/src/MEDLoader/SauvUtilities.hxx index 107552b8f..ea62893bf 100644 --- a/src/MEDLoader/SauvUtilities.hxx +++ b/src/MEDLoader/SauvUtilities.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 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,7 +110,8 @@ 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 getDirectChildrenWithNull() const { return std::vector(); } protected: std::string _fileName, _curLocale; int _iRead, _nbToRead;