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:
@@ -36,18 +36,18 @@ IFGraph_StrongComponants::IFGraph_StrongComponants
|
||||
GetFromEntity (G.Entity(i),Standard_False);
|
||||
}
|
||||
#else
|
||||
#ifdef PRINTDEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout<<"StrongComponants :"<<endl;
|
||||
#endif
|
||||
for (IFGraph_SortedStrongs res(G); res.More(); res.Next()) {
|
||||
Standard_Integer nb = res.NbVertices();
|
||||
#ifdef PRINTDEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout<<" Iteration, Vertices:"<<nb<<" :";
|
||||
#endif
|
||||
if (nb == 0) continue;
|
||||
AddPart();
|
||||
for (Standard_Integer i = 1; i <= nb; i ++)
|
||||
#ifdef PRINTDEB
|
||||
#ifdef OCCT_DEBUG
|
||||
{
|
||||
Handle(Standard_Transient) oneres = res.Value(i);
|
||||
cout<<" "<<G.EntityNumber(oneres);
|
||||
|
Reference in New Issue
Block a user