Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESHDS / SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_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_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx"
17
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
20 #endif
21
22 #ifndef _TopoDS_Shape_HeaderFile
23 #include <TopoDS_Shape.hxx>
24 #endif
25 #ifndef _SMESHDS_ListOfPtrHypothesis_HeaderFile
26 #include "SMESHDS_ListOfPtrHypothesis.hxx"
27 #endif
28 #ifndef _TopTools_ShapeMapHasher_HeaderFile
29 #include <TopTools_ShapeMapHasher.hxx>
30 #endif
31 #ifndef _SMESHDS_DataMapOfShapeListOfPtrHypothesis_HeaderFile
32 #include "SMESHDS_DataMapOfShapeListOfPtrHypothesis.hxx"
33 #endif
34 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis_HeaderFile
35 #include "SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis.hxx"
36 #endif
37 SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::~SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis() {}
38  
39
40
41 Standard_EXPORT Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_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_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis",
54                                                          sizeof(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis),
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_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis)::DownCast(const Handle(Standard_Transient)& AnObject) 
67 {
68   Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) _anOtherObject;
69
70   if (!AnObject.IsNull()) {
71      if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis))) {
72        _anOtherObject = Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis)((Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis)&)AnObject);
73      }
74   }
75
76   return _anOtherObject ;
77 }
78 const Handle(Standard_Type)& SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::DynamicType() const 
79
80   return STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) ; 
81 }
82 Standard_Boolean SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::IsKind(const Handle(Standard_Type)& AType) const 
83
84   return (STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) == AType || TCollection_MapNode::IsKind(AType)); 
85 }
86 Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::~Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis() {}
87 #define TheKey TopoDS_Shape
88 #define TheKey_hxx <TopoDS_Shape.hxx>
89 #define TheItem SMESHDS_ListOfPtrHypothesis
90 #define TheItem_hxx <SMESHDS_ListOfPtrHypothesis.hxx>
91 #define Hasher TopTools_ShapeMapHasher
92 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
93 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis
94 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx>
95 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis
96 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis.hxx>
97 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis
98 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_Type_()
99 #define TCollection_DataMap SMESHDS_DataMapOfShapeListOfPtrHypothesis
100 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfShapeListOfPtrHypothesis.hxx>
101 #include <TCollection_DataMapNode.gxx>
102