Class TCustomResourceEntry

Unit

Declaration

type TCustomResourceEntry = class(TMultiFileEntry)

Description

Abstract resource entry

Hierarchy

Overview

Fields

Protected FEntryNameOrId: TNameOrId;
Protected FReferenceCount: integer;
Protected FResourceInfo: TResourceInfo;
Protected FTypeNameOrId: TNameOrId;

Methods

Public constructor Create(AContainer: TMultiFileContainer; ATypeNameOrId: TNameOrId; AEntryNameOrId: TNameOrId; const AResourceInfo: TResourceInfo);
Public function GetStream: TStream; override;
Protected function GetDataSize: integer; virtual; abstract;
Protected function GetId: integer;
Protected function GetLanguageId: integer;
Protected function GetName: utf8string; override;
Protected function GetTypeId: integer;
Protected function GetTypeName: utf8string;
Protected procedure DecrementReferences; virtual;
Protected procedure IncrementReferences; virtual;
Protected procedure SerializeData(ADestination: TStream); virtual; abstract;
Protected procedure SerializeHeader(ADestination: TStream); virtual;
Protected procedure SetId(AValue: integer);
Protected procedure SetLanguageId(AValue: integer);
Protected procedure SetName(AValue: utf8string); override;

Properties

Public property Id: integer read GetId write SetId;
Public property LanguageId: integer read GetLanguageId write SetLanguageId;
Public property TypeId: integer read GetTypeId;
Public property TypeName: utf8string read GetTypeName;

Description

Fields

Protected FEntryNameOrId: TNameOrId;

This item has no description.

Protected FReferenceCount: integer;

This item has no description.

Protected FResourceInfo: TResourceInfo;

This item has no description.

Protected FTypeNameOrId: TNameOrId;

This item has no description.

Methods

Public constructor Create(AContainer: TMultiFileContainer; ATypeNameOrId: TNameOrId; AEntryNameOrId: TNameOrId; const AResourceInfo: TResourceInfo);

This item has no description.

Public function GetStream: TStream; override;

This item has no description.

Protected function GetDataSize: integer; virtual; abstract;

This item has no description.

Protected function GetId: integer;

This item has no description.

Protected function GetLanguageId: integer;

This item has no description.

Protected function GetName: utf8string; override;

This item has no description.

Protected function GetTypeId: integer;

This item has no description.

Protected function GetTypeName: utf8string;

This item has no description.

Protected procedure DecrementReferences; virtual;

This item has no description.

Protected procedure IncrementReferences; virtual;

This item has no description.

Protected procedure SerializeData(ADestination: TStream); virtual; abstract;

This item has no description.

Protected procedure SerializeHeader(ADestination: TStream); virtual;

This item has no description.

Protected procedure SetId(AValue: integer);

This item has no description.

Protected procedure SetLanguageId(AValue: integer);

This item has no description.

Protected procedure SetName(AValue: utf8string); override;

This item has no description.

Properties

Public property Id: integer read GetId write SetId;

This item has no description.

Public property LanguageId: integer read GetLanguageId write SetLanguageId;

This item has no description.

Public property TypeId: integer read GetTypeId;

This item has no description.

Public property TypeName: utf8string read GetTypeName;

This item has no description.