theSq3Lite 10.0
|
Struct to represent the data of the Sq3StmtC … → C-API: libsq3lite::Sq3StmtS More...
#include <Sq3StmtC_cc.hh>
Public Member Functions | |
Sq3StmtC (SQ3_STMT hdl) | |
SQ3_STMT | getSTMT () const |
return the LibMsgqueObject from current Sq3StmtC instance | |
SQ3_STMT | getSTMT__null_allow () const |
return the LibMsgqueObject from current Sq3StmtC instance | |
SQ3_STMTN | getSTMTN () const |
(const) return the LibMsgqueObject from current Sq3StmtC instance | |
SQ3_STMTN | getSTMTN__null_allow () const |
(const) return the LibMsgqueObject from current Sq3StmtC instance | |
bool | Check () const |
check if pointer is still valid | |
void | BindBlob (MK_I32 pos, MK_BNP blob) |
C++: → C-API Bind a MkBinaryR Value To a Prepared Statement … | |
void | BindDouble (MK_I32 arg1, MK_DBL arg2) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindInt (MK_I32 arg1, MK_I32 arg2) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindInt64 (MK_I32 arg1, MK_I64 arg2) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindNull (MK_I32 arg1) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindParameterCount () |
C++: → C-API Number Of SQL Parameters … | |
void | BindParameterIndex (MK_STRN zName) |
C++: → C-API Index Of A Parameter With A Given Name … | |
void | BindParameterIndex (const std::string &zName) |
C++: → C-API Index Of A Parameter With A Given Name … | |
MK_STRN | BindParameterName (MK_I32 arg1) |
C++: → C-API Name Of A Host Parameter … | |
void | BindText (MK_I32 pos, const std::string &text) |
C++: → C-API Bind a MkStringR Value To a Prepared Statement … | |
void | BindValue (MK_I32 arg1, const Sq3ValueC *arg2) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindValue (MK_I32 arg1, const Sq3ValueC &arg2) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindZeroblob (MK_I32 arg1, MK_I32 n) |
C++: → C-API Binding Values To Prepared Statements … | |
void | BindZeroblob64 (MK_I32 arg1, MK_I64 arg2) |
C++: → C-API Binding Values To Prepared Statements … | |
Sq3StmtC * | Next () |
C++: → C-API get next instance from linked-list of Sq3StmtS type | |
Sq3StmtC * | Prev () |
C++: → C-API get previous instance from linked-list of Sq3StmtS type | |
Sq3ValueC * | ColumnValue (MK_I32 iCol) |
C++: → C-API Result Values From A Query … | |
MK_BNP | ColumnBlob (MK_I32 iCol) |
C++: → C-API Result a MkBinaryR Value From A Query. | |
MK_I32 | ColumnBytes (MK_I32 iCol) |
C++: → C-API Result Values From A Query … | |
MK_I32 | ColumnCount () |
C++: → C-API Number Of Columns In A Result Set … | |
MK_DBL | ColumnDouble (MK_I32 iCol) |
C++: → C-API Result Values From A Query … | |
MK_I32 | ColumnInt (MK_I32 iCol) |
C++: → C-API Result Values From A Query … | |
MK_I64 | ColumnInt64 (MK_I32 iCol) |
C++: → C-API Result Values From A Query … | |
MK_STRN | ColumnName (MK_I32 N) |
C++: → C-API Column Names In A Result Set … | |
std::string | ColumnText (MK_I32 iCol) |
C++: → C-API Result a MkStringR Value From A Query. | |
Sq3TypeE | ColumnType (MK_I32 iCol) |
C++: → C-API Result Values From A Query … | |
Sq3LiteC * | DbHandle () |
C++: → C-API Find The Database Handle Of A Prepared Statement … | |
void | Busy () |
C++: → C-API Determine If A Prepared Statement Has Been Reset … | |
void | DataCount () |
C++: → C-API Number of columns in a result set … | |
void | IsExplain () |
C++: → C-API Query The EXPLAIN Setting For A Prepared Statement … | |
void | Readonly () |
C++: → C-API Determine If An SQL Statement Writes The Database … | |
void | Status (Sq3StmtStatusE op, MK_BOOL resetFlg) |
C++: → C-API Prepared Statement Status … | |
void | ClearBindings () |
C++: → C-API Reset All Bindings On A Prepared Statement … | |
void | Explain (MK_I32 eMode) |
C++: → C-API Change The EXPLAIN Setting For A Prepared Statement … | |
void | Reset () |
C++: → C-API Reset A Prepared Statement Object … | |
Sq3ErrorE | Step () |
C++: → C-API Evaluate An SQL Statement … | |
MK_STR | ExpandedSql () |
C++: → C-API Retrieving Statement SQL … | |
MK_STRN | GetPzTail () |
C++: → C-API return the non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 … | |
MK_STRN | Sql () |
C++: → C-API Retrieving Statement SQL … | |
Sq3StmtC (Sq3LiteC *db, const std::string &zSql) | |
C++: → C-API Compiling An SQL Statement … | |
void | Finalize () |
C++: → C-API Destroy A Prepared Statement Object … | |
![]() | |
MK_OBJ | getOBJ () const |
MK_OBJ | getOBJ__null_allow () const |
MK_OBJN | getOBJN () const |
MK_OBJN | getOBJN__null_allow () const |
bool | Check () const |
virtual | ~MkObjectC () |
MK_MNG | getMNG () const |
MK_STRN | ToNativeNameOfClass () const |
MK_STR | SysStrDup (MK_STRN str) |
void | SysFree (MK_PTR tgt) |
void | Sleep (unsigned int const sec) |
void | USleep (unsigned int const usec) |
void | HandleDelete () |
MK_BOOL | HandleExists () |
MK_HDL | HandleGet () |
MK_HDL | HandleGetOfType () |
MK_HDL | HandleGetOr0 () |
MkObjectC * | Next () |
MkObjectC * | Prev () |
void | DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogC (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogC (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogHEX (MK_STRN callfunc, MK_BNP data) const |
void | LogHEX (const std::string &callfunc, MK_BNP data) const |
void | LogV (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt,...) const |
void | LogV (const std::string &callfunc, MK_DBG debug, MK_FST printfmt,...) const |
void | LogVL (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
void | LogVL (const std::string &callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
void | Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogLong (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogLong (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogShort (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogShort (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogType (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogType (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
MkErrorC * | ErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ToError () |
MK_BOOL | IsNull () |
MK_STRN | ToName () const |
MK_STRN | ToNameOfClass () |
MK_STRN | ToNameOfType () const |
MK_STRN | ToString () const |
MK_I32 | RefGet () |
void | SysKill (MK_I32 pid, MK_I32 signal) const |
MK_I32 | SysGetPid () const |
void | Delete () |
void | Dispose () |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
Static Public Member Functions | |
static Sq3StmtC * | Sq3StmtC_ObjNew (MK_RT_ARGS SQ3_STMT hdl) |
return Sq3StmtC from LibMsgqueObject | |
static SQ3_STMT | getSTMT (Sq3StmtC *clsHdl) |
return LibMsgqueObject from current Sq3StmtC pointer | |
static SQ3_STMT | getSTMT__null_allow (Sq3StmtC *clsHdl) |
return LibMsgqueObject from current Sq3StmtC pointer | |
static SQ3_STMTN | getSTMTN (const Sq3StmtC *clsHdl) |
(const) return LibMsgqueObject from current Sq3StmtC pointer | |
static SQ3_STMTN | getSTMTN__null_allow (const Sq3StmtC *clsHdl) |
(const) return LibMsgqueObject from current Sq3StmtC pointer | |
static SQ3_STMT | getSTMT (const Sq3StmtC &clsHdl) |
return LibMsgqueObject from current Sq3StmtC reference | |
static SQ3_STMT | getSTMT__null_allow (const Sq3StmtC &clsHdl) |
return LibMsgqueObject from current Sq3StmtC reference | |
static SQ3_STMTN | getSTMTN (const Sq3StmtC &clsHdl) |
(const) return LibMsgqueObject from current Sq3StmtC reference | |
static SQ3_STMTN | getSTMTN__null_allow (const Sq3StmtC &clsHdl) |
(const) return LibMsgqueObject from current Sq3StmtC reference | |
static Sq3StmtC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a Sq3StmtC from netHdl or MK_NULL if invalid… | |
static Sq3StmtC * | Instances () |
C++: → C-API get head-instance from linked-list of Sq3StmtS type … | |
static Sq3StmtC * | GetNull () |
C++: → C-API Null-Slot - return a Sq3StmtC typed NULL instance … | |
static Sq3StmtC * | NextStmt (Sq3LiteC *pDb, Sq3StmtC *pStmt=NULL) |
C++: → C-API Find the next prepared statement … | |
static Sq3StmtC * | NextStmt (const Sq3LiteC &pDb, const Sq3StmtC &pStmt) |
C++: → C-API Find the next prepared statement … | |
static Sq3StmtC * | PrepareV2 (Sq3LiteC *db, const std::string &zSql) |
C++: → C-API Compiling An SQL Statement … | |
static Sq3StmtC * | PrepareV3 (Sq3LiteC *db, const std::string &zSql, Sq3PrepareEF prepFlags=SQ3_PREPARE_NO) |
C++: → C-API Compiling An SQL Statement … | |
![]() | |
static MkObjectC * | MkObjectC_ObjNew (MK_RT_ARGS MK_OBJ hdl) |
static MK_OBJ | getOBJ (MkObjectC *clsHdl) |
static MK_OBJ | getOBJ__null_allow (MkObjectC *clsHdl) |
static MK_OBJN | getOBJN (const MkObjectC *clsHdl) |
static MK_OBJN | getOBJN__null_allow (const MkObjectC *clsHdl) |
static MK_OBJ | getOBJ (const MkObjectC &clsHdl) |
static MK_OBJ | getOBJ__null_allow (const MkObjectC &clsHdl) |
static MK_OBJN | getOBJN (const MkObjectC &clsHdl) |
static MK_OBJN | getOBJN__null_allow (const MkObjectC &clsHdl) |
static MkObjectC * | HandleResolve (MK_HDL netHdl) |
static void | HandleDeleteByNetHdl (MK_HDL netHdl) |
static MkObjectC * | Instances () |
static MkObjectC * | GetNull () |
static void | DbgM (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
static void | DbgM (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
static MK_I32 | SysHashI32 (MK_STRN key, MK_NUM length=-1) |
static MK_I32 | SysHashI32 (const std::string &key, MK_NUM length=-1) |
static MK_STRN | SysHashSTR (MK_STRN key, MK_NUM length=-1) |
static MK_STRN | SysHashSTR (const std::string &key, MK_NUM length=-1) |
static void | DeleteCallbackCleanup (MK_STRN ident) |
static void | DeleteCallbackCleanup (const std::string &ident) |
static void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
static void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
Static Public Attributes | |
static thread_local Sq3StmtC | MK_NULL_REF = {(MK_OBJ)0} |
![]() | |
static thread_local MkObjectC | MK_NULL_REF |
Friends | |
class | Sq3Lite |
Additional Inherited Members | |
![]() | |
typedef void(MkObjectC::*) | MkObjectDeleteICB(MK_STRN const, MK_HDL const, MK_HDL const) |
typedef void(*) | MkObjectDeleteCCB(MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const) |
typedef void(MkObjectC::* | MkObjectDeleteICB) (MK_STRN const, MK_HDL const, MK_HDL const) |
typedef void(* | MkObjectDeleteCCB) (MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const) |
![]() | |
void | atomInit (MK_OBJ obj) |
void | atomUnlink () |
MkObjectC () | |
MkObjectC (MK_OBJ obj) | |
void | ErrorCheck (enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
void | ErrorCheck (MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
![]() | |
static void | ErrorCheck (MK_MNGN mng, enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) |
static MK_PTR | atomObjNew (MK_RT_ARGS MK_OBJ obj) |
static MK_PTR | atomObjCreate (MK_RT_ARGS MK_OBJ obj) |
![]() | |
MK_OBJ | hdl |
MK_RT | mkrt |
Struct to represent the data of the Sq3StmtC … → C-API: libsq3lite::Sq3StmtS
Definition at line 24 of file Sq3StmtC_cc.hh.
|
friend |
Definition at line 26 of file Sq3StmtC_cc.hh.