Record used in streaming mechanism.
Source position: objects.pp line 245
type TStreamRec = packed record |
||
ObjType: Sw_Word; |
|
Unique identifier for this object type. |
VmtLink: pointer; |
|
Pointer to object VMT. |
Load: CodePointer; |
|
Procedure to call when object must be loaded from a stream. |
Store: CodePointer; |
|
Procedure to call when object must be stored in a stream. |
Next: PStreamRec; |
|
Next item in list. |
end; |
TSreamRec is used by the Objects unit streaming mechanism: when an object is registered, a TStreamRec record is added to a list of records. This list is used when objects need to be streamed from/streamed to a stream. It contains all the information needed to stream the object.