TLRSObjectReader class
Reader for resource streams.
Declaration
TLRSObjectReader = class(TAbstractObjectReader)Inheritance
- TLRSObjectReader
- TAbstractObjectReader
Description
Uses an stack for reading nested objects.
Properties
Stream | public | The input stream. |
Reader | public | The root component reader. |
Methods
ReadIntegerContent | protected | Reads an 4 byte integer value. |
Create | public | |
Destroy | public | |
NextValue | public | Peek the next byte (value type indicator). |
ReadValue | public | Reads the next ValueType. Pops or pushes a stack item if required (for list or collection). |
BeginRootComponent | public | Reads the filer signature from the input. |
BeginComponent | public | Marks the reading of a new component. |
BeginProperty | public | Marks the reading of a property value. |
GetStackPath | public | Returns the qualified current item name. |
Read | public | Read a number of bytes from the input stream. |
ReadBinary | public | Reads binary data, stored with a Length prefix. |
ReadFloat | public | Reads an Extended value (10 Bytes). |
ReadSingle | public | Reads an Single value (4 bytes). |
ReadCurrency | public | Reads an Currency value (8 bytes). |
ReadDate | public | Reads an Date value (8 bytes). |
ReadIdent | public | Reads an identifier, maybe a name or a standard key (which is not stored). |
ReadInt8 | public | Read an 8-bit integer from the stream. |
ReadInt16 | public | Read a 16-bit integer from the stream. |
ReadInt32 | public | Read a 32-bit integer from the stream. |
ReadInt64 | public | Read a 64-bit integer from the stream. |
ReadSet | public | Reads enum member names, until an empty string is read. |
ReadSignature | public | Read resource signature. |
ReadStr | public | Reads an ShortString. |
ReadString | public | Read a string of type StringType from the stream. |
ReadWideString | public | Read a widestring value from the stream. |
ReadUnicodeString | public | Read a Unicode string value. |
SkipComponent | public | Skips an entire Component. |
SkipValue | public | Skips the next value. |
Inherited
From TAbstractObjectReader (4)
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
