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 "GEOMDS_Application.jxx"
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include <Standard_TypeMismatch.hxx>
21 GEOMDS_Application::~GEOMDS_Application() {}
25 Standard_EXPORT Handle_Standard_Type& GEOMDS_Application_Type_()
28 static Handle_Standard_Type aType1 = STANDARD_TYPE(TDocStd_Application);
29 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TDocStd_Application);
30 static Handle_Standard_Type aType2 = STANDARD_TYPE(CDF_Application);
31 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(CDF_Application);
32 static Handle_Standard_Type aType3 = STANDARD_TYPE(CDM_Application);
33 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(CDM_Application);
34 static Handle_Standard_Type aType4 = STANDARD_TYPE(Standard_Transient);
35 if ( aType4.IsNull()) aType4 = STANDARD_TYPE(Standard_Transient);
38 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,NULL};
39 static Handle_Standard_Type _aType = new Standard_Type("GEOMDS_Application",
40 sizeof(GEOMDS_Application),
42 (Standard_Address)_Ancestors,
43 (Standard_Address)NULL);
49 // allow safe downcasting
52 const Handle(GEOMDS_Application) Handle(GEOMDS_Application)::DownCast(const Handle(Standard_Transient)& AnObject)
54 Handle(GEOMDS_Application) _anOtherObject;
56 if (!AnObject.IsNull()) {
57 if (AnObject->IsKind(STANDARD_TYPE(GEOMDS_Application))) {
58 _anOtherObject = Handle(GEOMDS_Application)((Handle(GEOMDS_Application)&)AnObject);
62 return _anOtherObject ;
66 const Handle(Standard_Type)& GEOMDS_Application::DynamicType() const
68 return STANDARD_TYPE(GEOMDS_Application) ;
70 Standard_Boolean GEOMDS_Application::IsKind(const Handle(Standard_Type)& AType) const
72 return (STANDARD_TYPE(GEOMDS_Application) == AType || TDocStd_Application::IsKind(AType));
74 Handle_GEOMDS_Application::~Handle_GEOMDS_Application() {}