next up previous index
Next: The EclipseStream Class Up: Embedding into Visual Basic Previous: The EclipseClass class   Index


The EclipseStreams Collection Class

This is a collection of EclipseStream objects. The keys to this collection are the symbolic name of ECLiPSe streams. Initially it will contain the 'input' 'output' and 'error' streams.

Function Add(Key As String, Mode As EclipseStreamMode) As EclipseStream

Create a new EclipseStream. 'Key' must be the symbolic name of an existing ECLiPSe queue stream. These are created using the open/3 or open/4 built-in. If 'Mode' is 'FromEclipse' the ECLiPSe stream must have been opened in 'write' mode. If it is 'ToEclipse' the ECLiPSe stream must have been opened in read mode.

Property Get Item(vntIndexKey As Variant) As EclipseStream

Used to retrieve streams from the collection. 'vntIndexKey' can be either the symbolic steam name or an integer index into the collection.

Property Get Count() As Long

The number of items in the collection

Sub Remove(vntIndexKey As Variant)

Remove an EclipseStream from the collection. (This does not close the corresponding ECLiPSe stream though).


next up previous index
Next: The EclipseStream Class Up: Embedding into Visual Basic Previous: The EclipseClass class   Index

1999-08-06