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