This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > ENSLIB namespace > %IO.IParts.SeekableIO


abstract class %IO.IParts.SeekableIO

Aggregation holder class for methods implemented in Seekable stream classes The methods of this class work for both Byte and Character streams

Property Inventory

Method Inventory


property Position as %Integer [ InitialExpression = 0 , ReadOnly ];
Property methods: PositionDisplayToLogical(), PositionGet(), PositionIsValid(), PositionLogicalToDisplay(), PositionNormalize()
property Size as %Integer [ Calculated , ReadOnly ];
Property methods: SizeDisplayToLogical(), SizeGet(), SizeIsValid(), SizeLogicalToDisplay(), SizeNormalize()


method Clear(Output pSC As %Status) as %Boolean
method Find(pMatch As %String, pPosition As %Integer = 1, pEndPosition As %Integer = -1, Output pSC As %Status, pReadLines As %Boolean = 0) as %Integer
method Rewind(Output pSC As %Status)
abstract method Seek(pPosition As %Integer = 1, Output pSC As %Status) as %Boolean
method SizeGet() as %Integer
method TruncateAt(pPosition As %Integer, Output pSC As %Status) as %Boolean


FeedbackOpens in a new window