]> SALOME platform Git repositories - modules/geom.git/blob - src/OBJECT/GEOM_InteractiveObject.hxx
Salome HOME
NRI : First integration.
[modules/geom.git] / src / OBJECT / GEOM_InteractiveObject.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 _GEOM_InteractiveObject_HeaderFile
17 #define _GEOM_InteractiveObject_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_GEOM_InteractiveObject_HeaderFile
23 #include "Handle_GEOM_InteractiveObject.hxx"
24 #endif
25
26 #ifndef _Standard_CString_HeaderFile
27 #include <Standard_CString.hxx>
28 #endif
29 #ifndef _SALOME_InteractiveObject_HeaderFile
30 #include "SALOME_InteractiveObject.hxx"
31 #endif
32 #ifndef _Standard_Boolean_HeaderFile
33 #include <Standard_Boolean.hxx>
34 #endif
35 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
36 #include "Handle_SALOME_InteractiveObject.hxx"
37 #endif
38 class SALOME_InteractiveObject;
39
40
41 class GEOM_InteractiveObject : public SALOME_InteractiveObject {
42
43 public:
44
45     inline void* operator new(size_t,void* anAddress) 
46       {
47         return anAddress;
48       }
49     inline void* operator new(size_t size) 
50       { 
51         return Standard::Allocate(size); 
52       }
53     inline void  operator delete(void *anAddress) 
54       { 
55         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
56       }
57 //    inline void  operator delete(void *anAddress, size_t size) 
58 //      { 
59 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
60 //      }
61  // Methods PUBLIC
62  // 
63 Standard_EXPORT GEOM_InteractiveObject();
64 Standard_EXPORT GEOM_InteractiveObject(const Standard_CString anIOR,
65                                        const Standard_CString aFatherIOR,
66                                        const Standard_CString aComponentDataType,
67                                        const Standard_CString anEntry = "");
68 Standard_EXPORT   void setIOR(const Standard_CString anEntry) ;
69 Standard_EXPORT   Standard_CString getIOR() ;
70 Standard_EXPORT   void setFatherIOR(const Standard_CString anEntry) ;
71 Standard_EXPORT   Standard_CString getFatherIOR() ;
72 Standard_EXPORT   virtual Standard_Boolean isSame(const Handle(SALOME_InteractiveObject)& anIO) ;
73 Standard_EXPORT   ~GEOM_InteractiveObject();
74
75
76
77
78  // Type management
79  //
80  Standard_EXPORT friend Handle_Standard_Type& GEOM_InteractiveObject_Type_();
81  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
82  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
83
84 protected:
85
86  // Methods PROTECTED
87  // 
88
89
90  // Fields PROTECTED
91  //
92
93
94 private: 
95
96  // Methods PRIVATE
97  // 
98
99
100  // Fields PRIVATE
101  //
102 Standard_CString myIOR;
103 Standard_CString myFatherIOR;
104
105
106 };
107
108
109
110
111
112 // other inline functions and methods (like "C++: function call" methods)
113 //
114
115
116 #endif