/src/contrib/geom-5.1.2.7/inc/NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx

http://pythonocc.googlecode.com/ · C++ Header · 133 lines · 65 code · 31 blank · 37 comment · 0 complexity · 20864ce83094af48b4dae9d3973dd7bb 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 _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
  23. #define _NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
  24. #ifndef _Standard_HeaderFile
  25. #include <Standard.hxx>
  26. #endif
  27. #ifndef _Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_HeaderFile
  28. #include <Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
  29. #endif
  30. #ifndef _Standard_Integer_HeaderFile
  31. #include <Standard_Integer.hxx>
  32. #endif
  33. #ifndef _TColStd_MapOfInteger_HeaderFile
  34. #include <TColStd_MapOfInteger.hxx>
  35. #endif
  36. #ifndef _TCollection_MapNode_HeaderFile
  37. #include <TCollection_MapNode.hxx>
  38. #endif
  39. #ifndef _TCollection_MapNodePtr_HeaderFile
  40. #include <TCollection_MapNodePtr.hxx>
  41. #endif
  42. class TColStd_MapOfInteger;
  43. class TColStd_MapIntegerHasher;
  44. class NMTDS_DataMapOfIntegerMapOfInteger;
  45. class NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger;
  46. class NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger : public TCollection_MapNode {
  47. public:
  48. // Methods PUBLIC
  49. //
  50. NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger(const Standard_Integer& K,const TColStd_MapOfInteger& I,const TCollection_MapNodePtr& n);
  51. Standard_Integer& Key() const;
  52. TColStd_MapOfInteger& Value() const;
  53. //Standard_EXPORT ~NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger();
  54. // Type management
  55. //
  56. Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
  57. //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
  58. protected:
  59. // Methods PROTECTED
  60. //
  61. // Fields PROTECTED
  62. //
  63. private:
  64. // Methods PRIVATE
  65. //
  66. // Fields PRIVATE
  67. //
  68. Standard_Integer myKey;
  69. TColStd_MapOfInteger myValue;
  70. };
  71. #define TheKey Standard_Integer
  72. #define TheKey_hxx <Standard_Integer.hxx>
  73. #define TheItem TColStd_MapOfInteger
  74. #define TheItem_hxx <TColStd_MapOfInteger.hxx>
  75. #define Hasher TColStd_MapIntegerHasher
  76. #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
  77. #define TCollection_DataMapNode NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
  78. #define TCollection_DataMapNode_hxx <NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger.hxx>
  79. #define TCollection_DataMapIterator NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger
  80. #define TCollection_DataMapIterator_hxx <NMTDS_DataMapIteratorOfDataMapOfIntegerMapOfInteger.hxx>
  81. #define Handle_TCollection_DataMapNode Handle_NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger
  82. #define TCollection_DataMapNode_Type_() NMTDS_DataMapNodeOfDataMapOfIntegerMapOfInteger_Type_()
  83. #define TCollection_DataMap NMTDS_DataMapOfIntegerMapOfInteger
  84. #define TCollection_DataMap_hxx <NMTDS_DataMapOfIntegerMapOfInteger.hxx>
  85. #include <TCollection_DataMapNode.lxx>
  86. #undef TheKey
  87. #undef TheKey_hxx
  88. #undef TheItem
  89. #undef TheItem_hxx
  90. #undef Hasher
  91. #undef Hasher_hxx
  92. #undef TCollection_DataMapNode
  93. #undef TCollection_DataMapNode_hxx
  94. #undef TCollection_DataMapIterator
  95. #undef TCollection_DataMapIterator_hxx
  96. #undef Handle_TCollection_DataMapNode
  97. #undef TCollection_DataMapNode_Type_
  98. #undef TCollection_DataMap
  99. #undef TCollection_DataMap_hxx
  100. // other Inline functions and methods (like "C++: function call" methods)
  101. //
  102. #endif