![]() |
mksqlite
2.5
A MATLAB interface to SQLite
|
Class encapsulating a SQL field value. More...
#include <value.hpp>
Inheritance diagram for ValueSQL:
Collaboration diagram for ValueSQL:Public Member Functions | |
| ~ValueSQL () | |
| Dtor. | |
| ValueSQL () | |
| Standard ctor. | |
| ValueSQL (const ValueSQL &other) | |
| Copy ctor for constant objects. | |
| ValueSQL (ValueSQL &other) | |
| Move ctor for lvalues. | |
| ValueSQL (ValueSQL &&other) | |
| Move ctor for rvalues (temporary objects) | |
| ValueSQL & | operator= (const ValueSQL &other) |
| Assignment operator for constant objects. | |
| ValueSQL & | operator= (ValueSQL &other) |
| Move assignment operator for lvalues. | |
| ValueSQL & | operator= (ValueSQL &&other) |
| Move assignment operator for rvalues (temporary objects) | |
| ValueSQL (double dValue) | |
| Ctor for double type initializer. | |
| ValueSQL (sqlite3_int64 iValue) | |
| Ctor for llong type initializer. | |
| ValueSQL (const char *txtValue) | |
| Ctor for const char* type initializer. | |
| ValueSQL (char *txtValue) | |
| Ctor for char* type initializer. | |
| ValueSQL (char *blobValue, size_t size) | |
| Ctor for char* type initializer. | |
| ValueSQL (const mxArray *blobValue) | |
| Ctor for MATLAB const mxArray* type initializer. | |
| ValueSQL (mxArray *blobValue) | |
| Ctor for MATLAB mxArray* type initializer. | |
| void * | Detach () |
| Release custody and return pointer type. | |
| void | Destroy () |
| Freeing memory space if having ownership. More... | |
Public Member Functions inherited from ValueBase | |
| ~ValueBase () | |
| Dtor. | |
Public Attributes | |
| int | m_typeID |
| Type of SQL value as integer ID. | |
| size_t | m_blobsize |
| Size of BLOB in bytes (only type SQLITE_BLOBX) | |
Public Attributes inherited from ValueBase | |
| bool | m_isConst |
| if flagged as non-const, class may swap memory ownership (custody) | |
| union { | |
| double | m_float |
| floating point representation | |
| sqlite3_int64 | m_integer |
| integer representation | |
| char * | m_text |
| text representation or allocated memory () | |
| mxArray * | m_blob |
| binary large object representation | |
| mxArray * | m_pcItem |
| MATLAB variable representation. | |
| tagNativeArray * | m_array |
| self allocated variable representation | |
| long long | m_largest_field |
| largest member used to copy entire union (dummy field) | |
| }; | |
Additional Inherited Members | |
Protected Member Functions inherited from ValueBase | |
| ValueBase () | |
| Standard ctor. | |
| ValueBase (const ValueBase &other) | |
| Copy ctor for constant objects. | |
| ValueBase (ValueBase &other) | |
| Move ctor for lvalues. | |
| ValueBase (ValueBase &&other) | |
| Move ctor for rvalues (temporary objects) | |
| ValueBase & | operator= (const ValueBase &other) |
| Assignment operator. | |
| ValueBase & | operator= (ValueBase &other) |
| Move assignment operator for lvalues. | |
| ValueBase & | operator= (ValueBase &&other) |
| Move assignment operator for rvalues (temporary objects) | |
Class encapsulating a SQL field value.
SQLite supports following types:
ValueSQL holds one field value of listed types.
|
inline |
Freeing memory space if having ownership.
Text and BLOB reserve dynamic memory space to store its contents
Definition at line 1002 of file value.hpp.
References blob_free(), SQLITE_BLOBX, and utils_free_ptr().
1.8.13