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 "SMDS_StdMapNodeOfExtendedOrientedMap.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _SMDS_MeshElement_HeaderFile
23 #include "SMDS_MeshElement.hxx"
25 #ifndef _SMDS_MeshOrientedElementMapHasher_HeaderFile
26 #include "SMDS_MeshOrientedElementMapHasher.hxx"
28 #ifndef _SMDS_ExtendedOrientedMap_HeaderFile
29 #include "SMDS_ExtendedOrientedMap.hxx"
31 #ifndef _SMDS_MapIteratorOfExtendedOrientedMap_HeaderFile
32 #include "SMDS_MapIteratorOfExtendedOrientedMap.hxx"
34 SMDS_StdMapNodeOfExtendedOrientedMap::~SMDS_StdMapNodeOfExtendedOrientedMap() {}
38 Standard_EXPORT Handle_Standard_Type& SMDS_StdMapNodeOfExtendedOrientedMap_Type_()
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);
49 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
50 static Handle_Standard_Type _aType = new Standard_Type("SMDS_StdMapNodeOfExtendedOrientedMap",
51 sizeof(SMDS_StdMapNodeOfExtendedOrientedMap),
53 (Standard_Address)_Ancestors,
54 (Standard_Address)NULL);
61 // allow safe downcasting
63 const Handle(SMDS_StdMapNodeOfExtendedOrientedMap) Handle(SMDS_StdMapNodeOfExtendedOrientedMap)::DownCast(const Handle(Standard_Transient)& AnObject)
65 Handle(SMDS_StdMapNodeOfExtendedOrientedMap) _anOtherObject;
67 if (!AnObject.IsNull()) {
68 if (AnObject->IsKind(STANDARD_TYPE(SMDS_StdMapNodeOfExtendedOrientedMap))) {
69 _anOtherObject = Handle(SMDS_StdMapNodeOfExtendedOrientedMap)((Handle(SMDS_StdMapNodeOfExtendedOrientedMap)&)AnObject);
73 return _anOtherObject ;
75 const Handle(Standard_Type)& SMDS_StdMapNodeOfExtendedOrientedMap::DynamicType() const
77 return STANDARD_TYPE(SMDS_StdMapNodeOfExtendedOrientedMap) ;
79 Standard_Boolean SMDS_StdMapNodeOfExtendedOrientedMap::IsKind(const Handle(Standard_Type)& AType) const
81 return (STANDARD_TYPE(SMDS_StdMapNodeOfExtendedOrientedMap) == AType || TCollection_MapNode::IsKind(AType));
83 Handle_SMDS_StdMapNodeOfExtendedOrientedMap::~Handle_SMDS_StdMapNodeOfExtendedOrientedMap() {}
84 #define TheKey Handle_SMDS_MeshElement
85 #define TheKey_hxx <SMDS_MeshElement.hxx>
86 #define Hasher SMDS_MeshOrientedElementMapHasher
87 #define Hasher_hxx <SMDS_MeshOrientedElementMapHasher.hxx>
88 #define TCollection_StdMapNode SMDS_StdMapNodeOfExtendedOrientedMap
89 #define TCollection_StdMapNode_hxx <SMDS_StdMapNodeOfExtendedOrientedMap.hxx>
90 #define TCollection_MapIterator SMDS_MapIteratorOfExtendedOrientedMap
91 #define TCollection_MapIterator_hxx <SMDS_MapIteratorOfExtendedOrientedMap.hxx>
92 #define Handle_TCollection_StdMapNode Handle_SMDS_StdMapNodeOfExtendedOrientedMap
93 #define TCollection_StdMapNode_Type_() SMDS_StdMapNodeOfExtendedOrientedMap_Type_()
94 #define TCollection_Map SMDS_ExtendedOrientedMap
95 #define TCollection_Map_hxx <SMDS_ExtendedOrientedMap.hxx>
96 #include <TCollection_StdMapNode.gxx>