Warnings on vc14 were eliminated
[occt.git] / src / BRepFeat / BRepFeat_trace.cxx
CommitLineData
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
21static Standard_Boolean BRepFeat_traceFEAT = Standard_True;
22Standard_EXPORT void BRepFeat_SettraceFEAT(const Standard_Boolean b)
23{ BRepFeat_traceFEAT = b; }
24Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEAT()
25{ return BRepFeat_traceFEAT; }
26
27static Standard_Boolean BRepFeat_traceFEATFORM = Standard_False;
28Standard_EXPORT void BRepFeat_SettraceFEATFORM(const Standard_Boolean b)
29{ BRepFeat_traceFEATFORM = b; }
30Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATFORM()
31{ return BRepFeat_traceFEATFORM; }
32
33static Standard_Boolean BRepFeat_traceFEATPRISM = Standard_False;
34Standard_EXPORT void BRepFeat_SettraceFEATPRISM(const Standard_Boolean b)
35{ BRepFeat_traceFEATPRISM = b; }
36Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATPRISM()
37{ return BRepFeat_traceFEATPRISM; }
38
39static Standard_Boolean BRepFeat_traceFEATRIB = Standard_False;
40Standard_EXPORT void BRepFeat_SettraceFEATRIB(const Standard_Boolean b)
41{ BRepFeat_traceFEATRIB = b; }
42Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATRIB()
43{ return BRepFeat_traceFEATRIB; }
44
45static Standard_Boolean BRepFeat_traceFEATDRAFT = Standard_False;
46Standard_EXPORT void BRepFeat_SettraceFEATDRAFT(const Standard_Boolean b)
47{ BRepFeat_traceFEATDRAFT = b; }
48Standard_EXPORT Standard_Boolean BRepFeat_GettraceFEATDRAFT()
49{ return BRepFeat_traceFEATDRAFT; }
50
51static Standard_Boolean BRepFeat_contextCHRONO = Standard_False;
52Standard_EXPORT void BRepFeat_SetcontextCHRONO(const Standard_Boolean b)
53{ BRepFeat_contextCHRONO = b; }
54Standard_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