1 ------------------------------------------------------------------------------
3 -- GNAT RUN-TIME COMPONENTS --
5 -- ADA.WIDE_WIDE_TEXT_IO.WIDE_WIDE_UNBOUNDED_IO --
9 -- This specification is adapted from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
14 ------------------------------------------------------------------------------
16 -- Note: historically GNAT provided these subprograms as a child of the
17 -- package Ada.Strings.Wide_Wide_Unbounded. So we implement this new Ada 2005
18 -- package by renaming the subprograms in that child. This is a more
19 -- straightforward implementation anyway, since we need access to the
20 -- internal representation of Unbounded_Wide_Wide_String.
22 with Ada
.Strings
.Wide_Wide_Unbounded
;
23 with Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
;
25 package Ada
.Wide_Wide_Text_IO
.Wide_Wide_Unbounded_IO
is
29 Item
: Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
)
30 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Put
;
33 (Item
: Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
)
34 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Put
;
37 (File
: Wide_Wide_Text_IO
.File_Type
;
38 Item
: Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
)
39 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Put_Line
;
42 (Item
: Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
)
43 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Put_Line
;
47 return Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
48 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Get_Line
;
51 return Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
52 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Get_Line
;
56 Item
: out Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
)
57 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Get_Line
;
60 (Item
: out Strings
.Wide_Wide_Unbounded
.Unbounded_Wide_Wide_String
)
61 renames Ada
.Strings
.Wide_Wide_Unbounded
.Wide_Wide_Text_IO
.Get_Line
;
63 end Ada
.Wide_Wide_Text_IO
.Wide_Wide_Unbounded_IO
;