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