Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK / HexDocument_asso.cxx
index 55b42db95de09e6d7195926209b5d392281330c8..262b42b4cf49dd55ee286be529fd17d7a048d907 100644 (file)
@@ -1,7 +1,7 @@
 
 // C++ : Associations dans le document
 
-// Copyright (C) 2009-2019  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
@@ -34,9 +34,9 @@ BEGIN_NAMESPACE_HEXA
 static bool db = on_debug ();  // == getenv ("HEXA_DB") > 0
 
 
-int vertexInLine (Vertex* vfirst, Edges& mline, vector<int> &tsens);
+int vertexInLine (Vertex* vfirst, Edges& mline, std::vector<int> &tsens);
 // ====================================================== vertexInLine
-int vertexInLine (Vertex* vfirst, Edges& mline, vector<int> &tsens)
+int vertexInLine (Vertex* vfirst, Edges& mline, std::vector<int> &tsens)
 {
    int nbseg = mline.size ();
 
@@ -218,10 +218,10 @@ int Document::associateOpenedLine (Edges  mline, NewShapes gline,
                                    IntVector tabid,
                                    double pstart, double pend)
 {
-   cout << "_________________________________ Asso Open Line"
-        << " ed=" << mline.size()
-        << " sh=" << tabid.size()
-        << endl;
+  std::cout << "_________________________________ Asso Open Line"
+           << " ed=" << mline.size()
+           << " sh=" << tabid.size()
+           << std::endl;
    int ier = associateLine (NULL, mline, gline, tabid, pstart, pend, false);
    return ier;
 }
@@ -236,12 +236,12 @@ int Document::associateClosedLine (Vertex* vfirst,   Edges  mline,
       return HERR;
       }
 
-   cout << "_________________________________ Asso Closed Line"
-        << " first=" << vfirst->getName()
-        << " ed=" << mline.size()
-        << " sh=" << tabid.size()
-        << " inv=" << inv
-        << endl;
+   std::cout << "_________________________________ Asso Closed Line"
+            << " first=" << vfirst->getName()
+            << " ed=" << mline.size()
+            << " sh=" << tabid.size()
+            << " inv=" << inv
+            << std::endl;
    int ier = associateLine (vfirst, mline, gline, tabid, pstart, 1.0, inv);
    PutData (ier);
    return ier;
@@ -528,8 +528,8 @@ int Document::checkAssociations ()
        if (ier != HOK) nberrors ++;
        }
 
-   cout << " ... Check edges assotiations : " << nberrors
-        << " error(s)." << endl;
+   std::cout << " ... Check edges assotiations : " << nberrors
+            << " error(s)." << std::endl;
 
    if (nberrors>0) return HERR;
       else         return HOK;