Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMESHDS / SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
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.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_HeaderFile
17 #define _SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_HeaderFile
23 #include "Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx"
24 #endif
25
26 #ifndef _TopoDS_Shape_HeaderFile
27 #include <TopoDS_Shape.hxx>
28 #endif
29 #ifndef _SMESHDS_ListOfPtrHypothesis_HeaderFile
30 #include "SMESHDS_ListOfPtrHypothesis.hxx"
31 #endif
32 #ifndef _TCollection_MapNode_HeaderFile
33 #include <TCollection_MapNode.hxx>
34 #endif
35 #ifndef _TCollection_MapNodePtr_HeaderFile
36 #include <TCollection_MapNodePtr.hxx>
37 #endif
38 class TopoDS_Shape;
39 class SMESHDS_ListOfPtrHypothesis;
40 class TopTools_ShapeMapHasher;
41 class SMESHDS_DataMapOfShapeListOfPtrHypothesis;
42 class SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis;
43
44
45 class SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis : public TCollection_MapNode {
46
47 public:
48
49     inline void* operator new(size_t,void* anAddress) 
50       {
51         return anAddress;
52       }
53     inline void* operator new(size_t size) 
54       { 
55         return Standard::Allocate(size); 
56       }
57     inline void  operator delete(void *anAddress) 
58       { 
59         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
60       }
61 //    inline void  operator delete(void *anAddress, size_t size) 
62 //      { 
63 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
64 //      }
65  // Methods PUBLIC
66  // 
67 Standard_EXPORT inline SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis(const TopoDS_Shape& K,const SMESHDS_ListOfPtrHypothesis& I,const TCollection_MapNodePtr& n);
68 Standard_EXPORT inline   TopoDS_Shape& Key() const;
69 Standard_EXPORT inline   SMESHDS_ListOfPtrHypothesis& Value() const;
70 Standard_EXPORT ~SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis();
71
72
73
74
75  // Type management
76  //
77  Standard_EXPORT friend Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_Type_();
78  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
79  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
80
81 protected:
82
83  // Methods PROTECTED
84  // 
85
86
87  // Fields PROTECTED
88  //
89
90
91 private: 
92
93  // Methods PRIVATE
94  // 
95
96
97  // Fields PRIVATE
98  //
99 TopoDS_Shape myKey;
100 SMESHDS_ListOfPtrHypothesis myValue;
101
102
103 };
104
105 #define TheKey TopoDS_Shape
106 #define TheKey_hxx <TopoDS_Shape.hxx>
107 #define TheItem SMESHDS_ListOfPtrHypothesis
108 #define TheItem_hxx <SMESHDS_ListOfPtrHypothesis.hxx>
109 #define Hasher TopTools_ShapeMapHasher
110 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
111 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis
112 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis.hxx>
113 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis
114 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfShapeListOfPtrHypothesis.hxx>
115 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis
116 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfShapeListOfPtrHypothesis_Type_()
117 #define TCollection_DataMap SMESHDS_DataMapOfShapeListOfPtrHypothesis
118 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfShapeListOfPtrHypothesis.hxx>
119
120 #include <TCollection_DataMapNode.lxx>
121
122 #undef TheKey
123 #undef TheKey_hxx
124 #undef TheItem
125 #undef TheItem_hxx
126 #undef Hasher
127 #undef Hasher_hxx
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
136
137
138 // other inline functions and methods (like "C++: function call" methods)
139 //
140
141
142 #endif