1 // File : GEOMImpl_ExportDriver.ixx
4 #ifndef _GEOMImpl_ExportDriver_HeaderFile
5 #define _GEOMImpl_ExportDriver_HeaderFile
7 #ifndef _TColStd_SequenceOfExtendedString_HeaderFile
8 #include <TColStd_SequenceOfExtendedString.hxx>
10 #ifndef _Standard_TypeMismatch_HeaderFile
11 #include <Standard_TypeMismatch.hxx>
14 #ifndef _Standard_HeaderFile
15 #include <Standard.hxx>
18 #ifndef _Standard_Macro_HeaderFile
19 #include <Standard_Macro.hxx>
21 #ifndef _Standard_HeaderFile
22 #include <Standard.hxx>
24 #ifndef _Standard_GUID_HeaderFile
25 #include <Standard_GUID.hxx>
28 #ifndef _Handle_TFunction_Driver_HeaderFile
29 #include <Handle_TFunction_Driver.hxx>
32 class Standard_Transient;
33 class Handle_Standard_Type;
34 class Handle(TFunction_Driver);
35 class GEOMImpl_ExportDriver;
37 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ExportDriver);
39 class Handle(GEOMImpl_ExportDriver) : public Handle(TFunction_Driver) {
41 inline void* operator new(size_t,void* anAddress)
45 inline void* operator new(size_t size)
47 return Standard::Allocate(size);
49 inline void operator delete(void *anAddress)
51 if (anAddress) Standard::Free((Standard_Address&)anAddress);
54 Handle(GEOMImpl_ExportDriver)():Handle(TFunction_Driver)() {}
55 Handle(GEOMImpl_ExportDriver)(const Handle(GEOMImpl_ExportDriver)& aHandle) : Handle(TFunction_Driver)(aHandle)
59 Handle(GEOMImpl_ExportDriver)(const GEOMImpl_ExportDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem)
63 Handle(GEOMImpl_ExportDriver)& operator=(const Handle(GEOMImpl_ExportDriver)& aHandle)
65 Assign(aHandle.Access());
69 Handle(GEOMImpl_ExportDriver)& operator=(const GEOMImpl_ExportDriver* anItem)
71 Assign((Standard_Transient *)anItem);
75 GEOMImpl_ExportDriver* operator->()
77 return (GEOMImpl_ExportDriver *)ControlAccess();
80 GEOMImpl_ExportDriver* operator->() const
82 return (GEOMImpl_ExportDriver *)ControlAccess();
85 Standard_EXPORT ~Handle(GEOMImpl_ExportDriver)() {};
87 Standard_EXPORT static const Handle(GEOMImpl_ExportDriver) DownCast(const Handle(Standard_Transient)& AnObject);
90 #ifndef _TFunction_Driver_HeaderFile
91 #include <TFunction_Driver.hxx>
93 #ifndef _TFunction_Logbook_HeaderFile
94 #include <TFunction_Logbook.hxx>
96 #ifndef _Standard_CString_HeaderFile
97 #include <Standard_CString.hxx>
100 class TColStd_SequenceOfExtendedString;
103 class GEOMImpl_ExportDriver : public TFunction_Driver {
107 inline void* operator new(size_t,void* anAddress)
111 inline void* operator new(size_t size)
113 return Standard::Allocate(size);
115 inline void operator delete(void *anAddress)
117 if (anAddress) Standard::Free((Standard_Address&)anAddress);
122 Standard_EXPORT GEOMImpl_ExportDriver();
123 Standard_EXPORT virtual Standard_Integer Execute(TFunction_Logbook& log) const;
124 Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
125 Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
126 Standard_EXPORT static const Standard_GUID& GetID();
127 Standard_EXPORT ~GEOMImpl_ExportDriver() {};
132 Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ExportDriver_Type_();
133 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const { return STANDARD_TYPE(GEOMImpl_ExportDriver) ; }
134 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ExportDriver) == AType || TFunction_Driver::IsKind(AType)); }