1 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 #ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
23 #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
28 #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
29 #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
32 #ifndef _GEOMAlgo_PassKey_HeaderFile
33 #include <GEOMAlgo_PassKey.hxx>
35 #ifndef _Standard_Integer_HeaderFile
36 #include <Standard_Integer.hxx>
38 #ifndef _TopTools_ListOfShape_HeaderFile
39 #include <TopTools_ListOfShape.hxx>
41 #ifndef _TCollection_MapNodePtr_HeaderFile
42 #include <TCollection_MapNodePtr.hxx>
44 #ifndef _TCollection_MapNode_HeaderFile
45 #include <TCollection_MapNode.hxx>
47 class GEOMAlgo_PassKey;
48 class TopTools_ListOfShape;
49 class GEOMAlgo_PassKeyMapHasher;
50 class GEOMAlgo_IndexedDataMapOfPassKeyListOfShape;
53 class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape : public TCollection_MapNode {
57 void* operator new(size_t,void* anAddress)
61 void* operator new(size_t size)
63 return Standard::Allocate(size);
65 void operator delete(void *anAddress)
67 if (anAddress) Standard::Free((Standard_Address&)anAddress);
71 GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape(const GEOMAlgo_PassKey& K1,const Standard_Integer K2,const TopTools_ListOfShape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
72 GEOMAlgo_PassKey& Key1() const;
73 Standard_Integer& Key2() const;
74 TCollection_MapNodePtr& Next2() const;
75 TopTools_ListOfShape& Value() const;
76 Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape();
83 Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_();
84 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
85 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
105 GEOMAlgo_PassKey myKey1;
106 Standard_Integer myKey2;
107 TopTools_ListOfShape myValue;
108 TCollection_MapNodePtr myNext2;
113 #define TheKey GEOMAlgo_PassKey
114 #define TheKey_hxx <GEOMAlgo_PassKey.hxx>
115 #define TheItem TopTools_ListOfShape
116 #define TheItem_hxx <TopTools_ListOfShape.hxx>
117 #define Hasher GEOMAlgo_PassKeyMapHasher
118 #define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
119 #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
120 #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
121 #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
122 #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_()
123 #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyListOfShape
124 #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
126 #include <TCollection_IndexedDataMapNode.lxx>
134 #undef TCollection_IndexedDataMapNode
135 #undef TCollection_IndexedDataMapNode_hxx
136 #undef Handle_TCollection_IndexedDataMapNode
137 #undef TCollection_IndexedDataMapNode_Type_
138 #undef TCollection_IndexedDataMap
139 #undef TCollection_IndexedDataMap_hxx
142 // other Inline functions and methods (like "C++: function call" methods)