Salome HOME
To avoid compilation pb on RedHat 8.0.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_FileType.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 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
17
18 #ifndef _SALOMEDS_FileType_HeaderFile
19 #define _SALOMEDS_FileType_HeaderFile
20
21 #ifndef _Standard_HeaderFile
22 #include <Standard.hxx>
23 #endif
24 #ifndef _Handle_SALOMEDS_FileType_HeaderFile
25 #include <Handle_SALOMEDS_FileType.hxx>
26 #endif
27
28 #ifndef _TDataStd_Comment_HeaderFile
29 #include <TDataStd_Comment.hxx>
30 #endif
31 #ifndef _Handle_TDF_Attribute_HeaderFile
32 #include <Handle_TDF_Attribute.hxx>
33 #endif
34 #ifndef _Handle_TDF_RelocationTable_HeaderFile
35 #include <Handle_TDF_RelocationTable.hxx>
36 #endif
37 class Standard_GUID;
38 class TDF_Label;
39 class TCollection_ExtendedString;
40 class TDF_Attribute;
41 class TDF_RelocationTable;
42
43
44 class SALOMEDS_FileType : public TDataStd_Comment {
45
46 public:
47
48     void* operator new(size_t,void* anAddress) 
49       {
50         return anAddress;
51       }
52     void* operator new(size_t size) 
53       { 
54         return Standard::Allocate(size); 
55       }
56     void  operator delete(void *anAddress) 
57       { 
58         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
59       }
60  // Methods PUBLIC
61  // 
62 Standard_EXPORT static const Standard_GUID& GetID() ;
63 Standard_EXPORT static  Handle_SALOMEDS_FileType Set(const TDF_Label& label,const TCollection_ExtendedString& Name) ;
64 Standard_EXPORT SALOMEDS_FileType();
65 Standard_EXPORT  const Standard_GUID& ID() const;
66 Standard_EXPORT   void Restore(const Handle(TDF_Attribute)& with) ;
67 Standard_EXPORT   Handle_TDF_Attribute NewEmpty() const;
68 Standard_EXPORT   void Paste(const Handle(TDF_Attribute)& into,const Handle(TDF_RelocationTable)& RT) const;
69 Standard_EXPORT ~SALOMEDS_FileType();
70
71
72
73
74  // Type management
75  //
76  Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_FileType_Type_();
77  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
78  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
79
80 protected:
81
82  // Methods PROTECTED
83  // 
84
85
86  // Fields PROTECTED
87  //
88
89
90 private: 
91
92  // Methods PRIVATE
93  // 
94
95
96  // Fields PRIVATE
97  //
98
99
100 };
101
102
103
104
105
106 // other Inline functions and methods (like "C++: function call" methods)
107 //
108
109
110 #endif