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

http://pythonocc.googlecode.com/ · C++ Header · 123 lines · 56 code · 30 blank · 37 comment · 0 complexity · e19766a402e612d2938c2303dad80a53 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_StdMapNodeOfMapOfPassKey_HeaderFile
  23. #define _NMTDS_StdMapNodeOfMapOfPassKey_HeaderFile
  24. #ifndef _Standard_HeaderFile
  25. #include <Standard.hxx>
  26. #endif
  27. #ifndef _Handle_NMTDS_StdMapNodeOfMapOfPassKey_HeaderFile
  28. #include <Handle_NMTDS_StdMapNodeOfMapOfPassKey.hxx>
  29. #endif
  30. #ifndef _NMTDS_PassKey_HeaderFile
  31. #include <NMTDS_PassKey.hxx>
  32. #endif
  33. #ifndef _TCollection_MapNode_HeaderFile
  34. #include <TCollection_MapNode.hxx>
  35. #endif
  36. #ifndef _TCollection_MapNodePtr_HeaderFile
  37. #include <TCollection_MapNodePtr.hxx>
  38. #endif
  39. class NMTDS_PassKey;
  40. class NMTDS_PassKeyMapHasher;
  41. class NMTDS_MapOfPassKey;
  42. class NMTDS_MapIteratorOfMapOfPassKey;
  43. class NMTDS_StdMapNodeOfMapOfPassKey : public TCollection_MapNode {
  44. public:
  45. // Methods PUBLIC
  46. //
  47. NMTDS_StdMapNodeOfMapOfPassKey(const NMTDS_PassKey& K,const TCollection_MapNodePtr& n);
  48. NMTDS_PassKey& Key() const;
  49. //Standard_EXPORT ~NMTDS_StdMapNodeOfMapOfPassKey();
  50. // Type management
  51. //
  52. Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
  53. //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
  54. protected:
  55. // Methods PROTECTED
  56. //
  57. // Fields PROTECTED
  58. //
  59. private:
  60. // Methods PRIVATE
  61. //
  62. // Fields PRIVATE
  63. //
  64. NMTDS_PassKey myKey;
  65. };
  66. #define TheKey NMTDS_PassKey
  67. #define TheKey_hxx <NMTDS_PassKey.hxx>
  68. #define Hasher NMTDS_PassKeyMapHasher
  69. #define Hasher_hxx <NMTDS_PassKeyMapHasher.hxx>
  70. #define TCollection_StdMapNode NMTDS_StdMapNodeOfMapOfPassKey
  71. #define TCollection_StdMapNode_hxx <NMTDS_StdMapNodeOfMapOfPassKey.hxx>
  72. #define TCollection_MapIterator NMTDS_MapIteratorOfMapOfPassKey
  73. #define TCollection_MapIterator_hxx <NMTDS_MapIteratorOfMapOfPassKey.hxx>
  74. #define Handle_TCollection_StdMapNode Handle_NMTDS_StdMapNodeOfMapOfPassKey
  75. #define TCollection_StdMapNode_Type_() NMTDS_StdMapNodeOfMapOfPassKey_Type_()
  76. #define TCollection_Map NMTDS_MapOfPassKey
  77. #define TCollection_Map_hxx <NMTDS_MapOfPassKey.hxx>
  78. #include <TCollection_StdMapNode.lxx>
  79. #undef TheKey
  80. #undef TheKey_hxx
  81. #undef Hasher
  82. #undef Hasher_hxx
  83. #undef TCollection_StdMapNode
  84. #undef TCollection_StdMapNode_hxx
  85. #undef TCollection_MapIterator
  86. #undef TCollection_MapIterator_hxx
  87. #undef Handle_TCollection_StdMapNode
  88. #undef TCollection_StdMapNode_Type_
  89. #undef TCollection_Map
  90. #undef TCollection_Map_hxx
  91. // other Inline functions and methods (like "C++: function call" methods)
  92. //
  93. #endif