/
IOrder.prg
57 lines (40 loc) · 2.47 KB
/
IOrder.prg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// Copyright (c) XSharp B.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
USING XSharp.RDD.Support
/// <summary>This interface defines the mimimum methods that a RDD that supports indexes should implement.</summary>
INTERFACE XSharp.RDD.IOrder
/// <summary>Set the condition for the next Index Creation</summary>
/// <param name="info">An object containing information for the order condition.</param>
METHOD OrderCondition(info AS DbOrderCondInfo) AS LOGIC
/// <summary>Create a new index or tag.</summary>
/// <param name="info">An object containing information for order creation.</param>
METHOD OrderCreate(info AS DbOrderCreateInfo) AS LOGIC
/// <summary>Delete an index or tag.</summary>
/// <param name="info">An object containing information about the order to remove.</param>
METHOD OrderDestroy(info AS DbOrderInfo) AS LOGIC
/// <summary>Retrieve information about the current index.</summary>
/// <param name="nOrdinal"></param>
METHOD OrderInfo(nOrdinal AS DWORD, info AS DbOrderInfo) AS OBJECT
/// <summary>Open an index file and add to the list of open indexes for the current Workarea.</summary>
/// <param name="info">An object containing information about the orderlist (file) to add.</param>
METHOD OrderListAdd(info AS DbOrderInfo) AS LOGIC
/// <summary>Close an index file and remove it from the list of open indexes for the current Workarea.</summary>
/// <param name="info"></param>
/// <param name="info">An object containing information about the orderlist (file) to delete.</param>
METHOD OrderListDelete(info AS DbOrderInfo) AS LOGIC
/// <summary>Set focus to another index in the list open indexes for the current Workarea.</summary>
/// <param name="info">An object containing information about the order to select.</param>
METHOD OrderListFocus(info AS DbOrderInfo) AS LOGIC
/// <summary>Rebuild all indexes for the current Workarea.</summary>
METHOD OrderListRebuild() AS LOGIC
/// <summary>Perform a seek operation on the current selected index for the current Workarea.</summary>
/// <param name="info">An object containing containing the necessary seek information.</param>
METHOD Seek(info AS DbSeekInfo) AS LOGIC
/// <summary>Result of the last seek operation for the current Workarea.</summary>
PROPERTY Found AS LOGIC GET SET
/// <summary>Flush the changes to the index.</summary>
METHOD Flush() AS LOGIC
END INTERFACE