Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/yacs.git] / src / SALOMEDS / SALOMEDS_DataMapNodeOfDataMapOfIntegerString_0.cxx
1 //  File      : SALOMEDS_DataMapNodeOfDataMapOfIntegerString_0.cxx
2 //  Created   : Mon Apr  7 10:13:30 2003
3 //  Author    : Sergey Ruin
4 //  Project   : SALOME
5 //  Module    : SALOMEDS
6 //  Copyright : Open CASCADE
7
8 #include <SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
9
10 #ifndef _Standard_TypeMismatch_HeaderFile
11 #include <Standard_TypeMismatch.hxx>
12 #endif
13
14 #ifndef _TCollection_ExtendedString_HeaderFile
15 #include <TCollection_ExtendedString.hxx>
16 #endif
17 #ifndef _TColStd_MapIntegerHasher_HeaderFile
18 #include <TColStd_MapIntegerHasher.hxx>
19 #endif
20 #ifndef _SALOMEDS_DataMapOfIntegerString_HeaderFile
21 #include <SALOMEDS_DataMapOfIntegerString.hxx>
22 #endif
23 #ifndef _SALOMEDS_DataMapIteratorOfDataMapOfIntegerString_HeaderFile
24 #include <SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx>
25 #endif
26 SALOMEDS_DataMapNodeOfDataMapOfIntegerString::~SALOMEDS_DataMapNodeOfDataMapOfIntegerString() {}
27  
28
29
30 Standard_EXPORT Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_()
31 {
32
33     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
34   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
35   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
36   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
37   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
38   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
39  
40
41   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
42   static Handle_Standard_Type _aType = new Standard_Type("SALOMEDS_DataMapNodeOfDataMapOfIntegerString",
43                                                          sizeof(SALOMEDS_DataMapNodeOfDataMapOfIntegerString),
44                                                          1,
45                                                          (Standard_Address)_Ancestors,
46                                                          (Standard_Address)NULL);
47
48   return _aType;
49 }
50
51
52 // DownCast method
53 //   allow safe downcasting
54 //
55 const Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)::DownCast(const Handle(Standard_Transient)& AnObject) 
56 {
57   Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) _anOtherObject;
58
59   if (!AnObject.IsNull()) {
60      if (AnObject->IsKind(STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString))) {
61        _anOtherObject = Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)((Handle(SALOMEDS_DataMapNodeOfDataMapOfIntegerString)&)AnObject);
62      }
63   }
64
65   return _anOtherObject ;
66 }
67 const Handle(Standard_Type)& SALOMEDS_DataMapNodeOfDataMapOfIntegerString::DynamicType() const 
68
69   return STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) ; 
70 }
71 Standard_Boolean SALOMEDS_DataMapNodeOfDataMapOfIntegerString::IsKind(const Handle(Standard_Type)& AType) const 
72
73   return (STANDARD_TYPE(SALOMEDS_DataMapNodeOfDataMapOfIntegerString) == AType || TCollection_MapNode::IsKind(AType)); 
74 }
75 Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString::~Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString() {}
76 #define TheKey Standard_Real
77 #define TheKey_hxx <Standard_Real.hxx>
78 #define TheItem TCollection_ExtendedString
79 #define TheItem_hxx <TCollection_ExtendedString.hxx>
80 #define Hasher TColStd_MapIntegerHasher
81 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
82 #define TCollection_DataMapNode SALOMEDS_DataMapNodeOfDataMapOfIntegerString
83 #define TCollection_DataMapNode_hxx <SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
84 #define TCollection_DataMapIterator SALOMEDS_DataMapIteratorOfDataMapOfIntegerString
85 #define TCollection_DataMapIterator_hxx <SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx>
86 #define Handle_TCollection_DataMapNode Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString
87 #define TCollection_DataMapNode_Type_() SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_()
88 #define TCollection_DataMap SALOMEDS_DataMapOfIntegerString
89 #define TCollection_DataMap_hxx <SALOMEDS_DataMapOfIntegerString.hxx>
90 #include <TCollection_DataMapNode.gxx>
91