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_DataMapNodeOfDataMapOfShapeSubMesh.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _SMESHDS_SubMesh_HeaderFile
23 #include "SMESHDS_SubMesh.hxx"
25 #ifndef _TopoDS_Shape_HeaderFile
26 #include <TopoDS_Shape.hxx>
28 #ifndef _TopTools_ShapeMapHasher_HeaderFile
29 #include <TopTools_ShapeMapHasher.hxx>
31 #ifndef _SMESHDS_DataMapOfShapeSubMesh_HeaderFile
32 #include "SMESHDS_DataMapOfShapeSubMesh.hxx"
34 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh_HeaderFile
35 #include "SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh.hxx"
37 SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::~SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh() {}
41 Standard_EXPORT Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_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_DataMapNodeOfDataMapOfShapeSubMesh",
54 sizeof(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh),
56 (Standard_Address)_Ancestors,
57 (Standard_Address)NULL);
64 // allow safe downcasting
66 const Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh)::DownCast(const Handle(Standard_Transient)& AnObject)
68 Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) _anOtherObject;
70 if (!AnObject.IsNull()) {
71 if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh))) {
72 _anOtherObject = Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh)((Handle(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh)&)AnObject);
76 return _anOtherObject ;
78 const Handle(Standard_Type)& SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::DynamicType() const
80 return STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) ;
82 Standard_Boolean SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::IsKind(const Handle(Standard_Type)& AType) const
84 return (STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh) == AType || TCollection_MapNode::IsKind(AType));
86 Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh::~Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh() {}
87 #define TheKey TopoDS_Shape
88 #define TheKey_hxx <TopoDS_Shape.hxx>
89 #define TheItem Handle_SMESHDS_SubMesh
90 #define TheItem_hxx <SMESHDS_SubMesh.hxx>
91 #define Hasher TopTools_ShapeMapHasher
92 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
93 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh
94 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh.hxx>
95 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh
96 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh.hxx>
97 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh
98 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_Type_()
99 #define TCollection_DataMap SMESHDS_DataMapOfShapeSubMesh
100 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfShapeSubMesh.hxx>
101 #include <TCollection_DataMapNode.gxx>