Rogue Wave Views Data Access Package API Reference Guide |
Rogue Wave Views Documentation Home |
#include <ilviews/macros.h>
#include <ilviews/intrface/value.h>
#include <ilviews/dataccess/error.h>
#include <ilviews/dataccess/value.h>
#include <ilviews/dataccess/param.h>
#include <ilviews/dataccess/tblbuf.h>
#include <ilviews/dataccess/tblsel.h>
#include <ilviews/dataccess/tblprop.h>
#include <ilviews/dataccess/tblptr.h>
#include <ilviews/dataccess/transmgr.h>
#include <ilviews/dataccess/intrface/tblitf.h>
Classes | |
class | IliTable |
Table class. More... | |
Typedefs | |
typedef int(* | IliCompareFunction) (IliTableBuffer *buf1, IliTableBuffer *buf2, const IlInt *columns, IlInt colCount, IlAny userData) |
Functions | |
IlInt | IliAscOrder (IlInt colno) |
Table columns can be sorted by ascending or descending order. The IliAscOrder() function takes a column index and returns a value indicating that the column must be sorted by ascending order. More... | |
IlInt | IliDescOrder (IlInt colno) |
Table columns can be sorted by ascending or descending order. The IliDescOrder() function takes a column index and returns a value indicating that the column must be sorted by descending order. More... | |
Library: dataccess
Declarations about tables.
IliCompareFunction |
This type defines the prototype of a function that is called to compare two rows of a table.
The sorting order is defined by the columns parameter, which designates an array of colCount column positions. Each given column is sorted in the ascending or descending order of the values. The global functions IliAscOrder()
and IliDescOrder()
are used to indicate the type of sort. Example:
buf1 | The buffer of the first row. |
buf2 | The buffer of the second row. |
colums | The column list to sort. |
colCount | The column count. |
userData | The user data. |
+1
if the first row is greater than the second row. 0
if the rows are equal. -1
if the second row is greater than the first row. IliTable
, IliAscOrder
, IliDescOrder
. Table columns can be sorted by ascending or descending order. The IliAscOrder()
function takes a column index and returns a value indicating that the column must be sorted by ascending order.
Library: dataccess
colno | The column position. |
IliTable
, IliDescOrder
. Table columns can be sorted by ascending or descending order. The IliDescOrder()
function takes a column index and returns a value indicating that the column must be sorted by descending order.
Library: dataccess
colno | The column position. |
IliTable
, IliAscOrder
. © Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.