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