Salome HOME
1ba3c8bc202ec8f4c3f7db1f8756145364d651c9
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape_HeaderFile
23 #define _GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape_HeaderFile
24
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
27 #endif
28 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape_HeaderFile
29 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape.hxx>
30 #endif
31
32 #ifndef _Standard_Real_HeaderFile
33 #include <Standard_Real.hxx>
34 #endif
35 #ifndef _TopTools_ListOfShape_HeaderFile
36 #include <TopTools_ListOfShape.hxx>
37 #endif
38 #ifndef _TCollection_MapNode_HeaderFile
39 #include <TCollection_MapNode.hxx>
40 #endif
41 #ifndef _TCollection_MapNodePtr_HeaderFile
42 #include <TCollection_MapNodePtr.hxx>
43 #endif
44 class TopTools_ListOfShape;
45 class TColStd_MapRealHasher;
46 class GEOMAlgo_DataMapOfRealListOfShape;
47 class GEOMAlgo_DataMapIteratorOfDataMapOfRealListOfShape;
48
49
50
51 class GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape : public TCollection_MapNode {
52
53 public:
54  // Methods PUBLIC
55  // 
56
57 GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape(const Standard_Real& K,const TopTools_ListOfShape& I,const TCollection_MapNodePtr& n);
58
59   Standard_Real& Key() const;
60
61   TopTools_ListOfShape& Value() const;
62 //Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape();
63
64
65
66
67  // Type management
68  //
69  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
70  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
71
72 protected:
73
74  // Methods PROTECTED
75  // 
76
77
78  // Fields PROTECTED
79  //
80
81
82 private: 
83
84  // Methods PRIVATE
85  // 
86
87
88  // Fields PRIVATE
89  //
90 Standard_Real myKey;
91 TopTools_ListOfShape myValue;
92
93
94 };
95
96 #define TheKey Standard_Real
97 #define TheKey_hxx <Standard_Real.hxx>
98 #define TheItem TopTools_ListOfShape
99 #define TheItem_hxx <TopTools_ListOfShape.hxx>
100 #define Hasher TColStd_MapRealHasher
101 #define Hasher_hxx <TColStd_MapRealHasher.hxx>
102 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape
103 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape.hxx>
104 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfRealListOfShape
105 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfRealListOfShape.hxx>
106 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape
107 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfRealListOfShape_Type_()
108 #define TCollection_DataMap GEOMAlgo_DataMapOfRealListOfShape
109 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfRealListOfShape.hxx>
110
111 #include <TCollection_DataMapNode.lxx>
112
113 #undef TheKey
114 #undef TheKey_hxx
115 #undef TheItem
116 #undef TheItem_hxx
117 #undef Hasher
118 #undef Hasher_hxx
119 #undef TCollection_DataMapNode
120 #undef TCollection_DataMapNode_hxx
121 #undef TCollection_DataMapIterator
122 #undef TCollection_DataMapIterator_hxx
123 #undef Handle_TCollection_DataMapNode
124 #undef TCollection_DataMapNode_Type_
125 #undef TCollection_DataMap
126 #undef TCollection_DataMap_hxx
127
128
129 // other Inline functions and methods (like "C++: function call" methods)
130 //
131
132
133 #endif