1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0025418: Debug output to be limited to OCC development environment

Macros ending on "DEB" are replaced by OCCT_DEBUG across OCCT code; new macros described in documentation.
Macros starting with DEB are changed to start with "OCCT_DEBUG_".
Some code cleaned.
This commit is contained in:
abv
2014-10-28 12:41:04 +03:00
committed by bugmaster
parent a507ffd9d7
commit 0797d9d30a
700 changed files with 3932 additions and 4250 deletions

View File

@@ -232,7 +232,7 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
HLRBRep_EdgeIList::AddInterference(ILHidden,Int,EIT);
ILOn.Remove(It); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "UNKNOWN state staft" << endl;
#endif
case TopAbs_ON :
@@ -246,7 +246,7 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
HLRBRep_EdgeIList::AddInterference(ILHidden,Int,EIT);
ILOn.Remove(It); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "UNKNOWN state stbef" << endl;
#endif
case TopAbs_ON :
@@ -276,7 +276,7 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
HLRBRep_EdgeIList::AddInterference(ILHidden,Int,EIT);
ILOn.Remove(It); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "UNKNOWN state after" << endl;
#endif
It.Next(); break;
@@ -296,7 +296,7 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
case TopAbs_OUT :
Int.Transition(TopAbs_REVERSED); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "UNKNOWN state after" << endl;
#endif
break;
@@ -314,13 +314,13 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
case TopAbs_OUT :
ILOn.Remove(It); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "UNKNOWN state after" << endl;
#endif
It.Next(); break;
} break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "UNKNOWN state stbef" << endl;
#endif
break;
@@ -610,7 +610,7 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
}
catch(Standard_Failure) {
#ifdef HLRBREP_DEB
#ifdef OCCT_DEBUG
cout << "An exception was catched when hiding edge " << E;
cout << " by the face " << FI << endl;
Handle(Standard_Failure) fail = Standard_Failure::Caught();