b2xy_cursor Struct Reference

Structure to describe a cursor in the virtual table. More...

Data Fields

sqlite3_vtab_cursor base
 SQLite's base cursor struct.
 
b2xy_tabletable
 Link to table struct.
 
sqlite3_stmt * select
 Prepared SELECT statement or NULL.
 
sqlite3_value * key
 Value of current key.
 
int fix_cols
 Fixed number of columns of result set.
 
int num_cols
 Total number of columns of result set.
 
char * val
 Value of current BLOB.
 
int val_len
 Length of current BLOB.
 
int x_scale_col
 Column number of X scale or 0.
 
int x_offset_col
 Column number of X offset or 0.
 
double x_scale
 
double x_offset
 Current X scale and offset.
 
int y_scale_col
 Column number of Y scale or 0.
 
int y_offset_col
 Column number of Y offset or 0.
 
double y_scale
 
double y_offset
 Current X scale and offset.
 
int do_x_scale
 If true, use X scale and offset.
 
int do_y_scale
 If true, use Y scale and offset.
 
int do_x_sl
 If true, apply X start/length.
 
int x_start
 
int x_length
 X start/length.
 
int type
 Data type of BLOB.
 
int index
 Current index in BLOB.
 
int rowid_from_key
 When true, ROWID used from key column.
 
sqlite_int64 rowid
 Current ROWID.
 

Detailed Description

Structure to describe a cursor in the virtual table.

Definition at line 253 of file blobtoxy.c.

Field Documentation

◆ base

sqlite3_vtab_cursor b2xy_cursor::base

SQLite's base cursor struct.

Definition at line 254 of file blobtoxy.c.

◆ do_x_scale

int b2xy_cursor::do_x_scale

If true, use X scale and offset.

Definition at line 268 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ do_x_sl

int b2xy_cursor::do_x_sl

If true, apply X start/length.

Definition at line 270 of file blobtoxy.c.

Referenced by b2xy_next(), and b2xy_open().

◆ do_y_scale

int b2xy_cursor::do_y_scale

If true, use Y scale and offset.

Definition at line 269 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ fix_cols

int b2xy_cursor::fix_cols

Fixed number of columns of result set.

Definition at line 258 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_filter().

◆ index

int b2xy_cursor::index

Current index in BLOB.

Definition at line 273 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ key

sqlite3_value* b2xy_cursor::key

Value of current key.

Definition at line 257 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ num_cols

int b2xy_cursor::num_cols

Total number of columns of result set.

Definition at line 259 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_filter().

◆ rowid

sqlite_int64 b2xy_cursor::rowid

Current ROWID.

Definition at line 275 of file blobtoxy.c.

Referenced by b2xy_filter(), b2xy_next(), and b2xy_rowid().

◆ rowid_from_key

int b2xy_cursor::rowid_from_key

When true, ROWID used from key column.

Definition at line 274 of file blobtoxy.c.

Referenced by b2xy_filter(), and b2xy_next().

◆ select

sqlite3_stmt* b2xy_cursor::select

Prepared SELECT statement or NULL.

Definition at line 256 of file blobtoxy.c.

Referenced by b2xy_close(), b2xy_column(), b2xy_eof(), b2xy_filter(), and b2xy_next().

◆ table

b2xy_table* b2xy_cursor::table

Link to table struct.

Definition at line 255 of file blobtoxy.c.

Referenced by b2xy_filter(), b2xy_next(), and b2xy_open().

◆ type

int b2xy_cursor::type

Data type of BLOB.

Definition at line 272 of file blobtoxy.c.

Referenced by b2xy_column(), b2xy_next(), and b2xy_open().

◆ val

char* b2xy_cursor::val

Value of current BLOB.

Definition at line 260 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ val_len

int b2xy_cursor::val_len

Length of current BLOB.

Definition at line 261 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ x_length

int b2xy_cursor::x_length

X start/length.

Definition at line 271 of file blobtoxy.c.

Referenced by b2xy_next(), and b2xy_open().

◆ x_offset

double b2xy_cursor::x_offset

Current X scale and offset.

Definition at line 264 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ x_offset_col

int b2xy_cursor::x_offset_col

Column number of X offset or 0.

Definition at line 263 of file blobtoxy.c.

Referenced by b2xy_filter(), and b2xy_next().

◆ x_scale

double b2xy_cursor::x_scale

Definition at line 264 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ x_scale_col

int b2xy_cursor::x_scale_col

Column number of X scale or 0.

Definition at line 262 of file blobtoxy.c.

Referenced by b2xy_filter(), and b2xy_next().

◆ x_start

int b2xy_cursor::x_start

Definition at line 271 of file blobtoxy.c.

Referenced by b2xy_next(), and b2xy_open().

◆ y_offset

double b2xy_cursor::y_offset

Current X scale and offset.

Definition at line 267 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ y_offset_col

int b2xy_cursor::y_offset_col

Column number of Y offset or 0.

Definition at line 266 of file blobtoxy.c.

Referenced by b2xy_filter(), and b2xy_next().

◆ y_scale

double b2xy_cursor::y_scale

Definition at line 267 of file blobtoxy.c.

Referenced by b2xy_column(), and b2xy_next().

◆ y_scale_col

int b2xy_cursor::y_scale_col

Column number of Y scale or 0.

Definition at line 265 of file blobtoxy.c.

Referenced by b2xy_filter(), and b2xy_next().


The documentation for this struct was generated from the following file:

Generated on Sun Nov 26 2023 by doxygen.
Contact: chw@ch-werner.de