summaryrefslogtreecommitdiff
path: root/src/BOP/BOP_LoopSet.cdl
blob: cb067058691a8140f77f137e209cbe58b049e332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
-- File:	BOP_LoopSet.cdl
-- Created:	Tue Mar 23 14:55:16 1993
-- Author:	Jean Yves LEBEY
--		<jyl@phobox>
---Copyright:	 Matra Datavision 1993

class LoopSet from BOP 

    ---Purpose:  
    --  The auxiliary class to store  and iterate on Loop(s) 
uses

    Loop                     from BOP,
    ListOfLoop               from BOP,
    ListIteratorOfListOfLoop from BOP

is
    
    Create  
    	returns LoopSet;
    	---Purpose:  
    	--- Empty constructor;  
    	---
    Delete(me:out)  
    	is virtual;
    	---C++: alias "Standard_EXPORT virtual ~BOP_LoopSet(){Delete() ; }"
    	---Purpose:  
    	--- Destructor;  
    	---
    ChangeListOfLoop(me : in out)  
    	returns ListOfLoop  
    	is static;
    	---C++: return &
    	---Purpose:  
    	--- Modifier;  

    --- 
    --- Exploration of the loops
    --- 
    InitLoop(me : in out)  
    	is virtual;
     
    MoreLoop(me)  
    	returns Boolean  
    	is virtual;
     
    NextLoop(me : in out)  
    	is virtual;
     
    Loop(me)  
    	returns Loop from BOP  
    	is virtual;
    	---C++: return const &
    
fields

    myListOfLoop   : ListOfLoop               from BOP;
    myLoopIterator : ListIteratorOfListOfLoop from BOP;
    myLoopIndex    : Integer from Standard;
    myNbLoop       : Integer from Standard;
    
end LoopSet;