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.
15 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
17 #ifndef _Handle_SALOMEDS_ExternalFileDef_HeaderFile
18 #define _Handle_SALOMEDS_ExternalFileDef_HeaderFile
20 #ifndef _Standard_Macro_HeaderFile
21 #include <Standard_Macro.hxx>
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
27 #ifndef _Handle_TDataStd_Comment_HeaderFile
28 #include <Handle_TDataStd_Comment.hxx>
31 class Standard_Transient;
32 class Handle_Standard_Type;
33 class Handle(TDataStd_Comment);
34 class SALOMEDS_ExternalFileDef;
35 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDS_ExternalFileDef);
37 class Handle(SALOMEDS_ExternalFileDef) : public Handle(TDataStd_Comment) {
39 void* operator new(size_t,void* anAddress)
43 void* operator new(size_t size)
45 return Standard::Allocate(size);
47 void operator delete(void *anAddress)
49 if (anAddress) Standard::Free((Standard_Address&)anAddress);
51 Handle(SALOMEDS_ExternalFileDef)():Handle(TDataStd_Comment)() {}
52 Handle(SALOMEDS_ExternalFileDef)(const Handle(SALOMEDS_ExternalFileDef)& aHandle) : Handle(TDataStd_Comment)(aHandle)
56 Handle(SALOMEDS_ExternalFileDef)(const SALOMEDS_ExternalFileDef* anItem) : Handle(TDataStd_Comment)((TDataStd_Comment *)anItem)
60 Handle(SALOMEDS_ExternalFileDef)& operator=(const Handle(SALOMEDS_ExternalFileDef)& aHandle)
62 Assign(aHandle.Access());
66 Handle(SALOMEDS_ExternalFileDef)& operator=(const SALOMEDS_ExternalFileDef* anItem)
68 Assign((Standard_Transient *)anItem);
72 SALOMEDS_ExternalFileDef* operator->()
74 return (SALOMEDS_ExternalFileDef *)ControlAccess();
77 SALOMEDS_ExternalFileDef* operator->() const
79 return (SALOMEDS_ExternalFileDef *)ControlAccess();
82 Standard_EXPORT ~Handle(SALOMEDS_ExternalFileDef)();
84 Standard_EXPORT static const Handle(SALOMEDS_ExternalFileDef) DownCast(const Handle(Standard_Transient)& AnObject);