Class treader

Unit

Declaration

type treader = class(tfiler)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FLoaded: TFpList;

Methods

Protected function Error(const Message: string): Boolean; virtual;
Protected function FindMethod(ARoot: tcomponent; const AMethodName: string): Pointer; virtual;
Protected procedure ReadProperty(AInstance: tpersistent);
Protected procedure ReadPropValue(Instance: tpersistent; PropInfo: Pointer);
Protected procedure PropertyError;
Protected procedure ReadData(Instance: tcomponent);
Protected function CreateDriver(Stream: TStream; BufSize: Integer): TAbstractObjectReader; virtual;
Public constructor Create(Stream: TStream; BufSize: Integer);
Public destructor Destroy; override;
Public procedure BeginReferences;
Public procedure CheckValue(Value: TValueType);
Public procedure DefineProperty(const Name: string; AReadData: TReaderProc; WriteData: TWriterProc; HasData: Boolean); override;
Public procedure DefineBinaryProperty(const Name: string; AReadData, WriteData: TStreamProc; HasData: Boolean); override;
Public function beginoflist(): boolean;
Public function EndOfList: Boolean;
Public procedure EndReferences;
Public procedure FixupReferences;
Public function NextValue: TValueType;
Public procedure Read(var Buf; Count: LongInt); virtual;
Public function ReadBoolean: Boolean;
Public function ReadChar: Char;
Public function ReadWideChar: WideChar;
Public function ReadUnicodeChar: UnicodeChar;
Public procedure ReadCollection(Collection: TCollection);
Public function ReadComponent(Component: tcomponent): tcomponent;
Public procedure ReadComponents(AOwner, AParent: tcomponent; Proc: TReadComponentsProc);
Public function ReadFloat: Extended;
Public function ReadSingle: Single;
Public function ReadDate: TDateTime;
Public function ReadCurrency: Currency;
Public function ReadIdent: string;
Public function ReadInteger: Longint;
Public function ReadInt64: Int64;
Public function readset(settype: ptypeinfo): longword;
Public function readenum(const enumtype: ptypeinfo): longword;
Public procedure ReadListBegin;
Public procedure ReadListEnd;
Public function ReadRootComponent(ARoot: tcomponent): tcomponent;
Public function ReadVariant: Variant;
Public function ReadString: string;
Public function Readutf8String: utf8string;
Public function ReadWideString: WideString;
Public function ReadUnicodeString: UnicodeString;
Public function ReadValue: TValueType;
Public procedure CopyValue(Writer: twriter);

Properties

Protected property PropName: string read FPropName;
Protected property CanHandleExceptions: Boolean read FCanHandleExcepts;
Public property Driver: TAbstractObjectReader read FDriver;
Public property Owner: tcomponent read FOwner write FOwner;
Public property Parent: tcomponent read FParent write FParent;
Public property OnError: TReaderError read FOnError write FOnError;
Public property OnPropertyNotFound: TPropertyNotFoundEvent read FOnPropertyNotFound write FOnPropertyNotFound;
Public property OnFindMethod: TFindMethodEvent read FOnFindMethod write FOnFindMethod;
Public property OnSetMethodProperty: TSetMethodPropertyEvent read FOnSetMethodProperty write FOnSetMethodProperty;
Public property OnSetName: TSetNameEvent read FOnSetName write FOnSetName;
Public property OnReferenceName: TReferenceNameEvent read FOnReferenceName write FOnReferenceName;
Public property OnAncestorNotFound: TAncestorNotFoundEvent read FOnAncestorNotFound write FOnAncestorNotFound;
Public property OnCreateComponent: TCreateComponentEvent read FOnCreateComponent write FOnCreateComponent;
Public property OnFindComponentClass: TFindComponentClassEvent read FOnFindComponentClass write FOnFindComponentClass;
Public property OnReadStringProperty: TReadWriteStringPropertyEvent read FOnReadStringProperty write FOnReadStringProperty;
Public property onenumerror: enumerroreventty read fonenumerror write fonenumerror;
Public property onseterror: seterroreventty read fonseterror write fonseterror;

Description

Fields

Protected FLoaded: TFpList;

This item has no description.

Methods

Protected function Error(const Message: string): Boolean; virtual;

This item has no description.

Protected function FindMethod(ARoot: tcomponent; const AMethodName: string): Pointer; virtual;

This item has no description.

Protected procedure ReadProperty(AInstance: tpersistent);

This item has no description.

Protected procedure ReadPropValue(Instance: tpersistent; PropInfo: Pointer);

This item has no description.

Protected procedure PropertyError;

