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.
16 #ifndef _SALOME_InteractiveObject_HeaderFile
17 #define _SALOME_InteractiveObject_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
23 #include <Handle_SALOME_InteractiveObject.hxx>
26 #ifndef _Standard_CString_HeaderFile
27 #include <Standard_CString.hxx>
29 #ifndef _MMgt_TShared_HeaderFile
30 #include <MMgt_TShared.hxx>
32 #ifndef _Standard_Boolean_HeaderFile
33 #include <Standard_Boolean.hxx>
37 class SALOME_InteractiveObject : public MMgt_TShared {
41 void* operator new(size_t,void* anAddress)
45 void* operator new(size_t size)
47 return Standard::Allocate(size);
49 void operator delete(void *anAddress)
51 if (anAddress) Standard::Free((Standard_Address&)anAddress);
55 Standard_EXPORT SALOME_InteractiveObject();
56 Standard_EXPORT SALOME_InteractiveObject(const Standard_CString anEntry,
57 const Standard_CString aComponentDataType,
58 const Standard_CString aName = "");
59 Standard_EXPORT void setEntry(const Standard_CString anEntry) ;
60 Standard_EXPORT Standard_CString getEntry() ;
61 Standard_EXPORT void setName(const Standard_CString aName) ;
62 Standard_EXPORT Standard_CString getName() ;
63 Standard_EXPORT Standard_Boolean hasEntry() ;
64 Standard_EXPORT virtual Standard_Boolean isSame(const Handle(SALOME_InteractiveObject)& anIO) ;
66 Standard_EXPORT Standard_Boolean hasReference() ;
67 Standard_EXPORT Standard_CString getReference() ;
68 Standard_EXPORT void setReference(const Standard_CString aReference) ;
70 Standard_EXPORT void setComponentDataType(const Standard_CString ComponentDataType) ;
71 Standard_EXPORT Standard_CString getComponentDataType() ;
72 Standard_EXPORT Standard_Boolean isComponentType(const Standard_CString ComponentDataType) ;
74 Standard_EXPORT ~SALOME_InteractiveObject();
81 Standard_EXPORT friend Handle_Standard_Type& SALOME_InteractiveObject_Type_();
82 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
83 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
93 Standard_CString myReference;
94 Standard_CString myEntry;
95 Standard_CString myName;
96 Standard_CString myComponentDataType;
114 // other Inline functions and methods (like "C++: function call" methods)