Salome HOME
00ab73f8aeba6fe4e41185bf1af249f651b3f789
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_DataMapNodeOfDataMapStringLabel_0.cxx
1 using namespace std;
2 //  File      : Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_0.cxx
3 //  Created   : Tue Aug 13 14:05:03 2002
4 //  Author    : Yves FRICAUD
5
6 //  Project   : SALOME
7 //  Module    : SALOMEDS
8 //  Copyright : Open CASCADE 2002
9 //  $Header: 
10
11 #include "SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx"
12
13 #ifndef _Standard_TypeMismatch_HeaderFile
14 #include <Standard_TypeMismatch.hxx>
15 #endif
16
17 #ifndef _TCollection_ExtendedString_HeaderFile
18 #include <TCollection_ExtendedString.hxx>
19 #endif
20 #ifndef _TDF_Label_HeaderFile
21 #include <TDF_Label.hxx>
22 #endif
23 #ifndef _SALOMEDS_DataMapStringLabel_HeaderFile
24 #include "SALOMEDS_DataMapStringLabel.hxx"
25 #endif
26 #ifndef _SALOMEDS_DataMapIteratorOfDataMapStringLabel_HeaderFile
27 #include "SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx"
28 #endif
29 SALOMEDS_DataMapNodeOfDataMapStringLabel::~SALOMEDS_DataMapNodeOfDataMapStringLabel() {}
30  
31
32
33 Standard_EXPORT Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapStringLabel_Type_()
34 {
35
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);
42  
43
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),
47                                                          1,
48                                                          (Standard_Address)_Ancestors,
49                                                          (Standard_Address)NULL);
50
51   return _aType;
52 }
53
54
55 // DownCast method
56 //   allow safe downcasting
57 //
58 const Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel) Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)::DownCast(const Handle(Standard_Transient)& AnObject) 
59 {
60   Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel) _anOtherObject;
61
62   if (!AnObject.IsNull()) {
63      if (AnObject->IsKind(STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel))) {
64        _anOtherObject = Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)((Handle(SALOMEDS_DataMapNodeOfDataMapStringLabel)&)AnObject);
65      }
66   }
67
68   return _anOtherObject ;
69 }
70 const Handle(Standard_Type)& SALOMEDS_DataMapNodeOfDataMapStringLabel::DynamicType() const 
71
72   return STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel) ; 
73 }
74 Standard_Boolean SALOMEDS_DataMapNodeOfDataMapStringLabel::IsKind(const Handle(Standard_Type)& AType) const 
75
76   return (STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapStringLabel) == AType || TCollection_MapNode::IsKind(AType)); 
77 }
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>
94