Salome HOME
1836c2e0f35f64060f3c3a29621228e843817332
[modules/geom.git] / src / GEOM / GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx
1
2 #include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
3
4 #ifndef _Standard_TypeMismatch_HeaderFile
5 #include <Standard_TypeMismatch.hxx>
6 #endif
7
8 #ifndef _Standard_Transient_HeaderFile
9 #include <Standard_Transient.hxx>
10 #endif
11 #ifndef _TCollection_AsciiString_HeaderFile
12 #include <TCollection_AsciiString.hxx>
13 #endif
14 #ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
15 #include <GEOM_DataMapOfAsciiStringTransient.hxx>
16 #endif
17 #ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
18 #include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
19 #endif
20 GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
21  
22
23
24 Standard_EXPORT Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
25 {
26
27     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
28   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
29   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
30   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
31   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
32   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
33  
34
35   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
36   static Handle_Standard_Type _aType = new Standard_Type("GEOM_DataMapNodeOfDataMapOfAsciiStringTransient",
37                                                          sizeof(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient),
38                                                          1,
39                                                          (Standard_Address)_Ancestors,
40                                                          (Standard_Address)NULL);
41
42   return _aType;
43 }
44
45
46 // DownCast method
47 //   allow safe downcasting
48 //
49 const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)::DownCast(const Handle(Standard_Transient)& AnObject) 
50 {
51   Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) _anOtherObject;
52
53   if (!AnObject.IsNull()) {
54      if (AnObject->IsKind(STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient))) {
55        _anOtherObject = Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)((Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)&)AnObject);
56      }
57   }
58
59   return _anOtherObject ;
60 }
61 const Handle(Standard_Type)& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::DynamicType() const 
62
63   return STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) ; 
64 }
65 Standard_Boolean GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::IsKind(const Handle(Standard_Type)& AType) const 
66
67   return (STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) == AType || TCollection_MapNode::IsKind(AType)); 
68 }
69 Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
70 #define TheKey TCollection_AsciiString
71 #define TheKey_hxx <TCollection_AsciiString.hxx>
72 #define TheItem Handle_Standard_Transient
73 #define TheItem_hxx <Standard_Transient.hxx>
74 #define Hasher TCollection_AsciiString
75 #define Hasher_hxx <TCollection_AsciiString.hxx>
76 #define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
77 #define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
78 #define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
79 #define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
80 #define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
81 #define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
82 #define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
83 #define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
84 #include <TCollection_DataMapNode.gxx>
85