0025418: Debug output to be limited to OCC development environment
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_reDEB.cxx
CommitLineData
b311480e 1// Created on: 1998-02-14
2// Created by: Jean Yves LEBEY
3// Copyright (c) 1998-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#include <TopOpeBRepDS_reDEB.hxx>
18#include <TopOpeBRepDS_define.hxx>
19
0797d9d3 20#ifdef OCCT_DEBUG
7fd59977 21Standard_EXPORT Standard_Boolean DSREDUEDGETRCE(const Standard_Integer EIX) {
22 Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
23 Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
24 Standard_Boolean b3 = TopOpeBRepDS_GettraceSPSX(EIX);
25 return (b1 || b2 || b3);
26}
27Standard_EXPORT void debreducerE(const Standard_Integer ie)
28{cout<<"+++ debreducerE e"<<ie<<endl;}
29Standard_EXPORT void debreducerEP(const Standard_Integer ie,const Standard_Integer ip)
30{cout<<"+++ debreducerPEI e"<<ie<<" P"<<ip<<endl;}
31Standard_EXPORT void debreducerEV(const Standard_Integer ie,const Standard_Integer iv)
32{cout<<"+++ debreducerVEI e"<<ie<<" V"<<iv<<endl;}
33Standard_EXPORT void debreducer3d(const Standard_Integer ie)
34{cout<<"+++ debreducer3d e"<<ie<<endl;}
35Standard_EXPORT void debredpvg(const Standard_Integer ie)
36{cout<<"+++ debredpvg e"<<ie<<endl;}
37#endif