Class TBGRACustomOriginalStorage

Unit

Declaration

type TBGRACustomOriginalStorage = class(TObject)

Description

Abstract original storage

Hierarchy

Overview

Fields

Protected FFormats: TFormatSettings;

Methods

Public constructor Create;
Public function AffineMatrixEquals(AName: utf8string; const AValue: TAffineMatrix): boolean;
Public function CreateObject(AName: utf8string): TBGRACustomOriginalStorage; virtual; abstract;
Public function Duplicate: TBGRACustomOriginalStorage; virtual; abstract;
Public function FileExists(AName: UTF8String): boolean; virtual; abstract;
Public function FloatEquals(AName: utf8string; AValue: single): boolean;
Public function GetFileStream(AName: UTF8String): TStream; virtual; abstract;
Public function HasAttribute(AName: utf8string): boolean; virtual; abstract;
Public function ObjectExists(AName: utf8string): boolean; virtual; abstract;
Public function OpenObject(AName: utf8string): TBGRACustomOriginalStorage; virtual; abstract;
Public function PointFEquals(AName: utf8string; const AValue: TPointF): boolean;
Public function ReadBitmap(AName: UTF8String; ADest: TCustomUniversalBitmap): boolean; virtual; abstract;
Public function ReadFile(AName: UTF8String; ADest: TStream): boolean; virtual; abstract;
Protected function GetAffineMatrix(AName: utf8string): TAffineMatrix;
Protected function GetBool(AName: utf8string): boolean;
Protected function GetBoolDef(AName: utf8string; ADefault: boolean): boolean;
Protected function GetColor(AName: UTF8String): TBGRAPixel;
Protected function GetColorArray(AName: UTF8String): ArrayOfTBGRAPixel;
Protected function GetDelimiter: char;
Protected function GetEmpty: boolean; virtual; abstract;
Protected function GetInteger(AName: utf8string): integer;
Protected function GetIntegerDef(AName: utf8string; ADefault: integer): integer;
Protected function GetPointF(AName: utf8string): TPointF;
Protected function GetRawString(AName: utf8string): RawByteString; virtual; abstract;
Protected function GetRect(AName: utf8string): TRect;
Protected function GetRectF(AName: utf8string): TRectF;
Protected function GetSingle(AName: utf8string): single;
Protected function GetSingleArray(AName: utf8string): ArrayOfSingle;
Protected function GetSingleDef(AName: utf8string; ADefault: single): single;
Public procedure EnumerateFiles(AList: TStringList); virtual; abstract;
Public procedure EnumerateObjects(AList: TStringList); virtual; abstract;
Public procedure RemoveAttribute(AName: utf8string); virtual; abstract;
Public procedure RemoveFile(AName: utf8string); virtual; abstract;
Public procedure RemoveObject(AName: utf8string); virtual; abstract;
Public procedure WriteFile(AName: UTF8String; ASource: TStream; ACompress: boolean; AOwnStream: boolean = false); virtual; abstract;
Protected procedure SetAffineMatrix(AName: utf8string; const AValue: TAffineMatrix);
Protected procedure SetBool(AName: utf8string; AValue: boolean);
Protected procedure SetColor(AName: UTF8String; AValue: TBGRAPixel);
Protected procedure SetColorArray(AName: UTF8String; AValue: ArrayOfTBGRAPixel);
Protected procedure SetInteger(AName: utf8string; AValue: integer);
Protected procedure SetPointF(AName: utf8string; AValue: TPointF);
Protected procedure SetRawString(AName: utf8string; AValue: RawByteString); virtual; abstract;
Protected procedure SetRect(AName: utf8string; AValue: TRect);
Protected procedure SetRectF(AName: utf8string; AValue: TRectF);
Protected procedure SetSingle(AName: utf8string; AValue: single);
Protected procedure SetSingleArray(AName: utf8string; AValue: ArrayOfSingle);

Properties

Public property AffineMatrix[AName: utf8string]: TAffineMatrix read GetAffineMatrix write SetAffineMatrix;
Public property Bool[AName: utf8string]: boolean read GetBool write SetBool;
Public property BoolDef[AName: utf8string; ADefault: boolean]: boolean read GetBoolDef;
Public property Color[AName: UTF8String]: TBGRAPixel read GetColor write SetColor;
Public property ColorArray[AName: UTF8String]: ArrayOfTBGRAPixel read GetColorArray write SetColorArray;
Public property Empty: boolean read GetEmpty;
Public property Float[AName: utf8string]: single read GetSingle write SetSingle;
Public property FloatArray[AName: utf8string]: ArrayOfSingle read GetSingleArray write SetSingleArray;
Public property FloatDef[AName: utf8string; ADefault: single]: single read GetSingleDef;
Public property Int[AName: utf8string]: integer read GetInteger write SetInteger;
Public property IntDef[AName: utf8string; ADefault: integer]: integer read GetIntegerDef;
Public property PointF[AName: utf8string]: TPointF read GetPointF write SetPointF;
Public property RawString[AName: utf8string]: RawByteString read GetRawString write SetRawString;
Public property Rectangle[AName: utf8string]: TRect read GetRect write SetRect;
Public property RectangleF[AName: utf8string]: TRectF read GetRectF write SetRectF;

Description

Fields

Protected FFormats: TFormatSettings;

This item has no description.

Methods

Public constructor Create;

This item has no description.

Public function AffineMatrixEquals(AName: utf8string; const AValue: TAffineMatrix): boolean;

This item has no description.

Public function CreateObject(AName: utf8string): TBGRACustomOriginalStorage; virtual; abstract;

This item has no description.

Public function Duplicate: TBGRACustomOriginalStorage; virtual; abstract;

