[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'tiCompress' (#tiopf)

TtiCompressFactory

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

Factory pattern - Create a descendant of the TtiCompress at runtime

Declaration

Source position: tiCompress.pas line 46

type TtiCompressFactory = class(TObject) end;

public

  constructor Create;

  destructor Destroy; override;

  procedure RegisterClass();

  

Register a TtiCompress class for creation by the factory

  function CreateInstance();

  

Call the factory to create an instance of TtiCompress

  procedure AssignCompressionTypes();

  

Assing the registered list of TtiCompress names to a stringList

  property DefaultCompressionType: string; [rw]

Inheritance

TtiCompressFactory

  

Factory pattern - Create a descendant of the TtiCompress at runtime

|

TObject

Description

Factory pattern - Create a descendant of the TtiCompress at runtime.


Documentation generated on: 2017-08-16