X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHEXABLOCK%2FHexDocument.cxx;h=806506d369b9405fae823a20a43c25be6af1462d;hb=b807e66955ae476b30f59bc29f1fe6c813837063;hp=e55c9c6b10f10ae40533b085572f0048a63fcc7a;hpb=0ebe741f3ee8a69f147a5c02b41f33d3f3f02e0f;p=modules%2Fhexablock.git diff --git a/src/HEXABLOCK/HexDocument.cxx b/src/HEXABLOCK/HexDocument.cxx index e55c9c6..806506d 100644 --- a/src/HEXABLOCK/HexDocument.cxx +++ b/src/HEXABLOCK/HexDocument.cxx @@ -1,7 +1,7 @@ // C++ : La clase principale de Hexa -// Copyright (C) 2009-2019 CEA/DEN, EDF R&D +// Copyright (C) 2009-2022 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 @@ -676,13 +676,13 @@ int Document::mergeVertices (Vertex* vpar, Vertex* vold) return ier; } - map rep_quad; - map rep_edge; - map rep_vertex; + std::map rep_quad; + std::map rep_edge; + std::map rep_vertex; - map :: iterator itq; - map :: iterator ited; - map :: iterator itv; + std::map :: iterator itq; + std::map :: iterator ited; + std::map :: iterator itv; rep_vertex [vold] = vpar; int nbparv = vold->getNbrParents (); @@ -726,9 +726,9 @@ int Document::mergeVertices (Vertex* vpar, Vertex* vold) } } - cout << " +++ Intersection : veq = " << rep_vertex.size() - << " " << rep_edge.size() << " " << rep_quad.size() - << endl; + std::cout << " +++ Intersection : veq = " << rep_vertex.size() + << " " << rep_edge.size() << " " << rep_quad.size() + << std::endl; for (itq=rep_quad.begin(); itq!=rep_quad.end() ; ++itq) { @@ -875,7 +875,7 @@ Law* Document::findLaw (const char* name) { DumpStart ("findLaw", name); - string nom = name; + std::string nom = name; Law* loi = NULL; for (int nro=0 ;loi==NULL && nromakeName (prefix, name); el_name = name; @@ -1124,7 +1124,7 @@ bool Document::isEmpty () return nombre <= 0 && countLaw () <= 1; } // ======================================================== getNextName -cpchar Document::getNextName (EnumElt type, string& buff) +cpchar Document::getNextName (EnumElt type, std::string& buff) { char name [8]; EltBase::makeName (type, doc_nbr_elt [type], name); @@ -1134,12 +1134,12 @@ cpchar Document::getNextName (EnumElt type, string& buff) } // ======================================================== getNextName -string Document::getNextName (EnumElt type) +std::string Document::getNextName (EnumElt type) { char name [8]; EltBase::makeName (type, doc_nbr_elt [type], name); - return string(name); + return std::string(name); } // ======================================================== lockDump