Salome HOME
NRI : Add GEOM includes and libs.
[modules/smesh.git] / src / SMESHDS / SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_0.cxx
1 using namespace std;
2 // File generated by CPPExt (Transient)
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #include "SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _SMESHDS_SubMesh_HeaderFile
23 #include "SMESHDS_SubMesh.hxx"
24 #endif
25 #ifndef _TopoDS_Shape_HeaderFile
26 #include <TopoDS_Shape.hxx>
27 #endif
28 #ifndef _TopTools_ShapeMapHasher_HeaderFile
29 #include <TopTools_ShapeMapHasher.hxx>
30 #endif
31 #ifndef _SMESHDS_DataMapOfShapeSubMesh_HeaderFile
32 #include "SMESHDS_DataMapOfShapeSubMesh.hxx"
33 #endif
34 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh_HeaderFile
35 #include "SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh.hxx"
36 #endif
37 SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::~SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh() {}
38  
39
40
41 Standard_EXPORT Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_Type_()
42 {
43
44     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
45   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
46   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
47   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
48   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
49   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
50  
51
52   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
53   static Handle_Standard_Type _aType = new Standard_Type("SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh",
54                                                          sizeof(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh),
55                                                          1,
56                                                          (Standard_Address)_Ancestors,
57                                                          (Standard_Address)NULL);
58
59   return _aType;
60 }
61
62
63 // DownCast method
64 //   allow safe downcasting
65 //
66 const Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh)::DownCast(const Handle(Standard_Transient)& AnObject) 
67 {
68   Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) _anOtherObject;
69
70   if (!AnObject.IsNull()) {
71      if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh))) {
72        _anOtherObject = Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh)((Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh)&)AnObject);
73      }
74   }
75
76   return _anOtherObject ;
77 }
78 const Handle(Standard_Type)& SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::DynamicType() const 
79
80   return STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) ; 
81 }
82 Standard_Boolean SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::IsKind(const Handle(Standard_Type)& AType) const 
83
84   return (STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) == AType || TCollection_MapNode::IsKind(AType)); 
85 }
86 Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::~Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh() {}
87 #define TheKey TopoDS_Shape
88 #define TheKey_hxx <TopoDS_Shape.hxx>
89 #define TheItem Handle_SMESHDS_SubMesh
90 #define TheItem_hxx <SMESHDS_SubMesh.hxx>
91 #define Hasher TopTools_ShapeMapHasher
92 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
93 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh
94 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh.hxx>
95 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh
96 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh.hxx>
97 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh
98 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_Type_()
99 #define TCollection_DataMap SMESHDS_DataMapOfShapeSubMesh
100 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfShapeSubMesh.hxx>
101 #include <TCollection_DataMapNode.gxx>
102