/src/contrib/geom-5.1.2.7/inc_pythonocc/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo.hxx

http://pythonocc.googlecode.com/ · C++ Header · 138 lines · 68 code · 33 blank · 37 comment · 0 complexity · dc0ae652e917f110079c7576cdac4c0f MD5 · raw file

  1. // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
  2. //
  3. // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
  4. // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
  5. //
  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.
  10. //
  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.
  15. //
  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
  19. //
  20. // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
  21. //
  22. #ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo_HeaderFile
  23. #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo_HeaderFile
  24. #ifndef _Standard_HeaderFile
  25. #include <Standard.hxx>
  26. #endif
  27. #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo_HeaderFile
  28. #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo.hxx>
  29. #endif
  30. #ifndef _TopoDS_Shape_HeaderFile
  31. #include <TopoDS_Shape.hxx>
  32. #endif
  33. #ifndef _Standard_Integer_HeaderFile
  34. #include <Standard_Integer.hxx>
  35. #endif
  36. #ifndef _GEOMAlgo_ShapeInfo_HeaderFile
  37. #include <GEOMAlgo_ShapeInfo.hxx>
  38. #endif
  39. #ifndef _TCollection_MapNodePtr_HeaderFile
  40. #include <TCollection_MapNodePtr.hxx>
  41. #endif
  42. #ifndef _TCollection_MapNode_HeaderFile
  43. #include <TCollection_MapNode.hxx>
  44. #endif
  45. class TopoDS_Shape;
  46. class GEOMAlgo_ShapeInfo;
  47. class TopTools_ShapeMapHasher;
  48. class GEOMAlgo_IndexedDataMapOfShapeShapeInfo;
  49. class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo : public TCollection_MapNode {
  50. public:
  51. // Methods PUBLIC
  52. //
  53. GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo(const TopoDS_Shape& K1,const Standard_Integer K2,const GEOMAlgo_ShapeInfo& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
  54. TopoDS_Shape& Key1() const;
  55. Standard_Integer& Key2() const;
  56. TCollection_MapNodePtr& Next2() const;
  57. GEOMAlgo_ShapeInfo& Value() const;
  58. //Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo();
  59. // Type management
  60. //
  61. Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
  62. //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
  63. protected:
  64. // Methods PROTECTED
  65. //
  66. // Fields PROTECTED
  67. //
  68. private:
  69. // Methods PRIVATE
  70. //
  71. // Fields PRIVATE
  72. //
  73. TopoDS_Shape myKey1;
  74. Standard_Integer myKey2;
  75. GEOMAlgo_ShapeInfo myValue;
  76. TCollection_MapNodePtr myNext2;
  77. };
  78. #define TheKey TopoDS_Shape
  79. #define TheKey_hxx <TopoDS_Shape.hxx>
  80. #define TheItem GEOMAlgo_ShapeInfo
  81. #define TheItem_hxx <GEOMAlgo_ShapeInfo.hxx>
  82. #define Hasher TopTools_ShapeMapHasher
  83. #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
  84. #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo
  85. #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo.hxx>
  86. #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo
  87. #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeShapeInfo_Type_()
  88. #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeShapeInfo
  89. #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx>
  90. #include <TCollection_IndexedDataMapNode.lxx>
  91. #undef TheKey
  92. #undef TheKey_hxx
  93. #undef TheItem
  94. #undef TheItem_hxx
  95. #undef Hasher
  96. #undef Hasher_hxx
  97. #undef TCollection_IndexedDataMapNode
  98. #undef TCollection_IndexedDataMapNode_hxx
  99. #undef Handle_TCollection_IndexedDataMapNode
  100. #undef TCollection_IndexedDataMapNode_Type_
  101. #undef TCollection_IndexedDataMap
  102. #undef TCollection_IndexedDataMap_hxx
  103. // other Inline functions and methods (like "C++: function call" methods)
  104. //
  105. #endif