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:
@@ -32,14 +32,14 @@ static Standard_GUID StdSchemaID ("ad696002-5b34-11d1-b5ba-00a0c9064368
|
||||
Handle(Standard_Transient) StdDrivers::Factory(const Standard_GUID& aGUID) {
|
||||
|
||||
if(aGUID == StdSchemaID) {
|
||||
#ifdef STDDRIVERS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "StdSchema : Plugin" << endl;
|
||||
#endif
|
||||
static Handle(StdLSchema) model_ss = new StdLSchema;
|
||||
static Standard_Boolean aNeedNested = Standard_True;
|
||||
if(aNeedNested) {
|
||||
aNeedNested = Standard_False;
|
||||
#ifdef STDDRIVERS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "StdSchema: Adding nested schema" << endl;
|
||||
#endif
|
||||
Handle(StdSchema) aSchema = new StdSchema;
|
||||
@@ -53,14 +53,14 @@ Handle(Standard_Transient) StdDrivers::Factory(const Standard_GUID& aGUID) {
|
||||
}
|
||||
|
||||
if(aGUID == StdStorageDriver) {
|
||||
#ifdef STDDRIVERS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "StdDrivers : Storage Plugin" << endl;
|
||||
#endif
|
||||
static Handle(StdDrivers_DocumentStorageDriver) model_sd = new StdDrivers_DocumentStorageDriver;
|
||||
return model_sd;
|
||||
}
|
||||
if(aGUID == StdRetrievalDriver) {
|
||||
#ifdef STDDRIVERS_DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "StdDrivers : Retrieval Plugin" << endl;
|
||||
#endif
|
||||
static Handle(StdDrivers_DocumentRetrievalDriver) model_rd = new StdDrivers_DocumentRetrievalDriver;
|
||||
|
Reference in New Issue
Block a user