|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::sql::sqlite::LiteMemTable Class Reference#include <LiteTable.h>
Inheritance diagram for acdk::sql::sqlite::LiteMemTable:
List of all members.
Detailed Description
Different to LiteTable LiteMemTable reads the complete result set from a query into memory All fields of a record will represented by a string.
Constructor & Destructor Documentation
acdk::sql::sqlite::LiteMemTable::LiteMemTable |
( |
char ** |
table, |
|
|
int |
cols, |
|
|
int |
rows |
|
) |
[inline] |
|
Member Function Documentation
int acdk::sql::sqlite::LiteMemTable::_checkColIdx |
( |
int |
idx |
) |
[inline, protected] |
|
int acdk::sql::sqlite::LiteMemTable::_checkRowIdx |
( |
int |
idx |
) |
[inline, protected] |
|
int acdk::sql::sqlite::LiteMemTable::columnCount |
( |
|
) |
[inline] |
|
RString acdk::sql::sqlite::LiteMemTable::getColumnName |
( |
int |
col |
) |
[inline] |
|
RStringArray acdk::sql::sqlite::LiteMemTable::getColumnNames |
( |
|
) |
|
|
|
return the names of the columns
|
RString acdk::sql::sqlite::LiteMemTable::getField |
( |
int |
row, |
|
|
int |
col |
|
) |
[inline] |
|
|
row starts with 0 and row starts with 1
|
int acdk::sql::sqlite::LiteMemTable::getMaxColWidth |
( |
int |
col |
) |
|
|
|
return the maximum needed characters need to display all rows of a col This also includes the column names
|
RStringArray acdk::sql::sqlite::LiteMemTable::getRow |
( |
int |
row |
) |
[inline] |
|
|
prints a table as ascii:
intcol|stringcol
-----------------
1 |first
2 |second
3 |third
|
int acdk::sql::sqlite::LiteMemTable::rowCount |
( |
|
) |
[inline] |
|
Member Data Documentation
|
|