1 // File generated by CPPExt (Transient)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #include "SALOME_InteractiveObject.jxx"
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include <Standard_TypeMismatch.hxx>
21 SALOME_InteractiveObject::~SALOME_InteractiveObject() {}
25 Standard_EXPORT Handle_Standard_Type& SALOME_InteractiveObject_Type_()
28 static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
29 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
30 static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
31 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
34 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
35 static Handle_Standard_Type _aType = new Standard_Type("SALOME_InteractiveObject",
36 sizeof(SALOME_InteractiveObject),
38 (Standard_Address)_Ancestors,
39 (Standard_Address)NULL);
46 // allow safe downcasting
48 const Handle(SALOME_InteractiveObject) Handle(SALOME_InteractiveObject)::DownCast(const Handle(Standard_Transient)& AnObject)
50 Handle(SALOME_InteractiveObject) _anOtherObject;
52 if (!AnObject.IsNull()) {
53 if (AnObject->IsKind(STANDARD_TYPE(SALOME_InteractiveObject))) {
54 _anOtherObject = Handle(SALOME_InteractiveObject)((Handle(SALOME_InteractiveObject)&)AnObject);
58 return _anOtherObject ;
60 const Handle(Standard_Type)& SALOME_InteractiveObject::DynamicType() const
62 return STANDARD_TYPE(SALOME_InteractiveObject) ;
64 Standard_Boolean SALOME_InteractiveObject::IsKind(const Handle(Standard_Type)& AType) const
66 return (STANDARD_TYPE(SALOME_InteractiveObject) == AType || MMgt_TShared::IsKind(AType));
68 Handle_SALOME_InteractiveObject::~Handle_SALOME_InteractiveObject() {}