Version: 6.3.1

src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBndSphere.hxx

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