1 // File generated by CPPExt (Transient)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
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.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
17 #ifndef _Standard_TypeMismatch_HeaderFile
18 #include <Standard_TypeMismatch.hxx>
21 #ifndef _TopoDS_Shape_HeaderFile
22 #include <TopoDS_Shape.hxx>
24 #ifndef _TopTools_IndexedMapOfShape_HeaderFile
25 #include <TopTools_IndexedMapOfShape.hxx>
27 #ifndef _TopTools_ShapeMapHasher_HeaderFile
28 #include <TopTools_ShapeMapHasher.hxx>
30 #ifndef _NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
31 #include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
33 NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape() {}
37 Standard_EXPORT Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_Type_()
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);
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),
52 (Standard_Address)_Ancestors,
53 (Standard_Address)NULL);
60 // allow safe downcasting
62 const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)::DownCast(const Handle(Standard_Transient)& AnObject)
64 Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) _anOtherObject;
66 if (!AnObject.IsNull()) {
67 if (AnObject->IsKind(STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape))) {
68 _anOtherObject = Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)((Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)&)AnObject);
72 return _anOtherObject ;
74 const Handle(Standard_Type)& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::DynamicType() const
76 return STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) ;
78 Standard_Boolean NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::IsKind(const Handle(Standard_Type)& AType) const
80 return (STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) == AType || TCollection_MapNode::IsKind(AType));
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>