Annotated Ada Reference ManualLegal Information
Contents   Index   References   Search   Previous   Next 

13.13 Streams

1
A stream is a sequence of elements comprising values from possibly different types and allowing sequential access to these values. A stream type is a type in the class whose root type is Streams.Root_Stream_Type. A stream type may be implemented in various ways, such as an external sequential file, an internal buffer, or a network channel. 
1.a
Discussion: A stream element will often be the same size as a storage element, but that is not required. 
1.a.1/3
Glossary entry: A stream is a sequence of elements that can be used, along with the stream-oriented attributes, to support marshalling and unmarshalling of values of most types.

Extensions to Ada 83

1.b
Streams are new in Ada 95.

Contents   Index   References   Search   Previous   Next 
Ada-Europe Ada 2005 and 2012 Editions sponsored in part by Ada-Europe