1 // File : SALOMEDS_OCAFApplication.hxx
2 // Created : Thu Nov 29 21:05:19 2001
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2001
10 #ifndef _SALOMEDS_OCAFApplication_HeaderFile
11 #define _SALOMEDS_OCAFApplication_HeaderFile
13 #ifndef _Standard_HeaderFile
14 #include <Standard.hxx>
16 #ifndef _Handle_SALOMEDS_OCAFApplication_HeaderFile
17 #include "Handle_SALOMEDS_OCAFApplication.hxx"
20 #ifndef _TDocStd_Application_HeaderFile
21 #include <TDocStd_Application.hxx>
23 #ifndef _Standard_CString_HeaderFile
24 #include <Standard_CString.hxx>
26 class TColStd_SequenceOfExtendedString;
29 class SALOMEDS_OCAFApplication : public TDocStd_Application {
33 inline void* operator new(size_t,void* anAddress)
37 inline void* operator new(size_t size)
39 return Standard::Allocate(size);
41 inline void operator delete(void *anAddress)
43 if (anAddress) Standard::Free((Standard_Address&)anAddress);
45 // inline void operator delete(void *anAddress, size_t size)
47 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
51 Standard_EXPORT SALOMEDS_OCAFApplication();
52 Standard_EXPORT virtual void Formats(TColStd_SequenceOfExtendedString& Formats) ;
53 Standard_EXPORT Standard_CString ResourcesName() ;
54 Standard_EXPORT ~SALOMEDS_OCAFApplication();
61 Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_OCAFApplication_Type_();
62 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
63 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
91 // other inline functions and methods (like "C++: function call" methods)