Version: 6.3.1

src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.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_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
00024 #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
00025 
00026 #ifndef _Standard_HeaderFile
00027 #include <Standard.hxx>
00028 #endif
00029 #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
00030 #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
00031 #endif
00032 
00033 #ifndef _TopoDS_Shape_HeaderFile
00034 #include <TopoDS_Shape.hxx>
00035 #endif
00036 #ifndef _Standard_Integer_HeaderFile
00037 #include <Standard_Integer.hxx>
00038 #endif
00039 #ifndef _Bnd_Box_HeaderFile
00040 #include <Bnd_Box.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 TopoDS_Shape;
00049 class Bnd_Box;
00050 class TopTools_ShapeMapHasher;
00051 class GEOMAlgo_IndexedDataMapOfShapeBox;
00052 
00053 
00054 
00055 class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox : public TCollection_MapNode {
00056 
00057 public:
00058  // Methods PUBLIC
00059  // 
00060 
00061 GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox(const TopoDS_Shape& K1,const Standard_Integer K2,const Bnd_Box& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
00062 
00063   TopoDS_Shape& Key1() const;
00064 
00065   Standard_Integer& Key2() const;
00066 
00067   TCollection_MapNodePtr& Next2() const;
00068 
00069   Bnd_Box& Value() const;
00070 //Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox();
00071 
00072 
00073 
00074 
00075  // Type management
00076  //
00077  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
00078  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
00079 
00080 protected:
00081 
00082  // Methods PROTECTED
00083  // 
00084 
00085 
00086  // Fields PROTECTED
00087  //
00088 
00089 
00090 private: 
00091 
00092  // Methods PRIVATE
00093  // 
00094 
00095 
00096  // Fields PRIVATE
00097  //
00098 TopoDS_Shape myKey1;
00099 Standard_Integer myKey2;
00100 Bnd_Box myValue;
00101 TCollection_MapNodePtr myNext2;
00102 
00103 
00104 };
00105 
00106 #define TheKey TopoDS_Shape
00107 #define TheKey_hxx <TopoDS_Shape.hxx>
00108 #define TheItem Bnd_Box
00109 #define TheItem_hxx <Bnd_Box.hxx>
00110 #define Hasher TopTools_ShapeMapHasher
00111 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
00112 #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
00113 #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
00114 #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
00115 #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_Type_()
00116 #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeBox
00117 #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
00118 
00119 #include <TCollection_IndexedDataMapNode.lxx>
00120 
00121 #undef TheKey
00122 #undef TheKey_hxx
00123 #undef TheItem
00124 #undef TheItem_hxx
00125 #undef Hasher
00126 #undef Hasher_hxx
00127 #undef TCollection_IndexedDataMapNode
00128 #undef TCollection_IndexedDataMapNode_hxx
00129 #undef Handle_TCollection_IndexedDataMapNode
00130 #undef TCollection_IndexedDataMapNode_Type_
00131 #undef TCollection_IndexedDataMap
00132 #undef TCollection_IndexedDataMap_hxx
00133 
00134 
00135 // other Inline functions and methods (like "C++: function call" methods)
00136 //
00137 
00138 
00139 #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