summaryrefslogtreecommitdiff
path: root/src/IntPolyh/IntPolyh_ArrayOfEdges.cdl
blob: bb9d2903c3b3bc3dd3bc5679a4fabf3494cd26e1 (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
63
64
65
66
67
68
69
70
71
72
73
-- File:	IntPolyh_ArrayOfEdges.cdl
-- Created:	Tue Mar  9 17:53:12 1999
-- Author:	Fabrice SERVANT
--		<fst@cleox.paris1.matra-dtv.fr>
---Copyright:	 Matra Datavision 1999

class ArrayOfEdges from IntPolyh

uses
    
    Edge from IntPolyh

is


    Create;
    
    Create(nn : Integer from Standard) ; 
    
    Init(me: in out; nn: Integer from Standard) 
    is static;

    GetN(me)
    returns Integer from Standard
    ---C++: return const
    is static;

    NbEdges(me)
    returns Integer from Standard
    ---C++: return const
    is static;

    SetNbEdges(me: in out; endaof: Integer from Standard)
    is static;

    IncNbEdges(me: in out)
    is static;

    Value(me; nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return const &      
    returns Edge from IntPolyh
    is static;
    
    ChangeValue(me: in out;  nn: Integer from Standard)
    	---C++: alias operator [] 
    	---C++: return &
    returns Edge from IntPolyh 
    is static;
    
    Copy(me: in out; Other : ArrayOfEdges from IntPolyh)
    	---C++: alias operator =
    	---C++: return &
    returns ArrayOfEdges from IntPolyh
    is static;
    
    Destroy(me:in out)
    	---C++: alias ~
    is static;
    
    Dump(me) 
    is static;

     	
fields

    n,finte : Integer from Standard;
    ptr : Address from Standard;
    
end ArrayOfEdges from IntPolyh;