Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%IO] >  [IParts] >  [SeekableIO]
Private  Storage   

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 6


Summary

Properties
Position Size

Methods
Clear Find Rewind Seek SizeGet
TruncateAt

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

Properties

• property Position as %Integer [ InitialExpression = 0,ReadOnly ];
• property Size as %Integer [ Calculated,ReadOnly ];

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
This is a Get accessor method for the Size property.
• method TruncateAt(pPosition As %Integer, Output pSC As %Status) as %Boolean


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.