[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'BufDataset' (#fcl)

TArrayBufIndex

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an index using an array of record buffers

Declaration

Source position: bufdataset.pas line 292

type TArrayBufIndex = class(TBufIndex)

public

  FRecordArray: ;

  FCurrentRecInd: Integer;

  FLastRecInd: Integer;

  FNeedScroll: Boolean;

  constructor Create(); override;

  

  function ScrollBackward; override;

  

  function ScrollForward; override;

  

  function GetCurrent; override;

  

  function ScrollFirst; override;

  

  procedure ScrollLast; override;

  

  procedure SetToFirstRecord; override;

  

  procedure SetToLastRecord; override;

  

  procedure StoreCurrentRecord; override;

  

  procedure RestoreCurrentRecord; override;

  

  function CanScrollForward; override;

  

  procedure DoScrollForward; override;

  

  procedure StoreCurrentRecIntoBookmark(); override;

  

  procedure StoreSpareRecIntoBookmark(); override;

  

  procedure GotoBookmark(); override;

  

  procedure InitialiseIndex; override;

  

  procedure InitialiseSpareRecord(); override;

  

  procedure ReleaseSpareRecord; override;

  

  procedure BeginUpdate; override;

  

  procedure AddRecord; override;

  

  procedure InsertRecordBeforeCurrentRecord(); override;

  

  procedure RemoveRecordFromIndex(); override;

  

  procedure EndUpdate; override;

  

end;

Inheritance

TArrayBufIndex

  

Implements an index using an array of record buffers

|

TBufIndex

  

Defines the interface used to implement indexes in TBufDataset

|

TObject

Description

TArrayBufIndex is a TBufIndex descendant that implements an index using an array of record buffers. TArrayBufIndex uses an internal member with an array of pointers to the TRecordBuffer data type used for record buffers in the index. TArrayBufIndex provides support for Bookmarks in the dataset using TBufBookmark.

See also

TBufIndex

  

Defines the interface used to implement indexes in TBufDataset

TRecordBuffer

TBufBookmark

  

Implements a Bookmark for TBufDataset


Documentation generated on: Jun 23 2021