b311480e |
1 | // Created on: 1998-09-21 |
2 | // Created by: LECLERE Florence |
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 | |
0797d9d3 |
17 | #ifdef OCCT_DEBUG |
7fd59977 |
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; |
04232180 |
56 | if (b) std::cout<<"context (BRepFeat) CHRONO actif"<<std::endl; |
7fd59977 |
57 | return b; |
58 | } |
59 | |
60 | #endif |
61 | |
62 | |