Sign in Join
FPDoc Onlineexperiment

TStringReader class

In unit StreamEx

Implement TTextReader for a single string.

Declaration

pascal
TStringReader = class(TTextReader)

Inheritance

  1. TStringReader
  2. TTextReader
  3. TObject

Description

TStreamReader is a TTextReader descendent that takes a single string as the source of text data.

See also

Methods

IsEofprotectedCheck if the end of the string is reached.
CreatepublicCreate a new instance of TStreamReader from a string.
DestroypublicFree the TStringReader instance.
ResetpublicReset the stream to its original position.
ClosepublicClose and possibly free the stream.
ReadLinepublicRead a line of text.

Inherited

From TTextReader (2)

EndOfStream Eof

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.