Sign in Join
FPDoc Onlineexperiment

TLRSObjectReader class

In unit LResources

Reader for resource streams.

Declaration

pascal
TLRSObjectReader = class(TAbstractObjectReader)

Inheritance

  1. TLRSObjectReader
  2. TAbstractObjectReader

Description

Uses an stack for reading nested objects.

Properties

StreampublicThe input stream.
ReaderpublicThe root component reader.

Methods

ReadIntegerContentprotectedReads an 4 byte integer value.
Createpublic
Destroypublic
NextValuepublicPeek the next byte (value type indicator).
ReadValuepublicReads the next ValueType. Pops or pushes a stack item if required (for list or collection).
BeginRootComponentpublicReads the filer signature from the input.
BeginComponentpublicMarks the reading of a new component.
BeginPropertypublicMarks the reading of a property value.
GetStackPathpublicReturns the qualified current item name.
ReadpublicRead a number of bytes from the input stream.
ReadBinarypublicReads binary data, stored with a Length prefix.
ReadFloatpublicReads an Extended value (10 Bytes).
ReadSinglepublicReads an Single value (4 bytes).
ReadCurrencypublicReads an Currency value (8 bytes).
ReadDatepublicReads an Date value (8 bytes).
ReadIdentpublicReads an identifier, maybe a name or a standard key (which is not stored).
ReadInt8publicRead an 8-bit integer from the stream.
ReadInt16publicRead a 16-bit integer from the stream.
ReadInt32publicRead a 32-bit integer from the stream.
ReadInt64publicRead a 64-bit integer from the stream.
ReadSetpublicReads enum member names, until an empty string is read.
ReadSignaturepublicRead resource signature.
ReadStrpublicReads an ShortString.
ReadStringpublicRead a string of type StringType from the stream.
ReadWideStringpublicRead a widestring value from the stream.
ReadUnicodeStringpublicRead a Unicode string value.
SkipComponentpublicSkips an entire Component.
SkipValuepublicSkips the next value.

Inherited

From TAbstractObjectReader (4)

CurrentValue FlushBuffer ReadDouble ReadPrefix

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