7fd59977 |
1 | // File generated by CPPExt (Value) |
2 | // Copyright (C) 1991,1995 by |
3 | // |
4 | // MATRA DATAVISION, FRANCE |
5 | // |
6 | // This software is furnished in accordance with the terms and conditions |
7 | // of the contract and with the inclusion of the above copyright notice. |
8 | // This software or any other copy thereof may not be provided or otherwise |
9 | // be made available to any other person. No title to an ownership of the |
10 | // software is hereby transferred. |
11 | // |
12 | // At the termination of the contract, the software and all copies of this |
13 | // software must be deleted. |
14 | |
15 | #ifndef _DebugBrowser_HeaderFile |
16 | #define _DebugBrowser_HeaderFile |
17 | |
18 | #ifndef _Standard_Integer_HeaderFile |
19 | #include <Standard_Integer.hxx> |
20 | #endif |
7fd59977 |
21 | class TDocStd_Document; |
22 | class DebugBrowser_Attr; |
23 | class DebugBrowser_DFTree; |
24 | class DebugBrowser_DFNode; |
25 | class DebugBrowser_AttrNode; |
26 | class DebugBrowser_LabelNode; |
27 | class DebugBrowser_ListNode; |
28 | class DebugBrowser_NSNode; |
29 | class DebugBrowser_GUI; |
30 | class DebugBrowser_DataMapOfIntegerExtString; |
31 | class DebugBrowser_QTGUI; |
32 | class DebugBrowser_DataMapNodeOfDataMapOfIntegerExtString; |
33 | class DebugBrowser_DataMapIteratorOfDataMapOfIntegerExtString; |
34 | |
35 | |
36 | #ifndef _Standard_HeaderFile |
37 | #include <Standard.hxx> |
38 | #endif |
39 | #ifndef _Standard_Macro_HeaderFile |
40 | #include <Standard_Macro.hxx> |
41 | #endif |
42 | |
43 | class DebugBrowser { |
44 | |
45 | public: |
46 | |
47 | inline void* operator new(size_t,void* anAddress) |
48 | { |
49 | return anAddress; |
50 | } |
51 | inline void* operator new(size_t size) |
52 | { |
53 | return Standard::Allocate(size); |
54 | } |
55 | inline void operator delete(void *anAddress) |
56 | { |
57 | if (anAddress) Standard::Free((Standard_Address&)anAddress); |
58 | } |
59 | // inline void operator delete(void *anAddress, size_t size) |
60 | // { |
61 | // if (anAddress) Standard::Free((Standard_Address&)anAddress,size); |
62 | // } |
63 | // Methods PUBLIC |
64 | // |
65 | Standard_EXPORT static Standard_Integer DFBrowser(const Handle(TDocStd_Document)& theDoc) ; |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | protected: |
72 | |
73 | // Methods PROTECTED |
74 | // |
75 | |
76 | |
77 | // Fields PROTECTED |
78 | // |
79 | |
80 | |
81 | private: |
82 | |
83 | // Methods PRIVATE |
84 | // |
85 | |
86 | |
87 | // Fields PRIVATE |
88 | // |
89 | |
90 | friend class DebugBrowser_Attr; |
91 | friend class DebugBrowser_DFTree; |
92 | friend class DebugBrowser_DFNode; |
93 | friend class DebugBrowser_AttrNode; |
94 | friend class DebugBrowser_LabelNode; |
95 | friend class DebugBrowser_ListNode; |
96 | friend class DebugBrowser_NSNode; |
97 | friend class DebugBrowser_GUI; |
98 | friend class DebugBrowser_DataMapOfIntegerExtString; |
99 | friend class DebugBrowser_QTGUI; |
100 | friend class DebugBrowser_DataMapNodeOfDataMapOfIntegerExtString; |
101 | friend class DebugBrowser_DataMapIteratorOfDataMapOfIntegerExtString; |
102 | |
103 | }; |
104 | |
105 | |
106 | |
107 | |
108 | |
109 | // other inline functions and methods (like "C++: function call" methods) |
110 | // |
111 | |
112 | |
113 | #endif |