2 // 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 #include "SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _TColStd_MapIntegerHasher_HeaderFile
23 #include <TColStd_MapIntegerHasher.hxx>
25 #ifndef _SMESHDS_DataMapOfIntegerPtrHypothesis_HeaderFile
26 #include "SMESHDS_DataMapOfIntegerPtrHypothesis.hxx"
28 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis_HeaderFile
29 #include "SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis.hxx"
31 SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis::~SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis() {}
35 Standard_EXPORT Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis_Type_()
38 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
39 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
40 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
41 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
42 static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
43 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
46 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
47 static Handle_Standard_Type _aType = new Standard_Type("SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis",
48 sizeof(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis),
50 (Standard_Address)_Ancestors,
51 (Standard_Address)NULL);
58 // allow safe downcasting
60 const Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis) Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis)::DownCast(const Handle(Standard_Transient)& AnObject)
62 Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis) _anOtherObject;
64 if (!AnObject.IsNull()) {
65 if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis))) {
66 _anOtherObject = Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis)((Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis)&)AnObject);
70 return _anOtherObject ;
72 const Handle(Standard_Type)& SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis::DynamicType() const
74 return STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis) ;
76 Standard_Boolean SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis::IsKind(const Handle(Standard_Type)& AType) const
78 return (STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis) == AType || TCollection_MapNode::IsKind(AType));
80 Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis::~Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis() {}
81 #define TheKey Standard_Integer
82 #define TheKey_hxx <Standard_Integer.hxx>
83 #define TheItem SMESHDS_PtrHypothesis
84 #define TheItem_hxx <SMESHDS_PtrHypothesis.hxx>
85 #define Hasher TColStd_MapIntegerHasher
86 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
87 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis
88 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis.hxx>
89 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis
90 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis.hxx>
91 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis
92 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis_Type_()
93 #define TCollection_DataMap SMESHDS_DataMapOfIntegerPtrHypothesis
94 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfIntegerPtrHypothesis.hxx>
95 #include <TCollection_DataMapNode.gxx>