summaryrefslogtreecommitdiff
path: root/src/bundles-containers.ads
blob: 19826937b9eac038ea8e24356fd83834767d54e0 (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


with

    Ada.Containers.Vectors;


generic
    type Candidate_Range is range <>;
package Bundles.Containers is


    package Bundle_Vectors is new Ada.Containers.Vectors
           (Index_Type   => Positive,
            Element_Type => Bundle);


    subtype Bundle_Vector is Bundle_Vectors.Vector;


    type Bundle_Collection is array (Candidate_Range) of Bundle_Vector;


    procedure Read_Bundles
           (Filename : in     String;
            Result   :    out Bundle_Collection);


end Bundles.Containers;