TAbstractObjectReader class
Abstract driver class to read stored component data.
Declaration
TAbstractObjectReader = classDescends from it: TBinaryObjectReader TLRSObjectReader TXMLObjectReader
Description
The Free Pascal streaming mechanism, while compatible with Delphi's
mechanism, differs from it in the sense that the streaming mechanism uses
a driver class when streaming components. The TAbstractObjectReader
class is the base driver class for reading property values from streams.
It consists entirely of abstract methods, which must be implemented by
descendant classes.
Different streaming mechanisms can be implemented by making a descendant
from TAbstractObjectReader. The TBinaryObjectReader
class is such a descendant class, which streams data in binary (Delphi
compatible) format.
All methods described in this class, must be implemented by descendant classes.
See also
Methods
FlushBuffer | public | Flush the buffer. |
NextValue | public | Returns the type of the next value in the stream. |
ReadValue | public | Reads the type of the next value. |
CurrentValue | public | |
BeginRootComponent | public | Starts the reading of the root component. |
BeginComponent | public | Marks the reading of a new component. |
BeginProperty | public | Marks the reading of a property value. |
ReadPrefix | public | |
Read | public | Read raw data from stream. |
ReadBinary | public | Read binary data from the stream. |
ReadFloat | public | Read a float value from the stream. |
ReadSingle | public | Read a single (real-type) value from the stream. |
ReadDouble | public | |
ReadDate | public | Read a date value from the stream. |
ReadCurrency | public | Read a currency value from the stream. |
ReadIdent | public | Read an identifier from the stream. |
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 a set from the stream. |
ReadSignature | public | Read resource signature. |
ReadStr | public | Read a shortstring from the stream. |
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 | Skip till the end of the component. |
SkipValue | public | Skip the current value. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
