0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
[occt.git] / src / DDF / DDF.cxx
index d57b0c2..90ba1cc 100644 (file)
@@ -61,7 +61,7 @@ Standard_Boolean DDF::FindLabel (const Handle(TDF_Data)& DF,
 {
   Label.Nullify();
   TDF_Tool::Label(DF,Entry,Label,Standard_False);
-  if (Label.IsNull() && Complain) cout << "No label for entry " << Entry <<endl;
+  if (Label.IsNull() && Complain) std::cout << "No label for entry " << Entry <<std::endl;
   return !Label.IsNull();
 }
 
@@ -82,7 +82,7 @@ Standard_Boolean DDF::GetDF (Standard_CString&       Name,
     DF = DDF->DataFramework(); 
     return Standard_True;
   } 
-  if (Complain) cout <<"framework "<<Name<<" not found "<< endl; 
+  if (Complain) std::cout <<"framework "<<Name<<" not found "<< std::endl; 
   return Standard_False;
 }
 
@@ -101,7 +101,7 @@ Standard_Boolean DDF::Find (const Handle(TDF_Data)& DF,
   TDF_Label L;
   if (FindLabel(DF,Entry,L,Complain)) {
     if (L.FindAttribute(ID,A)) return Standard_True;
-    if (Complain) cout <<"attribute not found for entry : "<< Entry <<endl; 
+    if (Complain) std::cout <<"attribute not found for entry : "<< Entry <<std::endl; 
   }
   return Standard_False;   
 }