Salome HOME
Update mail address
[modules/geom.git] / src / GEOM / GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20
21 #include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
22
23 #ifndef _Standard_TypeMismatch_HeaderFile
24 #include <Standard_TypeMismatch.hxx>
25 #endif
26
27 #ifndef _Standard_Transient_HeaderFile
28 #include <Standard_Transient.hxx>
29 #endif
30 #ifndef _TCollection_AsciiString_HeaderFile
31 #include <TCollection_AsciiString.hxx>
32 #endif
33 #ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
34 #include <GEOM_DataMapOfAsciiStringTransient.hxx>
35 #endif
36 #ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
37 #include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
38 #endif
39 GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
40  
41
42
43 Standard_EXPORT Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
44 {
45
46     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
47   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
48   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
49   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
50   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
51   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
52  
53
54   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
55   static Handle_Standard_Type _aType = new Standard_Type("GEOM_DataMapNodeOfDataMapOfAsciiStringTransient",
56                                                          sizeof(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient),
57                                                          1,
58                                                          (Standard_Address)_Ancestors,
59                                                          (Standard_Address)NULL);
60
61   return _aType;
62 }
63
64
65 // DownCast method
66 //   allow safe downcasting
67 //
68 const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)::DownCast(const Handle(Standard_Transient)& AnObject) 
69 {
70   Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) _anOtherObject;
71
72   if (!AnObject.IsNull()) {
73      if (AnObject->IsKind(STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient))) {
74        _anOtherObject = Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)((Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)&)AnObject);
75      }
76   }
77
78   return _anOtherObject ;
79 }
80 const Handle(Standard_Type)& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::DynamicType() const 
81
82   return STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) ; 
83 }
84 Standard_Boolean GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::IsKind(const Handle(Standard_Type)& AType) const 
85
86   return (STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) == AType || TCollection_MapNode::IsKind(AType)); 
87 }
88 Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
89 #define TheKey TCollection_AsciiString
90 #define TheKey_hxx <TCollection_AsciiString.hxx>
91 #define TheItem Handle_Standard_Transient
92 #define TheItem_hxx <Standard_Transient.hxx>
93 #define Hasher TCollection_AsciiString
94 #define Hasher_hxx <TCollection_AsciiString.hxx>
95 #define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
96 #define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
97 #define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
98 #define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
99 #define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
100 #define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
101 #define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
102 #define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
103 #include <TCollection_DataMapNode.gxx>
104