Salome HOME
Update copyright
[modules/geom.git] / src / NMTTools / NMTTools_StdMapNodeOfMapOfPaveBlock.hxx
1 // Copyright (C) 2007-2011  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
23 #ifndef _NMTTools_StdMapNodeOfMapOfPaveBlock_HeaderFile
24 #define _NMTTools_StdMapNodeOfMapOfPaveBlock_HeaderFile
25
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
28 #endif
29 #ifndef _Handle_NMTTools_StdMapNodeOfMapOfPaveBlock_HeaderFile
30 #include <Handle_NMTTools_StdMapNodeOfMapOfPaveBlock.hxx>
31 #endif
32
33 #ifndef _BOPTools_PaveBlock_HeaderFile
34 #include <BOPTools_PaveBlock.hxx>
35 #endif
36 #ifndef _TCollection_MapNode_HeaderFile
37 #include <TCollection_MapNode.hxx>
38 #endif
39 #ifndef _TCollection_MapNodePtr_HeaderFile
40 #include <TCollection_MapNodePtr.hxx>
41 #endif
42 class BOPTools_PaveBlock;
43 class BOPTools_PaveBlockMapHasher;
44 class NMTTools_MapOfPaveBlock;
45 class NMTTools_MapIteratorOfMapOfPaveBlock;
46
47
48
49 class NMTTools_StdMapNodeOfMapOfPaveBlock : public TCollection_MapNode {
50
51 public:
52  // Methods PUBLIC
53  // 
54
55 NMTTools_StdMapNodeOfMapOfPaveBlock(const BOPTools_PaveBlock& K,const TCollection_MapNodePtr& n);
56
57   BOPTools_PaveBlock& Key() const;
58 //Standard_EXPORT ~NMTTools_StdMapNodeOfMapOfPaveBlock();
59
60
61
62
63  // Type management
64  //
65  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
66  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
67
68 protected:
69
70  // Methods PROTECTED
71  // 
72
73
74  // Fields PROTECTED
75  //
76
77
78 private: 
79
80  // Methods PRIVATE
81  // 
82
83
84  // Fields PRIVATE
85  //
86 BOPTools_PaveBlock myKey;
87
88
89 };
90
91 #define TheKey BOPTools_PaveBlock
92 #define TheKey_hxx <BOPTools_PaveBlock.hxx>
93 #define Hasher BOPTools_PaveBlockMapHasher
94 #define Hasher_hxx <BOPTools_PaveBlockMapHasher.hxx>
95 #define TCollection_StdMapNode NMTTools_StdMapNodeOfMapOfPaveBlock
96 #define TCollection_StdMapNode_hxx <NMTTools_StdMapNodeOfMapOfPaveBlock.hxx>
97 #define TCollection_MapIterator NMTTools_MapIteratorOfMapOfPaveBlock
98 #define TCollection_MapIterator_hxx <NMTTools_MapIteratorOfMapOfPaveBlock.hxx>
99 #define Handle_TCollection_StdMapNode Handle_NMTTools_StdMapNodeOfMapOfPaveBlock
100 #define TCollection_StdMapNode_Type_() NMTTools_StdMapNodeOfMapOfPaveBlock_Type_()
101 #define TCollection_Map NMTTools_MapOfPaveBlock
102 #define TCollection_Map_hxx <NMTTools_MapOfPaveBlock.hxx>
103
104 #include <TCollection_StdMapNode.lxx>
105
106 #undef TheKey
107 #undef TheKey_hxx
108 #undef Hasher
109 #undef Hasher_hxx
110 #undef TCollection_StdMapNode
111 #undef TCollection_StdMapNode_hxx
112 #undef TCollection_MapIterator
113 #undef TCollection_MapIterator_hxx
114 #undef Handle_TCollection_StdMapNode
115 #undef TCollection_StdMapNode_Type_
116 #undef TCollection_Map
117 #undef TCollection_Map_hxx
118
119
120 // other Inline functions and methods (like "C++: function call" methods)
121 //
122
123
124 #endif