Class tdblookupbuffer

Unit

Declaration

type tdblookupbuffer = class(tcustomdblookupbuffer)

Description

This item has no description. Showing description inherited from tcustomlookupbuffer.

Holds several parallel, integer-indexed arrays (of integer, int64, realty — also used for datetimes — and msestring) and lets you search a value in one array and read the corresponding value in another (see the lookup* functions), or search and then walk an array's values (find* and *value* functions). Each array can be addressed by its physical index (its raw storage row number, the *phys functions) or by a logical index (the *log functions and find): the logical index is built automatically, lazily, by sorting the array's values, and is what makes find (as opposed to findphys) fast on a large array. Fill the arrays manually with addrow/addrows; doloadbuffer (called by checkbuffer) is a no-op here, but is overridden by descendants such as tdblookupbuffer to (re)load the arrays automatically from a data source.

Hierarchy

Overview

Methods

Protected procedure doloadbuffer; override;
Public constructor create(aowner: tcomponent); override;

Properties

Published property datasource;
Published property textfields;
Published property integerfields;
Published property int64fields;
Published property floatfields;
Published property optionsdb;

Description

Methods

Protected procedure doloadbuffer; override;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Properties

Published property datasource;

This item has no description.

Published property textfields;

This item has no description.

Published property integerfields;

This item has no description.

Published property int64fields;

This item has no description.

Published property floatfields;

This item has no description.

Published property optionsdb;

This item has no description.


Generated by PasDoc 1.0.4.