OSDN Git Service

2006-10-31 Bob Duff <duff@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / a-tiboio.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT RUN-TIME COMPONENTS                         --
4 --                                                                          --
5 --               A D A . T E X T _ I O . B O U N D E D _ I O                --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --          Copyright (C) 1997-2005, Free Software Foundation, Inc.         --
10 --                                                                          --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT.  In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification,  provided that if you redistribute a --
14 -- modified version,  any changes that you have made are clearly indicated. --
15 --                                                                          --
16 ------------------------------------------------------------------------------
17
18 with Ada.Strings.Bounded;
19
20 generic
21    with package Bounded is
22      new Ada.Strings.Bounded.Generic_Bounded_Length (<>);
23
24 package Ada.Text_IO.Bounded_IO is
25
26    function Get_Line return Bounded.Bounded_String;
27
28    function Get_Line
29      (File : File_Type) return Bounded.Bounded_String;
30
31    procedure Get_Line
32      (Item : out Bounded.Bounded_String);
33
34    procedure Get_Line
35      (File : File_Type;
36       Item : out Bounded.Bounded_String);
37
38    procedure Put
39      (Item : Bounded.Bounded_String);
40
41    procedure Put
42      (File : File_Type;
43       Item : Bounded.Bounded_String);
44
45    procedure Put_Line
46      (Item : Bounded.Bounded_String);
47
48    procedure Put_Line
49      (File : File_Type;
50       Item : Bounded.Bounded_String);
51
52 end Ada.Text_IO.Bounded_IO;