Class trecordlist

Unit

Declaration

type trecordlist = class(tnullinterfacedobject)

Description

No description available, ancestor tnullinterfacedobject description follows

Hierarchy

Overview

Fields

Protected frecordsize: integer;
Protected fcount: integer;
Protected fdata: pchar;
Protected fstate: recordliststatesty;

Methods

Protected procedure inccount;
Protected procedure setcount(const Value: integer);
Protected procedure setitem(const index: integer; const source);
Protected procedure getitem(const index: integer; out dest);
Protected function add(const source): integer;
Protected function add(): pointer;
Protected procedure insert(const source; const index: integer);
Protected function getitempo(const index: integer): pointer;
Protected function isempty(var item): boolean; virtual;
Protected procedure finalizerecord(var item); virtual;
Protected procedure initializerecord(var item); virtual;
Protected procedure copyrecord(var item); virtual;
Protected procedure change; virtual;
Public constructor create(const arecordsize: integer; const aoptions: recordliststatesty = []);
Public destructor destroy; override;
Public procedure assign(const source: trecordlist);
Public function invalidindex(const aindex: int32): boolean; inline;
Public function validindex(const aindex: int32): boolean; inline;
Public function datapo: pointer;
Public function dataend: pointer;
Public function newitem: pointer; virtual;
Public function newitems(const acount: integer): pointer; virtual;
Public procedure deletelast;
Public procedure pack;
Public procedure clear; virtual;
Public procedure delete(const index: integer);

Properties

Protected property recordsize: integer read frecordsize;
Public property count: integer read fcount write setcount;
Public property capacity: integer read fcapacity write setcapacity;

Description

Fields

Protected frecordsize: integer;
 
Protected fcount: integer;
 
Protected fdata: pchar;
 
Protected fstate: recordliststatesty;
 

Methods

Protected procedure inccount;
 
Protected procedure setcount(const Value: integer);
 
Protected procedure setitem(const index: integer; const source);
 
Protected procedure getitem(const index: integer; out dest);
 
Protected function add(const source): integer;
 
Protected function add(): pointer;
 
Protected procedure insert(const source; const index: integer);
 
Protected function getitempo(const index: integer): pointer;
 
Protected function isempty(var item): boolean; virtual;
 
Protected procedure finalizerecord(var item); virtual;
 
Protected procedure initializerecord(var item); virtual;
 
Protected procedure copyrecord(var item); virtual;
 
Protected procedure change; virtual;
 
Public constructor create(const arecordsize: integer; const aoptions: recordliststatesty = []);
 
Public destructor destroy; override;
 
Public procedure assign(const source: trecordlist);
 
Public function invalidindex(const aindex: int32): boolean; inline;
 
Public function validindex(const aindex: int32): boolean; inline;
 
Public function datapo: pointer;
 
Public function dataend: pointer;
 
Public function newitem: pointer; virtual;
 
Public function newitems(const acount: integer): pointer; virtual;
 
Public procedure deletelast;
 
Public procedure pack;
 
Public procedure clear; virtual;
 
Public procedure delete(const index: integer);
 

Properties

Protected property recordsize: integer read frecordsize;
 
Public property count: integer read fcount write setcount;
 
Public property capacity: integer read fcapacity write setcapacity;
 

Generated by PasDoc 0.16.0.