411 REFERENCE · Wikibooks
Ada Programming/Attributes/'Input
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Description
Reads and returns one value from the Stream argument.
For every subtype S of a specific type T:
S'Input denotes a function with the following specification: function S'Input (Stream : not null access Ada.Streams.Root_Stream_Type'Class) return TS'Input reads and returns one value from Stream, using any bounds or discriminants written by a corresponding S'Output to determine how much to read.
Example
S’Input (Stream:access Ada.Streams.Root_Stream_Type’Class) return T