Integration of OCCT 6.5.0 from SVN
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_trace.cxx
CommitLineData
7fd59977 1// File: TopOpeBRepDS_trace.cxx
2// Created: Fri Mar 18 18:20:30 1994
3// Author: Jean Yves LEBEY
4// <jyl@phobox>
5
6#ifdef DEB
7
8#include <Standard_Type.hxx>
9
10static Standard_Boolean TopOpeBRepDS_traceBUTO = Standard_False;
11Standard_EXPORT void TopOpeBRepDS_SettraceBUTO(const Standard_Boolean b)
12{ TopOpeBRepDS_traceBUTO = b; }
13Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceBUTO()
14{ return TopOpeBRepDS_traceBUTO; }
15
16static Standard_Boolean TopOpeBRepDS_traceTRPE = Standard_False;
17Standard_EXPORT void TopOpeBRepDS_SettraceTRPE(const Standard_Boolean b)
18{ TopOpeBRepDS_traceTRPE = b; }
19Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceTRPE()
20{ return TopOpeBRepDS_traceTRPE; }
21
22static Standard_Boolean TopOpeBRepDS_traceEDPR = Standard_False;
23Standard_EXPORT void TopOpeBRepDS_SettraceEDPR(const Standard_Boolean b)
24{ TopOpeBRepDS_traceEDPR = b; }
25Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceEDPR()
26{ return TopOpeBRepDS_traceEDPR; }
27
28static Standard_Boolean TopOpeBRepDS_traceISTO = Standard_False;
29Standard_EXPORT void TopOpeBRepDS_SettraceISTO(const Standard_Boolean b)
30{ TopOpeBRepDS_traceISTO = b; }
31Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceISTO()
32{ return TopOpeBRepDS_traceISTO; }
33
34static Standard_Boolean TopOpeBRepDS_traceSANTRAN = Standard_False;
35Standard_EXPORT void TopOpeBRepDS_SettraceSANTRAN(const Standard_Boolean b)
36{ TopOpeBRepDS_traceSANTRAN = b; }
37Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSANTRAN()
38{ return TopOpeBRepDS_traceSANTRAN; }
39
40static Standard_Boolean TopOpeBRepDS_contextNOPFI = Standard_False;
41Standard_EXPORT void TopOpeBRepDS_SetcontextNOPFI(const Standard_Boolean b)
42{ TopOpeBRepDS_contextNOPFI = b; }
43Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPFI()
44{ return TopOpeBRepDS_contextNOPFI; }
45
46static Standard_Boolean TopOpeBRepDS_contextMKTONREG = Standard_False;
47Standard_EXPORT void TopOpeBRepDS_SetcontextMKTONREG(const Standard_Boolean b)
48{ TopOpeBRepDS_contextMKTONREG = b; }
49Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextMKTONREG()
50{ return TopOpeBRepDS_contextMKTONREG; }
51
52static Standard_Boolean TopOpeBRepDS_contextNOPNC = Standard_False;
53Standard_EXPORT void TopOpeBRepDS_SetcontextNOPNC(const Standard_Boolean b)
54{ TopOpeBRepDS_contextNOPNC = b; }
55Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPNC()
56{ return TopOpeBRepDS_contextNOPNC; }
57
58static Standard_Boolean TopOpeBRepDS_traceDSNC = Standard_False;
59Standard_EXPORT void TopOpeBRepDS_SettraceDSNC(const Standard_Boolean b)
60{ TopOpeBRepDS_traceDSNC = b; }
61Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC()
62{ return TopOpeBRepDS_traceDSNC; }
63
64static Standard_Boolean TopOpeBRepDS_traceDSF = Standard_False;
65Standard_EXPORT void TopOpeBRepDS_SettraceDSF(const Standard_Boolean b)
66{ TopOpeBRepDS_traceDSF = b; }
67Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF()
68{ return TopOpeBRepDS_traceDSF; }
69
70static Standard_Boolean TopOpeBRepDS_traceDSP = Standard_False;
71Standard_EXPORT void TopOpeBRepDS_SettraceDSP(const Standard_Boolean b)
72{ TopOpeBRepDS_traceDSP = b; }
73Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSP()
74{ return TopOpeBRepDS_traceDSP; }
75
76static Standard_Boolean TopOpeBRepDS_traceEDSF = Standard_False;
77Standard_EXPORT void TopOpeBRepDS_SettraceEDSF(const Standard_Boolean b)
78{ TopOpeBRepDS_traceEDSF = b; }
79Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF()
80{ return TopOpeBRepDS_traceEDSF; }
81
82static Standard_Boolean TopOpeBRepDS_traceDSFD = Standard_False;
83Standard_EXPORT void TopOpeBRepDS_SettraceDSFD(const Standard_Boolean b)
84{ TopOpeBRepDS_traceDSFD = b; }
85Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSFD()
86{ return TopOpeBRepDS_traceDSFD; }
87
88static Standard_Boolean TopOpeBRepDS_traceDSFK = Standard_False;
89Standard_EXPORT void TopOpeBRepDS_SettraceDSFK(const Standard_Boolean b) { TopOpeBRepDS_traceDSFK = b; }
90Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK() { return TopOpeBRepDS_traceDSFK; }
91
92static Standard_Boolean TopOpeBRepDS_traceDSLT = Standard_False;
93Standard_EXPORT void TopOpeBRepDS_SettraceDSLT(const Standard_Boolean b) { TopOpeBRepDS_traceDSLT = b; }
94Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSLT() { return TopOpeBRepDS_traceDSLT; }
95
96static Standard_Boolean TopOpeBRepDS_traceDEGEN = Standard_False;
97Standard_EXPORT void TopOpeBRepDS_SettraceDEGEN(const Standard_Boolean b)
98{ TopOpeBRepDS_traceDEGEN = b; }
99Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN()
100{ return TopOpeBRepDS_traceDEGEN; }
101
102static Standard_Boolean TopOpeBRepDS_tracePCI = Standard_False;
103Standard_EXPORT void TopOpeBRepDS_SettracePCI(const Standard_Boolean b) { TopOpeBRepDS_tracePCI = b; }
104Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePCI() { return TopOpeBRepDS_tracePCI; }
105
106static Standard_Boolean TopOpeBRepDS_tracePEI = Standard_False;
107Standard_EXPORT void TopOpeBRepDS_SettracePEI(const Standard_Boolean b) { TopOpeBRepDS_tracePEI = b; }
108Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePEI() { return TopOpeBRepDS_tracePEI; }
109
110static Standard_Boolean TopOpeBRepDS_tracePFI = Standard_False;
111Standard_EXPORT void TopOpeBRepDS_SettracePFI(const Standard_Boolean b) { TopOpeBRepDS_tracePFI = b; }
112Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI() { return TopOpeBRepDS_tracePFI; }
113
114static Standard_Boolean TopOpeBRepDS_tracePI = Standard_False;
115Standard_EXPORT void TopOpeBRepDS_SettracePI(const Standard_Boolean b) { TopOpeBRepDS_tracePI = b; }
116Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI() { return TopOpeBRepDS_tracePI; }
117
118static Standard_Boolean TopOpeBRepDS_traceSTRANGE = Standard_False;
119Standard_EXPORT void TopOpeBRepDS_SettraceSTRANGE(const Standard_Boolean b) {TopOpeBRepDS_traceSTRANGE = b; }
120Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE() { return TopOpeBRepDS_traceSTRANGE; }
121
122static Standard_Boolean TopOpeBRepDS_traceGap = Standard_False;
123Standard_EXPORT void TopOpeBRepDS_SettraceGAP(const Standard_Boolean b) {TopOpeBRepDS_traceGap = b; }
124Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceGAP() { return TopOpeBRepDS_traceGap; }
125
126static Standard_Boolean TopOpeBRepDS_contextNOGAP = Standard_False;
127Standard_EXPORT void TopOpeBRepDS_SetcontextNOGAP(const Standard_Boolean b) {TopOpeBRepDS_contextNOGAP = b; }
128Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOGAP(char* str) {
129 if (TopOpeBRepDS_contextNOGAP) {
130 cout<<"context NOGAP actif"; if (str!=NULL) cout<<str; cout<<endl;
131 }
132 return TopOpeBRepDS_contextNOGAP;
133}
134Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOGAP() {
135 if (TopOpeBRepDS_contextNOGAP) cout<<"context NOGAP actif"<<endl;
136 return TopOpeBRepDS_contextNOGAP;
137}
138
139
140// #ifdef DEB
141#endif