Salome HOME
Introduced check functions in MEDFileUMesh:
[tools/medcoupling.git] / src / MEDLoader / MEDLoaderBase.hxx
index 9ec2093b3681cc439a724668ce6e20c9cf11a14d..5ff6cf6e818607b9ca7057fa087a01e0b341eec1 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  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
@@ -29,7 +29,7 @@
 class MEDLOADER_EXPORT MEDLoaderBase
 {
 public:
-  static int getStatusOfFile(const char *fileName);
+  static int getStatusOfFile(const std::string& fileName);
   static char *buildEmptyString(int lgth);
   static void getDirAndBaseName(const std::string& fullName, std::string& dirName, std::string& baseName);
   static std::string getPathSep();
@@ -41,7 +41,7 @@ public:
   static void safeStrCpy2(const char *src, int maxLgth, char *dest, int behaviour);
   static std::string buildStringFromFortran(const char *expr, int lgth);
   static void zipEqualConsChar(std::string& s, int minConsSmChar);
-  static std::string zipString(const char *src, int sizeToRespect);
+  static std::string zipString(const std::string& src, int sizeToRespect);
 public:
   static const int EXIST_RW=0;
   static const int NOT_EXIST=1;