This item has no description.

Protected procedure ReadData(Instance: tcomponent);

This item has no description.

Protected function CreateDriver(Stream: TStream; BufSize: Integer): TAbstractObjectReader; virtual;

This item has no description.

Public constructor Create(Stream: TStream; BufSize: Integer);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure BeginReferences;

This item has no description.

Public procedure CheckValue(Value: TValueType);

This item has no description.

Public procedure DefineProperty(const Name: string; AReadData: TReaderProc; WriteData: TWriterProc; HasData: Boolean); override;

This item has no description.

Public procedure DefineBinaryProperty(const Name: string; AReadData, WriteData: TStreamProc; HasData: Boolean); override;

This item has no description.

Public function beginoflist(): boolean;

This item has no description.

Public function EndOfList: Boolean;

This item has no description.

Public procedure EndReferences;

This item has no description.

Public procedure FixupReferences;

This item has no description.

Public function NextValue: TValueType;

This item has no description.

Public procedure Read(var Buf; Count: LongInt); virtual;

This item has no description.

Public function ReadBoolean: Boolean;

This item has no description.

Public function ReadChar: Char;

This item has no description.

Public function ReadWideChar: WideChar;

This item has no description.

Public function ReadUnicodeChar: UnicodeChar;

This item has no description.

Public procedure ReadCollection(Collection: TCollection);

This item has no description.

Public function ReadComponent(Component: tcomponent): tcomponent;

This item has no description.

Public procedure ReadComponents(AOwner, AParent: tcomponent; Proc: TReadComponentsProc);

This item has no description.

Public function ReadFloat: Extended;

This item has no description.

Public function ReadSingle: Single;

This item has no description.

Public function ReadDate: TDateTime;

This item has no description.

Public function ReadCurrency: Currency;

This item has no description.

Public function ReadIdent: string;

This item has no description.

Public function ReadInteger: Longint;

This item has no description.

Public function ReadInt64: Int64;

This item has no description.

Public function readset(settype: ptypeinfo): longword;

This item has no description.

Public function readenum(const enumtype: ptypeinfo): longword;

This item has no description.

Public procedure ReadListBegin;

This item has no description.

Public procedure ReadListEnd;

This item has no description.

Public function ReadRootComponent(ARoot: tcomponent): tcomponent;

This item has no description.

Public function ReadVariant: Variant;

This item has no description.

Public function ReadString: string;

This item has no description.

Public function Readutf8String: utf8string;

This item has no description.

Public function ReadWideString: WideString;

This item has no description.

Public function ReadUnicodeString: UnicodeString;

This item has no description.

Public function ReadValue: TValueType;

This item has no description.

Public procedure CopyValue(Writer: twriter);

This item has no description.

Properties

Protected property PropName: string read FPropName;

This item has no description.

Protected property CanHandleExceptions: Boolean read FCanHandleExcepts;

This item has no description.

Public property Driver: TAbstractObjectReader read FDriver;

This item has no description.

Public property Owner: tcomponent read FOwner write FOwner;

This item has no description.

Public property Parent: tcomponent read FParent write FParent;

This item has no description.

Public property OnError: TReaderError read FOnError write FOnError;

This item has no description.

Public property OnPropertyNotFound: TPropertyNotFoundEvent read FOnPropertyNotFound write FOnPropertyNotFound;

This item has no description.

Public property OnFindMethod: TFindMethodEvent read FOnFindMethod write FOnFindMethod;

This item has no description.

Public property OnSetMethodProperty: TSetMethodPropertyEvent read FOnSetMethodProperty write FOnSetMethodProperty;

This item has no description.

Public property OnSetName: TSetNameEvent read FOnSetName write FOnSetName;

This item has no description.

Public property OnReferenceName: TReferenceNameEvent read FOnReferenceName write FOnReferenceName;

This item has no description.

Public property OnAncestorNotFound: TAncestorNotFoundEvent read FOnAncestorNotFound write FOnAncestorNotFound;

This item has no description.

Public property OnCreateComponent: TCreateComponentEvent read FOnCreateComponent write FOnCreateComponent;

This item has no description.

Public property OnFindComponentClass: TFindComponentClassEvent read FOnFindComponentClass write FOnFindComponentClass;

This item has no description.

Public property OnReadStringProperty: TReadWriteStringPropertyEvent read FOnReadStringProperty write FOnReadStringProperty;

This item has no description.

Public property onenumerror: enumerroreventty read fonenumerror write fonenumerror;

This item has no description.

Public property onseterror: seterroreventty read fonseterror write fonseterror;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.