Class TSerializedComponent

Unit

Declaration

type TSerializedComponent = class(TObject)

Description

Load the serialized component once, instantiate it many times.

Hierarchy

Overview

Methods

Public constructor Create(const AUrl: String);
Public constructor CreateFromString(const Contents: String);
Public destructor Destroy; override;
Public function ComponentLoad(const Owner: TComponent): TComponent;

Description

Methods

Public constructor Create(const AUrl: String);
 
Public constructor CreateFromString(const Contents: String);
 
Public destructor Destroy; override;
 
Public function ComponentLoad(const Owner: TComponent): TComponent;

Instantiate component. Using this is equivalent to using global CastleComponentSerialize.ComponentLoad, but it is much faster if you want to instantiate the same file many times.


Generated by PasDoc 0.16.0.