![]() |
mksqlite
2.5
A MATLAB interface to SQLite
|
Functors for SQL application-defined (aggregation) functions. More...
#include <sql_interface.hpp>
Public Types | |
enum | { FCN, STEP, FINAL } |
Public Member Functions | |
MexFunctors (ValueMex &exception, const ValueMex &func, const ValueMex &step, const ValueMex &final) | |
Ctor. | |
MexFunctors (MexFunctors &other) | |
Copy Ctor. | |
MexFunctors (MexFunctors &&other) | |
Move Ctor. | |
MexFunctors & | operator= (const MexFunctors &other) |
Copy assignment. | |
MexFunctors & | operator= (MexFunctors &&other) |
Move assignment. | |
~MexFunctors () | |
Dtor. | |
void | swapException (ValueMex &exception) |
Exchange exception stack information. | |
void | initGroupData () |
Initialize data for "step" and "final" function. | |
ValueMex & | getData () |
Return data array from "step" and "final" function. | |
const ValueMex & | getFunc (int nr) const |
Return one of the functors (function, init or final) | |
ValueMex | dupFunc (int nr) const |
Duplicate one of the functors (function, init or final) | |
bool | checkFunc (int nr) const |
Check if function handle is valid (not empty and of functon handle class) | |
bool | IsEmpty () const |
Check if one of the functors is empty. | |
bool | IsValid () const |
Check if all functors are valid. | |
Public Attributes | |
bool | m_busy |
true, if function is in progress to prevent recursive calls | |
Private Member Functions | |
MexFunctors () | |
inhibit standard Ctor | |
MexFunctors (const MexFunctors &other) | |
Copy Ctor. | |
Private Attributes | |
ValueMex | m_functors [3] |
Function handles (function, step, final) | |
ValueMex | m_group_data |
Data container for "step" and "final" functions. | |
ValueMex * | m_pexception |
Exception stack information. | |
Functors for SQL application-defined (aggregation) functions.
Definition at line 172 of file sql_interface.hpp.