This item has no description.

Public function FileExists(AName: UTF8String): boolean; virtual; abstract;

This item has no description.

Public function FloatEquals(AName: utf8string; AValue: single): boolean;

This item has no description.

Public function GetFileStream(AName: UTF8String): TStream; virtual; abstract;

This item has no description.

Public function HasAttribute(AName: utf8string): boolean; virtual; abstract;

This item has no description.

Public function ObjectExists(AName: utf8string): boolean; virtual; abstract;

This item has no description.

Public function OpenObject(AName: utf8string): TBGRACustomOriginalStorage; virtual; abstract;

This item has no description.

Public function PointFEquals(AName: utf8string; const AValue: TPointF): boolean;

This item has no description.

Public function ReadBitmap(AName: UTF8String; ADest: TCustomUniversalBitmap): boolean; virtual; abstract;

This item has no description.

Public function ReadFile(AName: UTF8String; ADest: TStream): boolean; virtual; abstract;

This item has no description.

Protected function GetAffineMatrix(AName: utf8string): TAffineMatrix;

This item has no description.

Protected function GetBool(AName: utf8string): boolean;

This item has no description.

Protected function GetBoolDef(AName: utf8string; ADefault: boolean): boolean;

This item has no description.

Protected function GetColor(AName: UTF8String): TBGRAPixel;

This item has no description.

Protected function GetColorArray(AName: UTF8String): ArrayOfTBGRAPixel;

This item has no description.

Protected function GetDelimiter: char;

This item has no description.

Protected function GetEmpty: boolean; virtual; abstract;

This item has no description.

Protected function GetInteger(AName: utf8string): integer;

This item has no description.

Protected function GetIntegerDef(AName: utf8string; ADefault: integer): integer;

This item has no description.

Protected function GetPointF(AName: utf8string): TPointF;

This item has no description.

Protected function GetRawString(AName: utf8string): RawByteString; virtual; abstract;

This item has no description.

Protected function GetRect(AName: utf8string): TRect;

This item has no description.

Protected function GetRectF(AName: utf8string): TRectF;

This item has no description.

Protected function GetSingle(AName: utf8string): single;

This item has no description.

Protected function GetSingleArray(AName: utf8string): ArrayOfSingle;

This item has no description.

Protected function GetSingleDef(AName: utf8string; ADefault: single): single;

This item has no description.

Public procedure EnumerateFiles(AList: TStringList); virtual; abstract;

This item has no description.

Public procedure EnumerateObjects(AList: TStringList); virtual; abstract;

This item has no description.

Public procedure RemoveAttribute(AName: utf8string); virtual; abstract;

This item has no description.

Public procedure RemoveFile(AName: utf8string); virtual; abstract;

This item has no description.

Public procedure RemoveObject(AName: utf8string); virtual; abstract;

This item has no description.

Public procedure WriteFile(AName: UTF8String; ASource: TStream; ACompress: boolean; AOwnStream: boolean = false); virtual; abstract;

This item has no description.

Protected procedure SetAffineMatrix(AName: utf8string; const AValue: TAffineMatrix);

This item has no description.

Protected procedure SetBool(AName: utf8string; AValue: boolean);

This item has no description.

Protected procedure SetColor(AName: UTF8String; AValue: TBGRAPixel);

This item has no description.

Protected procedure SetColorArray(AName: UTF8String; AValue: ArrayOfTBGRAPixel);

This item has no description.

Protected procedure SetInteger(AName: utf8string; AValue: integer);

This item has no description.

Protected procedure SetPointF(AName: utf8string; AValue: TPointF);

This item has no description.

Protected procedure SetRawString(AName: utf8string; AValue: RawByteString); virtual; abstract;

This item has no description.

Protected procedure SetRect(AName: utf8string; AValue: TRect);

This item has no description.

Protected procedure SetRectF(AName: utf8string; AValue: TRectF);

This item has no description.

Protected procedure SetSingle(AName: utf8string; AValue: single);

This item has no description.

Protected procedure SetSingleArray(AName: utf8string; AValue: ArrayOfSingle);

This item has no description.

Properties

Public property AffineMatrix[AName: utf8string]: TAffineMatrix read GetAffineMatrix write SetAffineMatrix;

This item has no description.

Public property Bool[AName: utf8string]: boolean read GetBool write SetBool;

This item has no description.

Public property BoolDef[AName: utf8string; ADefault: boolean]: boolean read GetBoolDef;

This item has no description.

Public property Color[AName: UTF8String]: TBGRAPixel read GetColor write SetColor;

This item has no description.

Public property ColorArray[AName: UTF8String]: ArrayOfTBGRAPixel read GetColorArray write SetColorArray;

This item has no description.

Public property Empty: boolean read GetEmpty;

This item has no description.

Public property Float[AName: utf8string]: single read GetSingle write SetSingle;

This item has no description.

Public property FloatArray[AName: utf8string]: ArrayOfSingle read GetSingleArray write SetSingleArray;

This item has no description.

Public property FloatDef[AName: utf8string; ADefault: single]: single read GetSingleDef;

This item has no description.

Public property Int[AName: utf8string]: integer read GetInteger write SetInteger;

This item has no description.

Public property IntDef[AName: utf8string; ADefault: integer]: integer read GetIntegerDef;

This item has no description.

Public property PointF[AName: utf8string]: TPointF read GetPointF write SetPointF;

This item has no description.

Public property RawString[AName: utf8string]: RawByteString read GetRawString write SetRawString;

This item has no description.

Public property Rectangle[AName: utf8string]: TRect read GetRect write SetRect;

This item has no description.

Public property RectangleF[AName: utf8string]: TRectF read GetRectF write SetRectF;

This item has no description.