// 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
if (fic_dump==NULL)
fic_dump = stdout;
- string buff;
+ std::string buff;
cpchar when = get_time (buff);
fprintf (fic_dump, "\n");
if (NOT is_open)
return *this;
- string valeur ("'");
+ std::string valeur ("'");
valeur += val;
valeur += "'";
is_open = false;
}
// =================================================== getBegin
-void DumpStudy::getBegin (string& begin)
+void DumpStudy::getBegin (std::string& begin)
{
begin = right_part;
begin += ")";
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