[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

CountStream

inherits from Object
inherits from Stream

Object <- CountStream



Operations

Get list of all operations

Write


Attributes

Get list of all attributes

Length


Fields

Field Type
Stream: target: Object
CountStream: length: Unsigned


Instance template

instance CountStream tag;
         target: nilObject;
         length: 0;
end instance;

Class definition

Define Class CountStream;
    inherits from Object, Stream;
    
    field length: Unsigned, getter, setter;

    overrides Write;
        // overrides to track the number of bytes written, but does not call inherited
    
    attribute Length: Unsigned;
        // get/set bytes written by accessing this value
end class;