Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK / HexDumpStudy.cxx
old mode 100755 (executable)
new mode 100644 (file)
index d13effe..49e1073
@@ -1,12 +1,12 @@
 
 // C++ : Dump python
 
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // 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
@@ -49,7 +49,7 @@ DumpStudy::DumpStudy ()
    if (fic_dump==NULL)
        fic_dump = stdout;
 
-   string buff;
+   std::string buff;
    cpchar when = get_time (buff);
 
    fprintf (fic_dump, "\n");
@@ -117,7 +117,7 @@ DumpStudy& DumpStudy::operator << (cpchar val)
    if (NOT is_open)
       return *this; 
 
-   string valeur ("'");
+   std::string valeur ("'");
    valeur += val;
    valeur += "'";
 
@@ -270,7 +270,7 @@ void DumpStudy::restore (bool reactive)
       is_open = false;
 }
 // =================================================== getBegin 
-void DumpStudy::getBegin (string& begin)
+void DumpStudy::getBegin (std::string& begin)
 {
    begin  = right_part;
    begin += ")";
@@ -351,7 +351,7 @@ void DumpStudy::closeVector ()
 cpchar DumpStudy::findName (EltBase* elt)
 {
    cpchar name = "Unknown";
-   map <EltBase*, string> :: iterator iter = map_name.find (elt);
+   std::map <EltBase*, std::string> :: iterator iter = map_name.find (elt);
    if (iter != map_name.end())
       name = iter->second.c_str();
    else