![]() |
mksqlite
2.5
A MATLAB interface to SQLite
|
Base class for ValueMex and ValueSQL. More...
#include <value.hpp>
Public Member Functions | |
~ValueBase () | |
Dtor. | |
Public Attributes | |
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) | |
}; | |
Protected Member Functions | |
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) | |
Base class for ValueMex and ValueSQL.
This class doesn't free objects' memory nor manage its lifetime! Member m_largest_field
is only used to copy the content of the union.