0024002: Overall code and build procedure refactoring - samples
[occt.git] / samples / mfc / standard / 06_Ocaf / src / DebugBrowser.hxx
CommitLineData
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 21class TDocStd_Document;
22class DebugBrowser_Attr;
23class DebugBrowser_DFTree;
24class DebugBrowser_DFNode;
25class DebugBrowser_AttrNode;
26class DebugBrowser_LabelNode;
27class DebugBrowser_ListNode;
28class DebugBrowser_NSNode;
29class DebugBrowser_GUI;
30class DebugBrowser_DataMapOfIntegerExtString;
31class DebugBrowser_QTGUI;
32class DebugBrowser_DataMapNodeOfDataMapOfIntegerExtString;
33class 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
43class DebugBrowser {
44
45public:
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 //
65Standard_EXPORT static Standard_Integer DFBrowser(const Handle(TDocStd_Document)& theDoc) ;
66
67
68
69
70
71protected:
72
73 // Methods PROTECTED
74 //
75
76
77 // Fields PROTECTED
78 //
79
80
81private:
82
83 // Methods PRIVATE
84 //
85
86
87 // Fields PRIVATE
88 //
89
90friend class DebugBrowser_Attr;
91friend class DebugBrowser_DFTree;
92friend class DebugBrowser_DFNode;
93friend class DebugBrowser_AttrNode;
94friend class DebugBrowser_LabelNode;
95friend class DebugBrowser_ListNode;
96friend class DebugBrowser_NSNode;
97friend class DebugBrowser_GUI;
98friend class DebugBrowser_DataMapOfIntegerExtString;
99friend class DebugBrowser_QTGUI;
100friend class DebugBrowser_DataMapNodeOfDataMapOfIntegerExtString;
101friend 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