summaryrefslogtreecommitdiff
path: root/src/IntPolyh/IntPolyh_ArrayOfCouples.cdl
blob: 5b479c503096afb7318899d2814a15b99ad64156 (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
-- File:	IntPolyh_ArrayOfCouples.cdl
-- Created:	Thu Apr 8 1999
-- Author:	Fabrice SERVANT
--		<fst@cleox.paris1.matra-dtv.fr>
---Copyright:	 Matra Datavision 1999


class ArrayOfCouples from IntPolyh

uses
    
    Couple from IntPolyh

is

    Create;
    
    Create(nn: Integer from Standard); 
    
    Init(me: in out; nn: Integer from Standard) 
    is static;
    
    NbCouples(me)
    returns Integer from Standard
    is static;
    
    SetNbCouples(me: in out; fint: Integer from Standard)
    is static;
    
    IncNbCouples(me: in out)
    is static;
    
    Value(me; nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return const &      
    returns Couple from IntPolyh
    is static;
    
    ChangeValue(me: in out;  nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return &
    returns Couple from IntPolyh 
    is static;
    
    Destroy(me: in out)
  	 ---C++: alias ~
    is static;

    Dump(me) 
    is static;
    
	
fields

    n,eoa : Integer from Standard;
    ptr :Address from Standard;
    
end ArrayOfCouples from IntPolyh;