1 // 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 #ifndef _SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_HeaderFile
17 #define _SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_HeaderFile
23 #include "Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh.hxx"
26 #ifndef _TopoDS_Shape_HeaderFile
27 #include <TopoDS_Shape.hxx>
29 #ifndef _Handle_SMESHDS_SubMesh_HeaderFile
30 #include "Handle_SMESHDS_SubMesh.hxx"
32 #ifndef _TCollection_MapNode_HeaderFile
33 #include <TCollection_MapNode.hxx>
35 #ifndef _TCollection_MapNodePtr_HeaderFile
36 #include <TCollection_MapNodePtr.hxx>
38 class SMESHDS_SubMesh;
40 class TopTools_ShapeMapHasher;
41 class SMESHDS_DataMapOfShapeSubMesh;
42 class SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh;
45 class SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh : public TCollection_MapNode {
49 inline void* operator new(size_t,void* anAddress)
53 inline void* operator new(size_t size)
55 return Standard::Allocate(size);
57 inline void operator delete(void *anAddress)
59 if (anAddress) Standard::Free((Standard_Address&)anAddress);
61 // inline void operator delete(void *anAddress, size_t size)
63 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
67 Standard_EXPORT inline SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh(const TopoDS_Shape& K,const Handle(SMESHDS_SubMesh)& I,const TCollection_MapNodePtr& n);
68 Standard_EXPORT inline TopoDS_Shape& Key() const;
69 Standard_EXPORT inline Handle_SMESHDS_SubMesh& Value() const;
70 Standard_EXPORT ~SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh();
77 Standard_EXPORT friend Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_Type_();
78 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
79 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
100 Handle_SMESHDS_SubMesh myValue;
105 #define TheKey TopoDS_Shape
106 #define TheKey_hxx <TopoDS_Shape.hxx>
107 #define TheItem Handle_SMESHDS_SubMesh
108 #define TheItem_hxx <SMESHDS_SubMesh.hxx>
109 #define Hasher TopTools_ShapeMapHasher
110 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
111 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh
112 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh.hxx>
113 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh
114 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh.hxx>
115 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh
116 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_Type_()
117 #define TCollection_DataMap SMESHDS_DataMapOfShapeSubMesh
118 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfShapeSubMesh.hxx>
120 #include <TCollection_DataMapNode.lxx>
128 #undef TCollection_DataMapNode
129 #undef TCollection_DataMapNode_hxx
130 #undef TCollection_DataMapIterator
131 #undef TCollection_DataMapIterator_hxx
132 #undef Handle_TCollection_DataMapNode
133 #undef TCollection_DataMapNode_Type_
134 #undef TCollection_DataMap
135 #undef TCollection_DataMap_hxx
138 // other inline functions and methods (like "C++: function call" methods)