2 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
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.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #include "SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _TopoDS_Shape_HeaderFile
23 #include <TopoDS_Shape.hxx>
25 #ifndef _SMESHDS_ListOfPtrHypothesis_HeaderFile
26 #include "SMESHDS_ListOfPtrHypothesis.hxx"
28 #ifndef _TopTools_ShapeMapHasher_HeaderFile
29 #include <TopTools_ShapeMapHasher.hxx>
31 #ifndef _SMESHDS_DataMapOfShapeListOfPtrHypothesis_HeaderFile
32 #include "SMESHDS_DataMapOfShapeListOfPtrHypothesis.hxx"
34 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis_HeaderFile
35 #include "SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis.hxx"
37 SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::~SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis() {}
41 Standard_EXPORT Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_Type_()
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);
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),
56 (Standard_Address)_Ancestors,
57 (Standard_Address)NULL);
64 // allow safe downcasting
66 const Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis)::DownCast(const Handle(Standard_Transient)& AnObject)
68 Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) _anOtherObject;
70 if (!AnObject.IsNull()) {
71 if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis))) {
72 _anOtherObject = Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis)((Handle(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis)&)AnObject);
76 return _anOtherObject ;
78 const Handle(Standard_Type)& SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::DynamicType() const
80 return STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) ;
82 Standard_Boolean SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis::IsKind(const Handle(Standard_Type)& AType) const
84 return (STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis) == AType || TCollection_MapNode::IsKind(AType));
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>