Class tpersistentarrayprop

Unit

Declaration

type tpersistentarrayprop = class(tarrayprop, iobjectlink)

Description

No description available, ancestor tarrayprop description follows

Hierarchy

Overview

Fields

Protected fitems: persistentarty;
Protected fdestroyingitem: tpersistent;
Protected fitemclasstype: virtualpersistentclassty;
Protected fobjectlinker: tobjectlinker;

Methods

Protected function _addref: integer; stdcall;
Protected function _release: integer; stdcall;
Protected function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall;
Protected procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false);
Protected procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil);
Protected procedure objevent(const sender: iobjectlink; const event: objecteventty);
Protected function getinstance: tobject;
Protected function getobjectlinker: tobjectlinker;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
Protected function getitems(const index: integer): tpersistent;
Protected procedure init(startindex,endindex: integer); override;
Protected function getcount: integer; override;
Protected procedure setcount1(acount: integer; doinit: boolean); override;
Protected procedure writeitem(const index: integer; writer: twriter); override;
Protected procedure readitem(const index: integer; reader: treader); override;
Protected function getsize: integer; override;
Protected function getdatapo: pointer; override;
Protected function getitemspo(const index: integer): pointer; override;
Protected procedure createitem(const index: integer; var item: tpersistent); virtual;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure readcollection(reader: treader);
Protected procedure writecollection(writer: twriter);
Protected function getcollectionname(const index: integer): string; virtual;
Protected function ispropertystored(index: integer): boolean; virtual;
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); overload;
Protected procedure setlinkedvar(const source: tlinkedobject; var dest: tlinkedobject; const linkintf: iobjectlink = nil); overload;
Public constructor create(aitemclasstype: virtualpersistentclassty); reintroduce;
Public destructor destroy; override;
Public procedure itemdestroyed(const aitem: tpersistent);
Public procedure assign(source: tpersistent); override;
Public function propkind: arraypropkindty; override;
Public function displayname(const index: integer): msestring; virtual;
Public procedure add(const item: tpersistent);
Public function add(): tpersistent;
Public function indexof(const aitem: tpersistent): integer;
Public class function getitemclasstype: persistentclassty; virtual;

Properties

Public property itemclasstype: virtualpersistentclassty read fitemclasstype;
Public property items[constindex:integer]: tpersistent read getitems;

Description

Fields

Protected fitems: persistentarty;
 
Protected fdestroyingitem: tpersistent;
 
Protected fitemclasstype: virtualpersistentclassty;
 
Protected fobjectlinker: tobjectlinker;
 

Methods

Protected function _addref: integer; stdcall;
 
Protected function _release: integer; stdcall;
 
Protected function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall;
 
Protected procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false);
 
Protected procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil);
 
Protected procedure objevent(const sender: iobjectlink; const event: objecteventty);
 
Protected function getinstance: tobject;
 
Protected function getobjectlinker: tobjectlinker;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
 
Protected function getitems(const index: integer): tpersistent;
 
Protected procedure init(startindex,endindex: integer); override;
 
Protected function getcount: integer; override;
 
Protected procedure setcount1(acount: integer; doinit: boolean); override;
 
Protected procedure writeitem(const index: integer; writer: twriter); override;
 
Protected procedure readitem(const index: integer; reader: treader); override;
 
Protected function getsize: integer; override;
 
Protected function getdatapo: pointer; override;
 
Protected function getitemspo(const index: integer): pointer; override;
 
Protected procedure createitem(const index: integer; var item: tpersistent); virtual;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure readcollection(reader: treader);
 
Protected procedure writecollection(writer: twriter);
 
Protected function getcollectionname(const index: integer): string; virtual;
 
Protected function ispropertystored(index: integer): boolean; virtual;
 
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); overload;
 
Protected procedure setlinkedvar(const source: tlinkedobject; var dest: tlinkedobject; const linkintf: iobjectlink = nil); overload;
 
Public constructor create(aitemclasstype: virtualpersistentclassty); reintroduce;
 
Public destructor destroy; override;
 
Public procedure itemdestroyed(const aitem: tpersistent);
 
Public procedure assign(source: tpersistent); override;
 
Public function propkind: arraypropkindty; override;
 
Public function displayname(const index: integer): msestring; virtual;
 
Public procedure add(const item: tpersistent);
 
Public function add(): tpersistent;
 
Public function indexof(const aitem: tpersistent): integer;
 
Public class function getitemclasstype: persistentclassty; virtual;
 

Properties

Public property itemclasstype: virtualpersistentclassty read fitemclasstype;
 
Public property items[constindex:integer]: tpersistent read getitems;
 

Generated by PasDoc 0.16.0.