Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / SMDS / SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_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 "SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _SMDS_MeshElement_HeaderFile
23 #include "SMDS_MeshElement.hxx"
24 #endif
25 #ifndef _TColStd_MapIntegerHasher_HeaderFile
26 #include <TColStd_MapIntegerHasher.hxx>
27 #endif
28 #ifndef _SMDS_DataMapOfIntegerMeshElement_HeaderFile
29 #include "SMDS_DataMapOfIntegerMeshElement.hxx"
30 #endif
31 #ifndef _SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement_HeaderFile
32 #include "SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx"
33 #endif
34 SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::~SMDS_DataMapNodeOfDataMapOfIntegerMeshElement() {}
35  
36
37
38 Standard_EXPORT Handle_Standard_Type& SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
39 {
40
41     static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
42   if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
43   static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
44   if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
45   static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
46   if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
47  
48
49   static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
50   static Handle_Standard_Type _aType = new Standard_Type("SMDS_DataMapNodeOfDataMapOfIntegerMeshElement",
51                                                          sizeof(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement),
52                                                          1,
53                                                          (Standard_Address)_Ancestors,
54                                                          (Standard_Address)NULL);
55
56   return _aType;
57 }
58
59
60 // DownCast method
61 //   allow safe downcasting
62 //
63 const Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)::DownCast(const Handle(Standard_Transient)& AnObject) 
64 {
65   Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) _anOtherObject;
66
67   if (!AnObject.IsNull()) {
68      if (AnObject->IsKind(STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement))) {
69        _anOtherObject = Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)((Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)&)AnObject);
70      }
71   }
72
73   return _anOtherObject ;
74 }
75 const Handle(Standard_Type)& SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::DynamicType() const 
76
77   return STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) ; 
78 }
79 Standard_Boolean SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::IsKind(const Handle(Standard_Type)& AType) const 
80
81   return (STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) == AType || TCollection_MapNode::IsKind(AType)); 
82 }
83 Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::~Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement() {}
84 #define TheKey Standard_Integer
85 #define TheKey_hxx <Standard_Integer.hxx>
86 #define TheItem Handle_SMDS_MeshElement
87 #define TheItem_hxx <SMDS_MeshElement.hxx>
88 #define Hasher TColStd_MapIntegerHasher
89 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
90 #define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
91 #define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx>
92 #define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement
93 #define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx>
94 #define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
95 #define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
96 #define TCollection_DataMap SMDS_DataMapOfIntegerMeshElement
97 #define TCollection_DataMap_hxx <SMDS_DataMapOfIntegerMeshElement.hxx>
98 #include <TCollection_DataMapNode.gxx>
99