Home > Class Reference > ENSLIB namespace > %IO.IParts.SeekableIO

%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

Properties

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

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

Subclasses

%IO.I.ByteSeekableStream %IO.IParts.CharacterSeekableIO