PageRenderTime 17ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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--
27class Iterator from NMTDS 
28     
29	---Purpose: 
30
31uses  
32    DataMapOfIntegerListOfInteger from TColStd,
33    ShapeEnum from TopAbs, 
34    ShapesDataStructure  from NMTDS,
35    PShapesDataStructure from NMTDS,
36    ListOfPassKeyBoolean from NMTDS,
37    ListIteratorOfListOfPassKeyBoolean from NMTDS,
38    PassKeyBoolean from NMTDS 
39    
40--raises
41
42is 
43    Create   
44    	returns Iterator from NMTDS;
45    ---C++: alias "Standard_EXPORT virtual ~NMTDS_Iterator();" 
46    
47   
48    SetDS(me:out; 
49    	    pDS:PShapesDataStructure from NMTDS); 
50     
51    DS(me) 
52      returns ShapesDataStructure from NMTDS; 
53    ---C++:return const & 
54     
55    Initialize(me: out;  
56    	    aType1: ShapeEnum from TopAbs;
57    	    aType2: ShapeEnum from TopAbs); 
58    More(me)  
59    	returns Boolean from Standard; 
60  	 
61    Next(me: out); 
62     
63    Current(me; aIndex1:out Integer from Standard;
64    	    	aIndex2:out Integer from Standard;
65    	    	aWithSubShape: out Boolean from Standard); 
66    	
67    Prepare(me:out) 
68    	is virtual; 
69      
70    Intersect(me:out) 
71    	is virtual protected; 
72	
73    ExpectedLength(me) 
74    	returns Integer from Standard;  
75	 
76    BlockLength(me) 
77    	returns Integer from Standard;  
78     
79    SDVertices(me) 
80    	returns DataMapOfIntegerListOfInteger from TColStd; 
81    ---C++:return const &  
82     
83    FillMVSD(myclass; 
84    	aMVSD1:DataMapOfIntegerListOfInteger from TColStd; 
85    	aMVSD2:out DataMapOfIntegerListOfInteger from TColStd); 
86 
87fields
88    myDS       :PShapesDataStructure from NMTDS     is protected; 
89    myLists    :ListOfPassKeyBoolean from NMTDS [6] is protected;  
90    myIterator :ListIteratorOfListOfPassKeyBoolean from NMTDS is protected; 
91    myEmptyList:ListOfPassKeyBoolean from NMTDS is protected; 
92    myLength   :Integer from Standard is protected; 
93    --
94    myMVSD     :DataMapOfIntegerListOfInteger from TColStd is protected;     
95
96end Iterator;