Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
StreamPosKeys


NAME

StreamPosKeys - keys representing stream positions

SYNOPSIS

TYPE Value = POINTER TO ValueRec;
TYPE ValueRec =
   RECORD
      (Keys.ValueRec)
      pos: Streams.Count;
   END;


VAR key: Keys.Key;

PROCEDURE CreateValue(VAR keyval: Value);

DESCRIPTION

StreamPosKeys offers a key basing on Keys that may be used to compare and sort by stream positions (see Streams). CreateValue creates a key value (with pos equal to 0) with its interface procedures for Keys and PersistentObjects installed.

DIAGNOSTICS

StreamPosKeys does not generate any error events on its own.

SEE ALSO

CompilerStreamPosKeys
service provider of StreamPosKeys for extensions of CompilerObjects.Object
Keys
key-based total order relations
PersistentObjects
operations for persistent objects
Streams
general abstraction for input and output streams

Edited by: borchert, last change: 2000/05/30, revision: 1.2, converted to HTML: 2000/05/30

Oberon || Library || Module Index || Search Engine || Definition || Module