/src/contrib/geom-5.1.2.7/src/NMTDS/NMTDS_Iterator.cdl

http://pythonocc.googlecode.com/ · Unknown · 96 lines · 78 code · 18 blank · 0 comment · 0 complexity · 3f82a5fcb556ccdc5597cbec69de4f73 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. -- File: NMTDS_Iterator.cdl
  23. -- Created: Sun May 07 14:58:16 2006
  24. -- Author: Peter KURNEV
  25. -- <peter@PREFEX>
  26. --
  27. class Iterator from NMTDS
  28. ---Purpose:
  29. uses
  30. DataMapOfIntegerListOfInteger from TColStd,
  31. ShapeEnum from TopAbs,
  32. ShapesDataStructure from NMTDS,
  33. PShapesDataStructure from NMTDS,
  34. ListOfPassKeyBoolean from NMTDS,
  35. ListIteratorOfListOfPassKeyBoolean from NMTDS,
  36. PassKeyBoolean from NMTDS
  37. --raises
  38. is
  39. Create
  40. returns Iterator from NMTDS;
  41. ---C++: alias "Standard_EXPORT virtual ~NMTDS_Iterator();"
  42. SetDS(me:out;
  43. pDS:PShapesDataStructure from NMTDS);
  44. DS(me)
  45. returns ShapesDataStructure from NMTDS;
  46. ---C++:return const &
  47. Initialize(me: out;
  48. aType1: ShapeEnum from TopAbs;
  49. aType2: ShapeEnum from TopAbs);
  50. More(me)
  51. returns Boolean from Standard;
  52. Next(me: out);
  53. Current(me; aIndex1:out Integer from Standard;
  54. aIndex2:out Integer from Standard;
  55. aWithSubShape: out Boolean from Standard);
  56. Prepare(me:out)
  57. is virtual;
  58. Intersect(me:out)
  59. is virtual protected;
  60. ExpectedLength(me)
  61. returns Integer from Standard;
  62. BlockLength(me)
  63. returns Integer from Standard;
  64. SDVertices(me)
  65. returns DataMapOfIntegerListOfInteger from TColStd;
  66. ---C++:return const &
  67. FillMVSD(myclass;
  68. aMVSD1:DataMapOfIntegerListOfInteger from TColStd;
  69. aMVSD2:out DataMapOfIntegerListOfInteger from TColStd);
  70. fields
  71. myDS :PShapesDataStructure from NMTDS is protected;
  72. myLists :ListOfPassKeyBoolean from NMTDS [6] is protected;
  73. myIterator :ListIteratorOfListOfPassKeyBoolean from NMTDS is protected;
  74. myEmptyList:ListOfPassKeyBoolean from NMTDS is protected;
  75. myLength :Integer from Standard is protected;
  76. --
  77. myMVSD :DataMapOfIntegerListOfInteger from TColStd is protected;
  78. end Iterator;