mksqlite  2.5
A MATLAB interface to SQLite
Classes | Macros | Functions
value.hpp File Reference

Value container for MATLAB/SQL data. More...

#include "global.hpp"
#include "sqlite/sqlite3.h"
#include <string>
#include <vector>
#include <utility>
#include <algorithm>
#include <memory>
+ Include dependency graph for value.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ValueBase
 Base class for ValueMex and ValueSQL. More...
 
class  ValueMex
 Encapsulating a MATLAB mxArray. More...
 
class  ValueSQL
 Class encapsulating a SQL field value. More...
 
class  ValueSQLCol
 Class encapsulating a complete SQL table column with type and name. More...
 
struct  tagNativeArray
 mxArray replacement for speed improvement More...
 
union  ValueBase.__unnamed__
 

Macros

#define SQLITE_BLOBX   20
 Identifier to flag another allocator as used for SQLITE_BLOB.
 

Functions

 HC_ASSERT (sizeof(sqlite3_int64)<=sizeof(long long))
 Asserting size of SQLite 64-bit integer type at least size of long long type.
 

Detailed Description

Value container for MATLAB/SQL data.

Classes for value interchange between MATLAB and SQL.

Definition in file value.hpp.


Class Documentation

◆ ValueBase.__unnamed__

union ValueBase.__unnamed__

Definition at line 62 of file value.hpp.

Class Members
tagNativeArray * m_array self allocated variable representation
mxArray * m_blob binary large object representation
double m_float floating point representation
sqlite3_int64 m_integer integer representation
long long m_largest_field largest member used to copy entire union (dummy field)
mxArray * m_pcItem MATLAB variable representation.
char * m_text text representation or allocated memory ()