[Overview][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Collection with stream support
Source position: streamcoll.pp line 41
type TStreamCollection = class(TCollection) |
||
public |
||
procedure LoadFromStream(); |
|
Load the collection from a stream |
procedure SaveToStream(); |
|
Load the collection from the stream. |
property Streaming: Boolean; [r] |
|
Indicates whether the collection is currently being written to stream |
end; |
|
Collection with stream support |
|
| | ||
| | ||
| | ||
TObject |
TStreamCollection is a TCollection descendent which implements 2 calls LoadFromStream and SaveToStream which load and save the contents of the collection to a stream.
The collection items must be descendents of the TStreamCollectionItem class for the streaming to work correctly.
Note that the stream must be used to load collections of the same type.
|
Collection item with streaming support |