[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A class to keep a list of index definitions
Source position: db.pas line 948
type TIndexDefs = class(TDefCollection) |
||
public |
||
constructor Create(); virtual; overload; |
|
Create a new TIndexDefs instance |
destructor Destroy; override; |
|
Remove the indexdefs from memory. |
procedure Add(); |
|
Add a new index definition with given name and options |
function AddIndexDef; |
|
Add a new, empty, index definition |
function Find(); |
|
Find an index by name |
function FindIndexForFields(); |
|
Find index definition based on field names |
function GetIndexForFields(); |
|
Get index definition based on field names |
procedure Update; virtual; overload; |
|
Called whenever one of the items changes |
|
Indexed access to the index definitions |
|
end; |
|
A class to keep a list of index definitions |
|
| | ||
|
Definition collection |
|
| | ||
| | ||
| | ||
| | ||
TIndexDefs is used to keep a collection of index (sort order) definitions. It can be used by classes that provide in-memory or on-disk indexes to provide a list of available indexes.
lazarus-ccr.sourceforge.net |