Skip to content

IStreamPersist

[Properties (by Name)][Methods (by Name)][Events (by Name)]

Persistence streaming interface.

Declaration

Source position: classesh.inc line 1158

Type
  IStreamPersist = interface ['{B8CD12A3-267A-11D4-83DA-00C04F60B2DD}']
    procedure LoadFromStream(Stream: TStream);
    procedure SaveToStream(Stream: TStream);
  end
  ;

Description

IStreamPersist defines an interface for object persistence streaming to a stream. Any class implementing this interface is expected to be able to save or load it's state from or to a stream.

Members

Member Type Visibility Description
LoadFromStream Method default Load persistent data from stream.
SaveToStream Method default Save persistent data to stream.

Inheritance

Class Description
IStreamPersist Persistence streaming interface.

See also

Name Description
TComponent Base class for all components that need owner-owned functionality.
TPersistent Base class for streaming system and persistent properties.
TStream Base class for streams.