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

http://pythonocc.googlecode.com/ · C++ Header · 74 lines · 42 code · 10 blank · 22 comment · 0 complexity · 02d8999f975d2eccf959edb37fd99ca6 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 _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
  23. #define _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
  24. #ifndef _Standard_Macro_HeaderFile
  25. #include <Standard_Macro.hxx>
  26. #endif
  27. #ifndef _Standard_HeaderFile
  28. #include <Standard.hxx>
  29. #endif
  30. #ifndef _Handle_TCollection_MapNode_HeaderFile
  31. #include <Handle_TCollection_MapNode.hxx>
  32. #endif
  33. class Standard_Transient;
  34. class Handle_Standard_Type;
  35. class Handle(TCollection_MapNode);
  36. class NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox;
  37. Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox);
  38. class Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) : public Handle(TCollection_MapNode) {
  39. public:
  40. Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)():Handle(TCollection_MapNode)() {}
  41. Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)(const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& aHandle) : Handle(TCollection_MapNode)(aHandle)
  42. {
  43. }
  44. Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)(const NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
  45. {
  46. }
  47. Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& operator=(const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& aHandle)
  48. {
  49. Assign(aHandle.Access());
  50. return *this;
  51. }
  52. Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& operator=(const NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* anItem)
  53. {
  54. Assign((Standard_Transient *)anItem);
  55. return *this;
  56. }
  57. NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* operator->() const
  58. {
  59. return (NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox *)ControlAccess();
  60. }
  61. // Standard_EXPORT ~Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)();
  62. Standard_EXPORT static const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) DownCast(const Handle(Standard_Transient)& AnObject);
  63. };
  64. #endif