2 // File : Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_0.cxx
3 // Created : Tue Aug 13 14:05:03 2002
4 // Author : Yves FRICAUD
8 // Copyright : Open CASCADE 2002
11 #include "SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx"
13 #ifndef _Standard_TypeMismatch_HeaderFile
14 #include <Standard_TypeMismatch.hxx>
17 #ifndef _TCollection_ExtendedString_HeaderFile
18 #include <TCollection_ExtendedString.hxx>
20 #ifndef _TDF_Label_HeaderFile
21 #include <TDF_Label.hxx>
23 #ifndef _SALOMEDS_DataMapStringLabel_HeaderFile
24 #include "SALOMEDS_DataMapStringLabel.hxx"
26 #ifndef _SALOMEDS_DataMapIteratorOfDataMapStringLabel_HeaderFile
27 #include "SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx"
29 SALOMEDS_DataMapNodeOfDataMapStringLabel::~SALOMEDS_DataMapNodeOfDataMapStringLabel() {}
33 Standard_EXPORT Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapStringLabel_Type_()
36 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
37 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
38 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
39 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
40 static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
41 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
44 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
45 static Handle_Standard_Type _aType = new Standard_Type("SALOMEDS_DataMapNodeOfDataMapStringLabel",
46 sizeof(SALOMEDS_DataMapNodeOfDataMapStringLabel),
48 (Standard_Address)_Ancestors,
49 (Standard_Address)NULL);
56 // allow safe downcasting
58 const Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel) Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)::DownCast(const Handle(Standard_Transient)& AnObject)
60 Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel) _anOtherObject;
62 if (!AnObject.IsNull()) {
63 if (AnObject->IsKind(STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel))) {
64 _anOtherObject = Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)((Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)&)AnObject);
68 return _anOtherObject ;
70 const Handle(Standard_Type)& SALOMEDS_DataMapNodeOfDataMapStringLabel::DynamicType() const
72 return STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel) ;
74 Standard_Boolean SALOMEDS_DataMapNodeOfDataMapStringLabel::IsKind(const Handle(Standard_Type)& AType) const
76 return (STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel) == AType || TCollection_MapNode::IsKind(AType));
78 Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel::~Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel() {}
79 #define TheKey TCollection_ExtendedString
80 #define TheKey_hxx <TCollection_ExtendedString.hxx>
81 #define TheItem TDF_Label
82 #define TheItem_hxx <TDF_Label.hxx>
83 #define Hasher TCollection_ExtendedString
84 #define Hasher_hxx <TCollection_ExtendedString.hxx>
85 #define TCollection_DataMapNode SALOMEDS_DataMapNodeOfDataMapStringLabel
86 #define TCollection_DataMapNode_hxx "SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx"
87 #define TCollection_DataMapIterator SALOMEDS_DataMapIteratorOfDataMapStringLabel
88 #define TCollection_DataMapIterator_hxx "SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx"
89 #define Handle_TCollection_DataMapNode Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel
90 #define TCollection_DataMapNode_Type_() SALOMEDS_DataMapNodeOfDataMapStringLabel_Type_()
91 #define TCollection_DataMap SALOMEDS_DataMapStringLabel
92 #define TCollection_DataMap_hxx "SALOMEDS_DataMapStringLabel.hxx"
93 #include <TCollection_DataMapNode.gxx>