1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _OCAFSample_CommonDriver_HeaderFile
17 #define _OCAFSample_CommonDriver_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_OCAFSample_CommonDriver_HeaderFile
23 #include <Handle_OCAFSample_CommonDriver.hxx>
26 #ifndef _OCAFSample_Driver_HeaderFile
27 #include <OCAFSample_Driver.hxx>
29 #ifndef _Standard_Integer_HeaderFile
30 #include <Standard_Integer.hxx>
32 class TFunction_Logbook;
35 class OCAFSample_CommonDriver : public OCAFSample_Driver {
39 inline void* operator new(size_t,void* anAddress)
43 inline void* operator new(size_t size)
45 return Standard::Allocate(size);
47 inline void operator delete(void *anAddress)
49 if (anAddress) Standard::Free((Standard_Address&)anAddress);
51 // inline void operator delete(void *anAddress, size_t size)
53 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
57 Standard_EXPORT OCAFSample_CommonDriver();
58 Standard_EXPORT virtual Standard_Integer Execute(TFunction_Logbook& theLogbook) const;
59 Standard_EXPORT ~OCAFSample_CommonDriver();
66 Standard_EXPORT friend Handle_Standard_Type& OCAFSample_CommonDriver_Type_();
67 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
68 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
96 // other inline functions and methods (like "C++: function call" methods)