A.12.3 The Package Wide_Text_IO.Text_Streams

From OC Systems Wiki!
Jump to: navigation, search

The package Wide_Text_IO.Text_Streams provides a function for treating a wide text file as a stream.

Static Semantics

The library package Wide_Text_IO.Text_Streams has the following declaration:

with Ada.Streams;
package Ada.Wide_Text_IO.Text_Streams is 
    type Stream_Access is access all Streams.Root_Stream_Type'Class;

    function Stream (File in File_Type) return Stream_Access;
end Ada.Wide_Text_IO.Text_Streams;

The Stream function has the same effect as the corresponding function in Streams.Stream_IO.

Copyright © 1992,1993,1994,1995 Intermetrics, Inc.
Copyright © 2000 The MITRE Corporation, Inc. Ada Reference Manual