![]() |
![]() |
![]() |
GNOME Data Access 3.0 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GdaDataAccessWrapperGdaDataAccessWrapper — Offers a random access on top of a cursor-only access data model |
struct GdaDataAccessWrapper; struct GdaDataAccessWrapperClass; GdaDataAccessWrapperPrivate; GdaDataModel * gda_data_access_wrapper_new (GdaDataModel *model
); gboolean gda_data_access_wrapper_row_exists (GdaDataAccessWrapper *wrapper
,gint row
);
The GdaDataAccessWrapper object simply wraps around another GdaDataModel data model object and allows data to be accessed in a random way while remaining memory efficient as much as possible.
typedef struct _GdaDataAccessWrapperPrivate GdaDataAccessWrapperPrivate;
GdaDataModel * gda_data_access_wrapper_new (GdaDataModel *model
);
Creates a new GdaDataModel object which buffers the rows of model
. This object is usefull
only if model
can only be accessed using cursor based method.
|
a GdaDataModel |
Returns : |
a pointer to the newly created GdaDataModel. |
gboolean gda_data_access_wrapper_row_exists (GdaDataAccessWrapper *wrapper
,gint row
);
Tests if the wrapper model of wrapper
has a row number row
|
a GdaDataAccessWrapper objects |
|
a row number to test existance |
Returns : |
TRUE if row number row exists |