This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS 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 (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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()

Methods (Including Private)

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