mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
"endl" manipulator for Message_Messenger is renamed to "Message_EndLine". The following entities from std namespace are now used with std:: explicitly specified (from Standard_Stream.hxx): std::istream,std::ostream,std::ofstream,std::ifstream,std::fstream, std::filebuf,std::streambuf,std::streampos,std::ios,std::cout,std::cerr, std::cin,std::endl,std::ends,std::flush,std::setw,std::setprecision, std::hex,std::dec.
This commit is contained in:
@@ -61,7 +61,7 @@ void StepShape_OrientedClosedShell::SetCfsFaces(const Handle(StepShape_HArray1Of
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
cout << "Field is redefined, SetUp Forbidden" << endl;
|
||||
std::cout << "Field is redefined, SetUp Forbidden" << std::endl;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfFace) StepShape_OrientedClosedShell::CfsFaces() const
|
||||
|
@@ -64,7 +64,7 @@ void StepShape_OrientedEdge::SetEdgeStart(const Handle(StepShape_Vertex)& /*aEdg
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
cout << "Field is redefined, SetUp Forbidden" << endl;
|
||||
std::cout << "Field is redefined, SetUp Forbidden" << std::endl;
|
||||
}
|
||||
|
||||
Handle(StepShape_Vertex) StepShape_OrientedEdge::EdgeStart() const
|
||||
@@ -85,7 +85,7 @@ void StepShape_OrientedEdge::SetEdgeEnd(const Handle(StepShape_Vertex)& /*aEdgeE
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
cout << "Field is redefined, SetUp Forbidden" << endl;
|
||||
std::cout << "Field is redefined, SetUp Forbidden" << std::endl;
|
||||
}
|
||||
|
||||
Handle(StepShape_Vertex) StepShape_OrientedEdge::EdgeEnd() const
|
||||
|
@@ -61,7 +61,7 @@ void StepShape_OrientedFace::SetBounds(const Handle(StepShape_HArray1OfFaceBound
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
cout << "Field is redefined, SetUp Forbidden" << endl;
|
||||
std::cout << "Field is redefined, SetUp Forbidden" << std::endl;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfFaceBound) StepShape_OrientedFace::Bounds() const
|
||||
|
@@ -61,7 +61,7 @@ void StepShape_OrientedOpenShell::SetCfsFaces(const Handle(StepShape_HArray1OfFa
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
cout << "Field is redefined, SetUp Forbidden" << endl;
|
||||
std::cout << "Field is redefined, SetUp Forbidden" << std::endl;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfFace) StepShape_OrientedOpenShell::CfsFaces() const
|
||||
|
@@ -61,7 +61,7 @@ void StepShape_OrientedPath::SetEdgeList(const Handle(StepShape_HArray1OfOriente
|
||||
{
|
||||
// WARNING : the field is redefined.
|
||||
// field set up forbidden.
|
||||
cout << "Field is redefined, SetUp Forbidden" << endl;
|
||||
std::cout << "Field is redefined, SetUp Forbidden" << std::endl;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfOrientedEdge) StepShape_OrientedPath::EdgeList() const
|
||||
|
Reference in New Issue
Block a user