Version: 6.3.1

src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 #ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
00024 #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
00025 
00026 #ifndef _Standard_HeaderFile
00027 #include <Standard.hxx>
00028 #endif
00029 #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
00030 #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
00031 #endif
00032 
00033 #ifndef _GEOMAlgo_PassKey_HeaderFile
00034 #include <GEOMAlgo_PassKey.hxx>
00035 #endif
00036 #ifndef _Standard_Integer_HeaderFile
00037 #include <Standard_Integer.hxx>
00038 #endif
00039 #ifndef _TopTools_ListOfShape_HeaderFile
00040 #include <TopTools_ListOfShape.hxx>
00041 #endif
00042 #ifndef _TCollection_MapNodePtr_HeaderFile
00043 #include <TCollection_MapNodePtr.hxx>
00044 #endif
00045 #ifndef _TCollection_MapNode_HeaderFile
00046 #include <TCollection_MapNode.hxx>
00047 #endif
00048 class GEOMAlgo_PassKey;
00049 class TopTools_ListOfShape;
00050 class GEOMAlgo_PassKeyMapHasher;
00051 class GEOMAlgo_IndexedDataMapOfPassKeyListOfShape;
00052 
00053 
00054 class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape : public TCollection_MapNode {
00055 
00056 public:
00057 
00058     void* operator new(size_t,void* anAddress) 
00059       {
00060         return anAddress;
00061       }
00062     void* operator new(size_t size) 
00063       { 
00064         return Standard::Allocate(size); 
00065       }
00066     void  operator delete(void *anAddress) 
00067       { 
00068         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
00069       }
00070  // Methods PUBLIC
00071  // 
00072 GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape(const GEOMAlgo_PassKey& K1,const Standard_Integer K2,const TopTools_ListOfShape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
00073   GEOMAlgo_PassKey& Key1() const;
00074   Standard_Integer& Key2() const;
00075   TCollection_MapNodePtr& Next2() const;
00076   TopTools_ListOfShape& Value() const;
00077 Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape();
00078 
00079 
00080 
00081 
00082  // Type management
00083  //
00084  Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_();
00085  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
00086  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
00087 
00088 protected:
00089 
00090  // Methods PROTECTED
00091  // 
00092 
00093 
00094  // Fields PROTECTED
00095  //
00096 
00097 
00098 private: 
00099 
00100  // Methods PRIVATE
00101  // 
00102 
00103 
00104  // Fields PRIVATE
00105  //
00106 GEOMAlgo_PassKey myKey1;
00107 Standard_Integer myKey2;
00108 TopTools_ListOfShape myValue;
00109 TCollection_MapNodePtr myNext2;
00110 
00111 
00112 };
00113 
00114 #define TheKey GEOMAlgo_PassKey
00115 #define TheKey_hxx <GEOMAlgo_PassKey.hxx>
00116 #define TheItem TopTools_ListOfShape
00117 #define TheItem_hxx <TopTools_ListOfShape.hxx>
00118 #define Hasher GEOMAlgo_PassKeyMapHasher
00119 #define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
00120 #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
00121 #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
00122 #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
00123 #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_()
00124 #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyListOfShape
00125 #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
00126 
00127 #include <TCollection_IndexedDataMapNode.lxx>
00128 
00129 #undef TheKey
00130 #undef TheKey_hxx
00131 #undef TheItem
00132 #undef TheItem_hxx
00133 #undef Hasher
00134 #undef Hasher_hxx
00135 #undef TCollection_IndexedDataMapNode
00136 #undef TCollection_IndexedDataMapNode_hxx
00137 #undef Handle_TCollection_IndexedDataMapNode
00138 #undef TCollection_IndexedDataMapNode_Type_
00139 #undef TCollection_IndexedDataMap
00140 #undef TCollection_IndexedDataMap_hxx
00141 
00142 
00143 // other Inline functions and methods (like "C++: function call" methods)
00144 //
00145 
00146 
00147 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS