Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESHDS / SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis.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_DataMapNodeOfDataMapOfIntegerPtrHypothesis_HeaderFile
17 #define _SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis_HeaderFile
23 #include "Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis.hxx"
24 #endif
25
26 #ifndef _Standard_Integer_HeaderFile
27 #include <Standard_Integer.hxx>
28 #endif
29 #ifndef _SMESHDS_PtrHypothesis_HeaderFile
30 #include "SMESHDS_PtrHypothesis.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 TColStd_MapIntegerHasher;
39 class SMESHDS_DataMapOfIntegerPtrHypothesis;
40 class SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis;
41
42
43 class SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis : public TCollection_MapNode {
44
45 public:
46
47     inline void* operator new(size_t,void* anAddress) 
48       {
49         return anAddress;
50       }
51     inline void* operator new(size_t size) 
52       { 
53         return Standard::Allocate(size); 
54       }
55     inline void  operator delete(void *anAddress) 
56       { 
57         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
58       }
59 //    inline void  operator delete(void *anAddress, size_t size) 
60 //      { 
61 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
62 //      }
63  // Methods PUBLIC
64  // 
65 Standard_EXPORT inline SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis(const Standard_Integer& K,const SMESHDS_PtrHypothesis& I,const TCollection_MapNodePtr& n);
66 Standard_EXPORT inline   Standard_Integer& Key() const;
67 Standard_EXPORT inline   SMESHDS_PtrHypothesis& Value() const;
68 Standard_EXPORT ~SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis();
69
70
71
72
73  // Type management
74  //
75  Standard_EXPORT friend Handle_Standard_Type& SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis_Type_();
76  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
77  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
78
79 protected:
80
81  // Methods PROTECTED
82  // 
83
84
85  // Fields PROTECTED
86  //
87
88
89 private: 
90
91  // Methods PRIVATE
92  // 
93
94
95  // Fields PRIVATE
96  //
97 Standard_Integer myKey;
98 SMESHDS_PtrHypothesis myValue;
99
100
101 };
102
103 #define TheKey Standard_Integer
104 #define TheKey_hxx <Standard_Integer.hxx>
105 #define TheItem SMESHDS_PtrHypothesis
106 #define TheItem_hxx <SMESHDS_PtrHypothesis.hxx>
107 #define Hasher TColStd_MapIntegerHasher
108 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
109 #define TCollection_DataMapNode SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis
110 #define TCollection_DataMapNode_hxx <SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis.hxx>
111 #define TCollection_DataMapIterator SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis
112 #define TCollection_DataMapIterator_hxx <SMESHDS_DataMapIteratorOfDataMapOfIntegerPtrHypothesis.hxx>
113 #define Handle_TCollection_DataMapNode Handle_SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis
114 #define TCollection_DataMapNode_Type_() SMESHDS_DataMapNodeOfDataMapOfIntegerPtrHypothesis_Type_()
115 #define TCollection_DataMap SMESHDS_DataMapOfIntegerPtrHypothesis
116 #define TCollection_DataMap_hxx <SMESHDS_DataMapOfIntegerPtrHypothesis.hxx>
117
118 #include <TCollection_DataMapNode.lxx>
119
120 #undef TheKey
121 #undef TheKey_hxx
122 #undef TheItem
123 #undef TheItem_hxx
124 #undef Hasher
125 #undef Hasher_hxx
126 #undef TCollection_DataMapNode
127 #undef TCollection_DataMapNode_hxx
128 #undef TCollection_DataMapIterator
129 #undef TCollection_DataMapIterator_hxx
130 #undef Handle_TCollection_DataMapNode
131 #undef TCollection_DataMapNode_Type_
132 #undef TCollection_DataMap
133 #undef TCollection_DataMap_hxx
134
135
136 // other inline functions and methods (like "C++: function call" methods)
137 //
138
139
140 #endif