Salome HOME
0bfd4cdf38c3cfab7de71b39cc0269ae2ca0a56b
[modules/geom.git] / src / NMTDS / NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.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 _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
23 #define _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
24
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
27 #endif
28 #ifndef _Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
29 #include <Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
30 #endif
31
32 #ifndef _Standard_Integer_HeaderFile
33 #include <Standard_Integer.hxx>
34 #endif
35 #ifndef _TColStd_MapOfInteger_HeaderFile
36 #include <TColStd_MapOfInteger.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 TColStd_MapOfInteger;
45 class TColStd_MapIntegerHasher;
46 class NMTDS_DataMapOfIntegerMapOfInteger;
47 class NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger;
48
49
50
51 class NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger : public TCollection_MapNode {
52
53 public:
54  // Methods PUBLIC
55  // 
56
57 NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger(const Standard_Integer& K,const TColStd_MapOfInteger& I,const TCollection_MapNodePtr& n);
58
59   Standard_Integer& Key() const;
60
61   TColStd_MapOfInteger& Value() const;
62 //Standard_EXPORT ~NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger();
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_Integer myKey;
91 TColStd_MapOfInteger myValue;
92
93
94 };
95
96 #define TheKey Standard_Integer
97 #define TheKey_hxx <Standard_Integer.hxx>
98 #define TheItem TColStd_MapOfInteger
99 #define TheItem_hxx <TColStd_MapOfInteger.hxx>
100 #define Hasher TColStd_MapIntegerHasher
101 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
102 #define TCollection_DataMapNode NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
103 #define TCollection_DataMapNode_hxx <NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
104 #define TCollection_DataMapIterator NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger
105 #define TCollection_DataMapIterator_hxx <NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger.hxx>
106 #define Handle_TCollection_DataMapNode Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
107 #define TCollection_DataMapNode_Type_() NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_Type_()
108 #define TCollection_DataMap NMTDS_DataMapOfIntegerMapOfInteger
109 #define TCollection_DataMap_hxx <NMTDS_DataMapOfIntegerMapOfInteger.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