TStreamCollection class
Collection with stream support.
Declaration
TStreamCollection = class(TCollection)Inheritance
- TStreamCollection
- TCollection
- TPersistent
- TObject
Description
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.
See also
Properties
Streaming | public | Indicates whether the collection is currently being written to stream. |
Methods
WriteInteger | protected | |
WriteBoolean | protected | |
WriteString | protected | |
WriteCurrency | protected | |
WriteDateTime | protected | |
WriteFloat | protected | |
ReadInteger | protected | |
ReadBoolean | protected | |
ReadString | protected | |
ReadCurrency | protected | |
ReadDateTime | protected | |
ReadFloat | protected | |
DoSaveToStream | protected | |
CurrentStreamVersion | protected | |
DoLoadFromStream | protected | |
LoadFromStream | public | Load the collection from a stream. |
SaveToStream | public | Load the collection from the stream. |
Inherited
From TCollection (31)
Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
