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_DataMapNodeOfDataMapOfIntegerSubMesh.hxx"
18 #ifndef _Standard_TypeMismatch_HeaderFile
19 #include <Standard_TypeMismatch.hxx>
22 #ifndef _SMESHDS_SubMesh_HeaderFile
23 #include "SMESHDS_SubMesh.hxx"
25 #ifndef _TColStd_MapIntegerHasher_HeaderFile
26 #include <TColStd_MapIntegerHasher.hxx>
28 #ifndef _SMESHDS_DataMapOfIntegerSubMesh_HeaderFile
29 #include "SMESHDS_DataMapOfIntegerSubMesh.hxx"
31 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfIntegerSubMesh_HeaderFile
32 #include "SMESHDS_DataMapIteratorOfDataMapOfIntegerSubMesh.hxx"
34 SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh::~SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh() {}
38 Standard_EXPORT Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh_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("SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh",
51 sizeof(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh),
53 (Standard_Address)_Ancestors,
54 (Standard_Address)NULL);
61 // allow safe downcasting
63 const Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh) Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh)::DownCast(const Handle(Standard_Transient)& AnObject)
65 Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh) _anOtherObject;
67 if (!AnObject.IsNull()) {
68 if (AnObject->IsKind(STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh))) {
69 _anOtherObject = Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh)((Handle(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh)&)AnObject);
73 return _anOtherObject ;
75 const Handle(Standard_Type)& SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh::DynamicType() const
77 return STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh) ;
79 Standard_Boolean SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh::IsKind(const Handle(Standard_Type)& AType) const
81 return (STANDARD_TYPE(SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh) == AType || TCollection_MapNode::IsKind(AType));
83 Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh::~Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh() {}
84 #define TheKey Standard_Integer
85 #define TheKey_hxx <Standard_Integer.hxx>
86 #define TheItem Handle_SMESHDS_SubMesh
87 #define TheItem_hxx <SMESHDS_SubMesh.hxx>
88 #define Hasher TColStd_MapIntegerHasher
89 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
90 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh
91 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh.hxx>
92 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfIntegerSubMesh
93 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfIntegerSubMesh.hxx>
94 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh
95 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfIntegerSubMesh_Type_()
96 #define TCollection_DataMap SMESHDS_DataMapOfIntegerSubMesh
97 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfIntegerSubMesh.hxx>
98 #include <TCollection_DataMapNode.gxx>