help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes] Reference for unit 'iostream' (#fcl)

TIOStream

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Stream which handles standard input/output and stderr.

Declaration

Source position: iostream.pp line 25

type TIOStream = class(THandleStream)

public

  constructor Create();

  

Construct a new instance of TIOStream

  function Read(); override;

  

Read data from the stream.

  function Write(); override;

  

Write data to the stream

  procedure SetSize(); override;

  

Set the size of the stream

  function Seek(); override;

  

Set the stream position

end;

Inheritance

TIOStream

  

Stream which handles standard input/output and stderr.

|

THandleStream

|

TObject

Description

TIOStream can be used to create a stream which reads from or writes to the standard input, output or stderr file descriptors. It is a descendent of THandleStream. The type of stream that is created is determined by the TIOSType argument to the constructor. The handle of the standard input, output or stderr file descriptors is determined automatically.

The TIOStream keeps an internal Position, and attempts to provide minimal Seek behaviour based on this position.

See also

TIOSType

  

Type of stream to create

THandleStream

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505