Class TSLCustomFun
Unit
SLFunAgr
Declaration
type TSLCustomFun = class()
Description
Base class for functions and aggregationsThis class is registered in TFunArgManager
, so both functions and aggregations can be stored in one manager. When Active
is true function's object is registered in.
Fields
| Name | Description |
 |
FActive |
|
 |
FDB |
|
 |
FFunName |
|
 |
FHandle |
|
 |
FResType |
|
Methods
Overview
Description
 |
function AggregateContext (aFunObject: TObject; nBytes: Integer): Pointer; |
 |
function AggregateCount (aFunObject: TObject): Pointer; |
 |
constructor Create (AOwner: TComponent); override; |
 |
destructor Destroy; override; |
 |
procedure Loaded; override; |
 |
procedure SetActive (const aValue: Boolean); virtual; abstract; |
 |
procedure SetResultDouble (aFunObject: TObject; const aRes: Double); |
 |
procedure SetResultError (aFunObject: TObject; const aRes: String); |
 |
procedure SetResultInt (aFunObject: TObject; const aRes: Integer); |
 |
procedure SetResultString (aFunObject: TObject; const aRes: String); |
 |
function UserData (aFunObject: TObject): Pointer; |
Properties
Overview
Description
 |
property Active: Boolean; |
abstract(function/aggregation is registered in SQLite engine / DB There is no deactivation API function so once activated function will be active until dabtabase deactivation.
abstract(Database in which function is registered (created))
 |
property FunName: String; |
abstract(Name of function / aggregation used in query)
 |
property Handle: Pointer; |
abstract(Pointer used by SQLite to recognise function)
Generated by PasDoc 0.8.7 on N 16- lis 2003 16:05:18