Salome HOME
c40761b053a74e63427b0e4c972303534de0e6be
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_DataMapNodeOfDataMapOfIntegerString_0.cxx
1 //  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : SALOMEDS_DataMapNodeOfDataMapOfIntegerString_0.cxx
8 //  Author : Sergey Ruin
9 //  Module : SALOME
10
11 #include <SALOMEDS_DataMapNodeOfDataMapOfIntegerString.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 _TColStd_MapIntegerHasher_HeaderFile
21 #include <TColStd_MapIntegerHasher.hxx>
22 #endif
23 #ifndef _SALOMEDS_DataMapOfIntegerString_HeaderFile
24 #include <SALOMEDS_DataMapOfIntegerString.hxx>
25 #endif
26 #ifndef _SALOMEDS_DataMapIteratorOfDataMapOfIntegerString_HeaderFile
27 #include <SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx>
28 #endif
29 SALOMEDS_DataMapNodeOfDataMapOfIntegerString::~SALOMEDS_DataMapNodeOfDataMapOfIntegerString() {}
30  
31
32
33 Standard_EXPORT Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapOfIntegerString_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_DataMapNodeOfDataMapOfIntegerString",
46                                                          sizeof(SALOMEDS_DataMapNodeOfDataMapOfIntegerString),
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_DataMapNodeOfDataMapOfIntegerString) Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)::DownCast(const Handle(Standard_Transient)& AnObject) 
59 {
60   Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) _anOtherObject;
61
62   if (!AnObject.IsNull()) {
63      if (AnObject->IsKind(STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString))) {
64        _anOtherObject = Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)((Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)&)AnObject);
65      }
66   }
67
68   return _anOtherObject ;
69 }
70 const Handle(Standard_Type)& SALOMEDS_DataMapNodeOfDataMapOfIntegerString::DynamicType() const 
71
72   return STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) ; 
73 }
74 Standard_Boolean SALOMEDS_DataMapNodeOfDataMapOfIntegerString::IsKind(const Handle(Standard_Type)& AType) const 
75
76   return (STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) == AType || TCollection_MapNode::IsKind(AType)); 
77 }
78 Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString::~Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString() {}
79 #define TheKey Standard_Real
80 #define TheKey_hxx <Standard_Real.hxx>
81 #define TheItem TCollection_ExtendedString
82 #define TheItem_hxx <TCollection_ExtendedString.hxx>
83 #define Hasher TColStd_MapIntegerHasher
84 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
85 #define TCollection_DataMapNode SALOMEDS_DataMapNodeOfDataMapOfIntegerString
86 #define TCollection_DataMapNode_hxx <SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
87 #define TCollection_DataMapIterator SALOMEDS_DataMapIteratorOfDataMapOfIntegerString
88 #define TCollection_DataMapIterator_hxx <SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx>
89 #define Handle_TCollection_DataMapNode Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString
90 #define TCollection_DataMapNode_Type_() SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_()
91 #define TCollection_DataMap SALOMEDS_DataMapOfIntegerString
92 #define TCollection_DataMap_hxx <SALOMEDS_DataMapOfIntegerString.hxx>
93 #include <TCollection_DataMapNode.gxx>
94