Salome HOME
cf866a881eac0ee8a8de4c93fdb23d7a7f209bda
[modules/geom.git] / src / GEOM / GEOM_Application.hxx
1 //  File   : GEOM_Application.hxx
2 //  Module : GEOM
3
4 #ifndef _GEOM_Application_HeaderFile
5 #define _GEOM_Application_HeaderFile
6
7 #ifndef _Standard_HeaderFile
8 #include <Standard.hxx>
9 #endif
10 #ifndef _Handle_GEOM_Application_HeaderFile
11 #include <Handle_GEOM_Application.hxx>
12 #endif
13
14 #ifndef _TDocStd_Application_HeaderFile
15 #include <TDocStd_Application.hxx>
16 #endif
17 #ifndef _Standard_CString_HeaderFile
18 #include <Standard_CString.hxx>
19 #endif
20 class TColStd_SequenceOfExtendedString;
21
22
23 class GEOM_Application : public TDocStd_Application {
24
25 public:
26
27     inline void* operator new(size_t,void* anAddress) 
28       {
29         return anAddress;
30       }
31     inline void* operator new(size_t size) 
32       { 
33         return Standard::Allocate(size); 
34       }
35     inline void  operator delete(void *anAddress) 
36       { 
37         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
38       }
39 //    inline void  operator delete(void *anAddress, size_t size) 
40 //      { 
41 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
42 //      }
43  // Methods PUBLIC
44  // 
45 Standard_EXPORT GEOM_Application();
46 Standard_EXPORT virtual  void Formats(TColStd_SequenceOfExtendedString& Formats) ;
47 Standard_EXPORT Standard_CString ResourcesName() ;
48 Standard_EXPORT ~GEOM_Application();
49
50
51
52
53  // Type management
54  //
55  Standard_EXPORT friend Handle_Standard_Type& GEOM_Application_Type_();
56  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
57  Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
58
59 protected:
60
61  // Methods PROTECTED
62  // 
63
64
65  // Fields PROTECTED
66  //
67
68
69 private: 
70
71  // Methods PRIVATE
72  // 
73
74
75  // Fields PRIVATE
76  //
77
78
79 };
80
81
82
83
84
85 // other inline functions and methods (like "C++: function call" methods)
86 //
87
88
89 #endif