0024428: Implementation of LGPL license
[occt.git] / src / BRepFeat / BRepFeat_trace.cxx
1 // Created on: 1998-09-21
2 // Created by: LECLERE Florence
3 // Copyright (c) 1998-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and / or modify it
9 // under the terms of the GNU Lesser General Public version 2.1 as published
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifdef DEB
18
19 #include <Standard_Type.hxx>
20
21 static Standard_Boolean BRepFeat_traceFEAT = Standard_True;
22 Standard_EXPORT void BRepFeat_SettraceFEAT(const Standard_Boolean b) 
23 { BRepFeat_traceFEAT = b; }
24 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEAT() 
25 { return BRepFeat_traceFEAT; }
26
27 static Standard_Boolean BRepFeat_traceFEATFORM = Standard_False;
28 Standard_EXPORT void BRepFeat_SettraceFEATFORM(const Standard_Boolean b) 
29 { BRepFeat_traceFEATFORM = b; }
30 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATFORM() 
31 { return BRepFeat_traceFEATFORM; }
32
33 static Standard_Boolean BRepFeat_traceFEATPRISM = Standard_False;
34 Standard_EXPORT void BRepFeat_SettraceFEATPRISM(const Standard_Boolean b) 
35 { BRepFeat_traceFEATPRISM = b; }
36 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATPRISM() 
37 { return BRepFeat_traceFEATPRISM; }
38
39 static Standard_Boolean BRepFeat_traceFEATRIB = Standard_False;
40 Standard_EXPORT void BRepFeat_SettraceFEATRIB(const Standard_Boolean b) 
41 { BRepFeat_traceFEATRIB = b; }
42 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATRIB() 
43 { return BRepFeat_traceFEATRIB; }
44
45 static Standard_Boolean BRepFeat_traceFEATDRAFT = Standard_False;
46 Standard_EXPORT void BRepFeat_SettraceFEATDRAFT(const Standard_Boolean b) 
47 { BRepFeat_traceFEATDRAFT = b; }
48 Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATDRAFT() 
49 { return BRepFeat_traceFEATDRAFT; }
50
51 static Standard_Boolean BRepFeat_contextCHRONO = Standard_False;
52 Standard_EXPORT void BRepFeat_SetcontextCHRONO(const Standard_Boolean b) 
53 { BRepFeat_contextCHRONO = b; }
54 Standard_EXPORT Standard_Boolean BRepFeat_GetcontextCHRONO() {
55   Standard_Boolean b = BRepFeat_contextCHRONO;
56   if (b) cout<<"context (BRepFeat) CHRONO actif"<<endl;
57   return b;
58 }
59
60 #endif
61
62