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:
@@ -223,7 +223,7 @@ void Interface_FileReaderData::BindEntity
|
||||
(const Standard_Integer num, const Handle(Standard_Transient)& ent)
|
||||
// { theents.SetValue(num,ent); }
|
||||
{
|
||||
// #ifdef DEB
|
||||
// #ifdef OCCT_DEBUG
|
||||
// if (ent.IsImmutable())
|
||||
// cout << "Bind IMMUTABLE:"<<num<<endl;
|
||||
// #endif
|
||||
|
@@ -301,7 +301,7 @@ Standard_CString Interface_Static::CVal (const Standard_CString name)
|
||||
{
|
||||
Handle(Interface_Static) item = Interface_Static::Static(name);
|
||||
if (item.IsNull()) {
|
||||
#ifdef INTERFACE_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Warning: Interface_Static::CVal: incorrect parameter " << name << endl;
|
||||
#endif
|
||||
return "";
|
||||
@@ -314,7 +314,7 @@ Standard_Integer Interface_Static::IVal (const Standard_CString name)
|
||||
{
|
||||
Handle(Interface_Static) item = Interface_Static::Static(name);
|
||||
if (item.IsNull()) {
|
||||
#ifdef INTERFACE_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Warning: Interface_Static::IVal: incorrect parameter " << name << endl;
|
||||
#endif
|
||||
return 0;
|
||||
@@ -327,7 +327,7 @@ Standard_Real Interface_Static::RVal (const Standard_CString name)
|
||||
{
|
||||
Handle(Interface_Static) item = Interface_Static::Static(name);
|
||||
if (item.IsNull()) {
|
||||
#ifdef INTERFACE_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Warning: Interface_Static::RVal: incorrect parameter " << name << endl;
|
||||
#endif
|
||||
return 0.0;
|
||||
|
Reference in New Issue
Block a user