Salome HOME
NPAL15298: geompy.KindOfShape(aShape) first version implemented.
[modules/geom.git] / src / NMTTools / NMTTools_StdMapNodeOfMapOfPaveBlock.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 _NMTTools_StdMapNodeOfMapOfPaveBlock_HeaderFile
21 #define _NMTTools_StdMapNodeOfMapOfPaveBlock_HeaderFile
22
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
25 #endif
26 #ifndef _Handle_NMTTools_StdMapNodeOfMapOfPaveBlock_HeaderFile
27 #include <Handle_NMTTools_StdMapNodeOfMapOfPaveBlock.hxx>
28 #endif
29
30 #ifndef _BOPTools_PaveBlock_HeaderFile
31 #include <BOPTools_PaveBlock.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 BOPTools_PaveBlock;
40 class BOPTools_PaveBlockMapHasher;
41 class NMTTools_MapOfPaveBlock;
42 class NMTTools_MapIteratorOfMapOfPaveBlock;
43
44
45
46 class NMTTools_StdMapNodeOfMapOfPaveBlock : public TCollection_MapNode {
47
48 public:
49  // Methods PUBLIC
50  // 
51
52 NMTTools_StdMapNodeOfMapOfPaveBlock(const BOPTools_PaveBlock& K,const TCollection_MapNodePtr& n);
53
54   BOPTools_PaveBlock& Key() const;
55 //Standard_EXPORT ~NMTTools_StdMapNodeOfMapOfPaveBlock();
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 BOPTools_PaveBlock myKey;
84
85
86 };
87
88 #define TheKey BOPTools_PaveBlock
89 #define TheKey_hxx <BOPTools_PaveBlock.hxx>
90 #define Hasher BOPTools_PaveBlockMapHasher
91 #define Hasher_hxx <BOPTools_PaveBlockMapHasher.hxx>
92 #define TCollection_StdMapNode NMTTools_StdMapNodeOfMapOfPaveBlock
93 #define TCollection_StdMapNode_hxx <NMTTools_StdMapNodeOfMapOfPaveBlock.hxx>
94 #define TCollection_MapIterator NMTTools_MapIteratorOfMapOfPaveBlock
95 #define TCollection_MapIterator_hxx <NMTTools_MapIteratorOfMapOfPaveBlock.hxx>
96 #define Handle_TCollection_StdMapNode Handle_NMTTools_StdMapNodeOfMapOfPaveBlock
97 #define TCollection_StdMapNode_Type_() NMTTools_StdMapNodeOfMapOfPaveBlock_Type_()
98 #define TCollection_Map NMTTools_MapOfPaveBlock
99 #define TCollection_Map_hxx <NMTTools_MapOfPaveBlock.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