Salome HOME
This commit was generated by cvs2git to create tag 'V1_4_0b2'.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_ExternalFileDef.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
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.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _SALOMEDS_ExternalFileDef_HeaderFile
17 #define _SALOMEDS_ExternalFileDef_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SALOMEDS_ExternalFileDef_HeaderFile
23 #include <Handle_SALOMEDS_ExternalFileDef.hxx>
24 #endif
25
26 #ifndef _TDataStd_Comment_HeaderFile
27 #include <TDataStd_Comment.hxx>
28 #endif
29 #ifndef _Handle_TDF_Attribute_HeaderFile
30 #include <Handle_TDF_Attribute.hxx>
31 #endif
32 #ifndef _Handle_TDF_RelocationTable_HeaderFile
33 #include <Handle_TDF_RelocationTable.hxx>
34 #endif
35 class Standard_GUID;
36 class TDF_Label;
37 class TCollection_ExtendedString;
38 class TDF_Attribute;
39 class TDF_RelocationTable;
40
41
42 class SALOMEDS_ExternalFileDef : public TDataStd_Comment {
43
44 public:
45
46     void* operator new(size_t,void* anAddress) 
47       {
48         return anAddress;
49       }
50     void* operator new(size_t size) 
51       { 
52         return Standard::Allocate(size); 
53       }
54     void  operator delete(void *anAddress) 
55       { 
56         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
57       }
58  // Methods PUBLIC
59  // 
60 Standard_EXPORT static const Standard_GUID& GetID() ;
61 Standard_EXPORT static  Handle_SALOMEDS_ExternalFileDef Set(const TDF_Label& label,const TCollection_ExtendedString& Name) ;
62 Standard_EXPORT SALOMEDS_ExternalFileDef();
63 Standard_EXPORT  const Standard_GUID& ID() const;
64 Standard_EXPORT   void Restore(const Handle(TDF_Attribute)& with) ;
65 Standard_EXPORT   Handle_TDF_Attribute NewEmpty() const;
66 Standard_EXPORT   void Paste(const Handle(TDF_Attribute)& into,const Handle(TDF_RelocationTable)& RT) const;
67 Standard_EXPORT ~SALOMEDS_ExternalFileDef();
68
69
70
71
72  // Type management
73  //
74  Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_ExternalFileDef_Type_();
75  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
76  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
77
78 protected:
79
80  // Methods PROTECTED
81  // 
82
83
84  // Fields PROTECTED
85  //
86
87
88 private: 
89
90  // Methods PRIVATE
91  // 
92
93
94  // Fields PRIVATE
95  //
96
97
98 };
99
100
101
102
103
104 // other Inline functions and methods (like "C++: function call" methods)
105 //
106
107
108 #endif