Add hppa-openbsd target
[official-gcc.git] / gcc / ada / a-wtcoio.ads
blob9da51f3207e4e2d901b8563320298131e049a82e
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUNTIME COMPONENTS --
4 -- --
5 -- A D A . W I D E _ T E X T _ IO . C O M P L E X _ I O --
6 -- --
7 -- S p e c --
8 -- --
9 -- --
10 -- This specification is adapted from the Ada Reference Manual for use with --
11 -- GNAT. In accordance with the copyright of that document, you can freely --
12 -- copy and modify this specification, provided that if you redistribute a --
13 -- modified version, any changes that you have made are clearly indicated. --
14 -- --
15 ------------------------------------------------------------------------------
17 with Ada.Numerics.Generic_Complex_Types;
19 generic
20 with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (<>);
22 package Ada.Wide_Text_IO.Complex_IO is
24 use Complex_Types;
26 Default_Fore : Field := 2;
27 Default_Aft : Field := Real'Digits - 1;
28 Default_Exp : Field := 3;
30 procedure Get
31 (File : in File_Type;
32 Item : out Complex;
33 Width : in Field := 0);
35 procedure Get
36 (Item : out Complex;
37 Width : in Field := 0);
39 procedure Put
40 (File : in File_Type;
41 Item : in Complex;
42 Fore : in Field := Default_Fore;
43 Aft : in Field := Default_Aft;
44 Exp : in Field := Default_Exp);
46 procedure Put
47 (Item : in Complex;
48 Fore : in Field := Default_Fore;
49 Aft : in Field := Default_Aft;
50 Exp : in Field := Default_Exp);
52 procedure Get
53 (From : in Wide_String;
54 Item : out Complex;
55 Last : out Positive);
57 procedure Put
58 (To : out Wide_String;
59 Item : in Complex;
60 Aft : in Field := Default_Aft;
61 Exp : in Field := Default_Exp);
63 end Ada.Wide_Text_IO.Complex_IO;