Version: 6.3.1

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