![]() |
mksqlite
2.5
A MATLAB interface to SQLite
|
SQLite interface class. More...
Go to the source code of this file.
Classes | |
class | SQLerror |
Class holding an error. More... | |
class | MexFunctors |
Functors for SQL application-defined (aggregation) functions. More... | |
class | SQLstackitem |
Class holding an exception array, the function map and the handle for one database. More... | |
class | SQLiface |
SQLite interface. More... | |
struct | SQLiface::to_alphanum |
Converts one char to a printable (non-white-space) character. More... | |
Typedefs | |
typedef vector< ValueSQLCol > | ValueSQLCols |
type for column container | |
Functions | |
bool | utIsInterruptPending () |
bool | utSetInterruptEnabled (bool) |
bool | utSetInterruptHandled (bool) |
ValueMex | createItemFromValueSQL (const ValueSQL &value, int &err_id) |
Transfer fetched SQL value into MATLAB array. More... | |
ValueSQL | createValueSQLFromItem (const ValueMex &item, bool bStreamable, int &iTypeComplexity, int &err_id) |
Transfer MATLAB array into a SQL value. More... | |
SQLite interface class.
SQLite accessing functions, for single-file databases
Definition in file sql_interface.hpp.
Transfer fetched SQL value into MATLAB array.
[in] | value | encapsulated SQL field value |
[out] | err_id | Error ID (see MSG_IDS) |
Definition at line 260 of file mksqlite.cpp.
References g_NULLasNaN, and ValueSQL::m_typeID.
ValueSQL createValueSQLFromItem | ( | const ValueMex & | item, |
bool | bStreamable, | ||
int & | iTypeComplexity, | ||
int & | err_id | ||
) |
Transfer MATLAB array into a SQL value.
[in] | item | encapsulated MATLAB array |
[in] | bStreamable | true, if serialization is active |
[out] | iTypeComplexity | see ValueMex::type_complexity_e |
[out] | err_id | Error ID (see MSG_IDS) |
Definition at line 354 of file mksqlite.cpp.
References ValueMex::Complexity(), ValueMex::Item(), ValueMex::TC_COMPLEX, ValueMex::TC_EMPTY, and typed_blobs_mode_on().