theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_atl.c File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for Sq3StmtC_atl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "Sq3StmtC_atl.c"
 
#define OT_CLASS   asq3rt->AtlSq3StmtC
 
#define OT_NULL   asq3rt->AtlSq3StmtC_MK_NULL
 
#define OT_CLASS_NAME   "Sq3StmtC"
 
#define SELF2HDL(O)
 
#define OT_SETUP_hdl   SetupHdlFromMetaData_2(SQ3_STMT)
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(SQ3_STMT)
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(SQ3_STMT)
 
#define OT_SETUP_hdl_constr   SetupHdlConstr(Sq3StmtC)
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static   SetupHdlStatic(Sq3StmtC)
 
#define OT_retObj_CONSTR(x)
 
#define ClassInit
 
#define CTOR_doc   "Sq3StmtC [Sq3StmtC::CTOR db:Sq3LiteC zSql:string]"
 
#define PrepareV2_doc   "Sq3StmtC [Sq3StmtC::PrepareV2 db:Sq3LiteC zSql:string]"
 
#define PrepareV3_doc   "Sq3StmtC [Sq3StmtC::PrepareV3 db:Sq3LiteC zSql:string ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?]"
 
#define GetNull_doc   "Sq3StmtC [Sq3StmtC::GetNull]"
 
#define HandleResolve_doc   "Sq3StmtC [Sq3StmtC::HandleResolve netHdl:MK_HDL]"
 
#define Instances_doc   "Sq3StmtC [Sq3StmtC::Instances]"
 
#define NextStmt_doc   "Sq3StmtC [Sq3StmtC::NextStmt pDb:Sq3LiteC ?pStmt:Sq3StmtC=NULL?]"
 
#define ColumnValue_doc   "Sq3ValueC [Sq3StmtC::ColumnValue $sq3stmt iCol:int32]"
 
#define DbHandle_doc   "Sq3LiteC [Sq3StmtC::DbHandle $sq3stmt]"
 
#define Next_doc   "Sq3StmtC [Sq3StmtC::Next $stmt]"
 
#define Prev_doc   "Sq3StmtC [Sq3StmtC::Prev $stmt]"
 
#define BindBlob_doc   "Sq3StmtC::BindBlob $sq3stmt pos:int32 blob:binary"
 
#define BindDouble_doc   "Sq3StmtC::BindDouble $sq3stmt arg1:int32 arg2:double"
 
#define BindInt_doc   "Sq3StmtC::BindInt $sq3stmt arg1:int32 arg2:int32"
 
#define BindInt64_doc   "Sq3StmtC::BindInt64 $sq3stmt arg1:int32 arg2:int64"
 
#define BindNull_doc   "Sq3StmtC::BindNull $sq3stmt arg1:int32"
 
#define BindParameterCount_doc   "Sq3StmtC::BindParameterCount $sq3stmt"
 
#define BindParameterIndex_doc   "Sq3StmtC::BindParameterIndex $sq3stmt zName:string"
 
#define BindParameterName_doc   "string [Sq3StmtC::BindParameterName $sq3stmt arg1:int32]"
 
#define BindText_doc   "Sq3StmtC::BindText $sq3stmt pos:int32 text:string"
 
#define BindValue_doc   "Sq3StmtC::BindValue $sq3stmt arg1:int32 arg2:Sq3ValueC"
 
#define BindZeroblob_doc   "Sq3StmtC::BindZeroblob $sq3stmt arg1:int32 n:int32"
 
#define BindZeroblob64_doc   "Sq3StmtC::BindZeroblob64 $sq3stmt arg1:int32 arg2:int64"
 
#define Busy_doc   "Sq3StmtC::Busy $sq3stmt"
 
#define ClearBindings_doc   "Sq3StmtC::ClearBindings $sq3stmt"
 
#define ColumnBlob_doc   "binary [Sq3StmtC::ColumnBlob $sq3stmt iCol:int32]"
 
#define ColumnBytes_doc   "int32 [Sq3StmtC::ColumnBytes $sq3stmt iCol:int32]"
 
#define ColumnCount_doc   "int32 [Sq3StmtC::ColumnCount $pStmt]"
 
#define ColumnDouble_doc   "double [Sq3StmtC::ColumnDouble $sq3stmt iCol:int32]"
 
#define ColumnInt_doc   "int32 [Sq3StmtC::ColumnInt $sq3stmt iCol:int32]"
 
#define ColumnInt64_doc   "int64 [Sq3StmtC::ColumnInt64 $sq3stmt iCol:int32]"
 
#define ColumnName_doc   "string [Sq3StmtC::ColumnName $sq3stmt N:int32]"
 
#define ColumnText_doc   "string [Sq3StmtC::ColumnText $sq3stmt iCol:int32]"
 
#define ColumnType_doc   "Sq3TypeE [Sq3StmtC::ColumnType $sq3stmt iCol:int32]"
 
#define DataCount_doc   "Sq3StmtC::DataCount $pStmt"
 
#define ExpandedSql_doc   "string [Sq3StmtC::ExpandedSql $pStmt]"
 
#define Explain_doc   "Sq3StmtC::Explain $pStmt eMode:int32"
 
#define Finalize_doc   "Sq3StmtC::Finalize $pStmt"
 
#define GetPzTail_doc   "string [Sq3StmtC::GetPzTail $sq3stmt]"
 
#define IsExplain_doc   "Sq3StmtC::IsExplain $pStmt"
 
#define Readonly_doc   "Sq3StmtC::Readonly $pStmt"
 
#define Reset_doc   "Sq3StmtC::Reset $pStmt"
 
#define Sql_doc   "string [Sq3StmtC::Sql $pStmt]"
 
#define Status_doc   "Sq3StmtC::Status $sq3stmt op:Sq3StmtStatusE resetFlg:bool"
 
#define Step_doc   "Sq3ErrorE [Sq3StmtC::Step $sq3stmt]"
 

Functions

static MK_PTR atlsq3lite_Sq3StmtC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void atlsq3lite_Sq3StmtC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void atlsq3lite_Sq3StmtC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindBlob (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindBlob $sq3stmt pos:int32 blob:binary C-API
Bind a MkBinaryR Value To a Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindDouble (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindDouble $sq3stmt arg1:int32 arg2:double C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindInt (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindInt $sq3stmt arg1:int32 arg2:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindInt64 (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindInt64 $sq3stmt arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindNull (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindNull $sq3stmt arg1:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterCount (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindParameterCount $sq3stmt C-API
Number Of SQL Parameters …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterIndex (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindParameterIndex $sq3stmt zName:string C-API
Index Of A Parameter With A Given Name …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterName (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::BindParameterName $sq3stmt arg1:int32] C-API
Name Of A Host Parameter …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindText (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindText $sq3stmt pos:int32 text:string C-API
Bind a MkStringR Value To a Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindValue (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindValue $sq3stmt arg1:int32 arg2:Sq3ValueC C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindZeroblob (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindZeroblob $sq3stmt arg1:int32 n:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindZeroblob64 (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindZeroblob64 $sq3stmt arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_HandleResolve (OtClass_ARGS)
  Atl: (static) Sq3StmtC [Sq3StmtC::HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a Sq3StmtC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atlsq3lite_Sq3StmtC_HandleGet (Sq3StmtC_ARGS)
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Next (Sq3StmtC_ARGS)
  Atl: Sq3StmtC [Sq3StmtC::Next $stmt] C-API
get next instance from linked-list of Sq3StmtS type
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Prev (Sq3StmtC_ARGS)
  Atl: Sq3StmtC [Sq3StmtC::Prev $stmt] C-API
get previous instance from linked-list of Sq3StmtS type
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Instances (OtClass_ARGS)
  Atl: (static) Sq3StmtC [Sq3StmtC::Instances] C-API
get head-instance from linked-list of Sq3StmtS type …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_GetNull (OtClass_ARGS)
  Atl: (static) Sq3StmtC [Sq3StmtC::GetNull] C-API
Null-Slot - return a Sq3StmtC typed NULL instance …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnValue (Sq3StmtC_ARGS)
  Atl: Sq3ValueC [Sq3StmtC::ColumnValue $sq3stmt iCol:int32] C-API
Result Values From A Query …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnBlob (Sq3StmtC_ARGS)
  Atl: binary [Sq3StmtC::ColumnBlob $sq3stmt iCol:int32] C-API
Result a MkBinaryR Value From A Query.
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnBytes (Sq3StmtC_ARGS)
  Atl: int32 [Sq3StmtC::ColumnBytes $sq3stmt iCol:int32] C-API
Result Values From A Query …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnCount (Sq3StmtC_ARGS)
  Atl: int32 [Sq3StmtC::ColumnCount $pStmt] C-API
Number Of Columns In A Result Set …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnDouble (Sq3StmtC_ARGS)
  Atl: double [Sq3StmtC::ColumnDouble $sq3stmt iCol:int32] C-API
Result Values From A Query …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnInt (Sq3StmtC_ARGS)
  Atl: int32 [Sq3StmtC::ColumnInt $sq3stmt iCol:int32] C-API
Result Values From A Query …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnInt64 (Sq3StmtC_ARGS)
  Atl: int64 [Sq3StmtC::ColumnInt64 $sq3stmt iCol:int32] C-API
Result Values From A Query …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnName (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::ColumnName $sq3stmt N:int32] C-API
Column Names In A Result Set …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnText (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::ColumnText $sq3stmt iCol:int32] C-API
Result a MkStringR Value From A Query.
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ColumnType (Sq3StmtC_ARGS)
  Atl: Sq3TypeE [Sq3StmtC::ColumnType $sq3stmt iCol:int32] C-API
Result Values From A Query …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_DbHandle (Sq3StmtC_ARGS)
  Atl: Sq3LiteC [Sq3StmtC::DbHandle $sq3stmt] C-API
Find The Database Handle Of A Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Busy (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Busy $sq3stmt C-API
Determine If A Prepared Statement Has Been Reset …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_DataCount (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::DataCount $pStmt C-API
Number of columns in a result set …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_IsExplain (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::IsExplain $pStmt C-API
Query The EXPLAIN Setting For A Prepared Statement …
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atlsq3lite_Sq3StmtC_Log (Sq3StmtC_ARGS)
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Readonly (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Readonly $pStmt C-API
Determine If An SQL Statement Writes The Database …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Status (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Status $sq3stmt op:Sq3StmtStatusE resetFlg:bool C-API
Prepared Statement Status …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_NextStmt (OtClass_ARGS)
  Atl: (static) Sq3StmtC [Sq3StmtC::NextStmt pDb:Sq3LiteC ?pStmt:Sq3StmtC=NULL?] C-API
Find the next prepared statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ClearBindings (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::ClearBindings $sq3stmt C-API
Reset All Bindings On A Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Explain (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Explain $pStmt eMode:int32 C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Reset (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Reset $pStmt C-API
Reset A Prepared Statement Object …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Step (Sq3StmtC_ARGS)
  Atl: Sq3ErrorE [Sq3StmtC::Step $sq3stmt] C-API
Evaluate An SQL Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ExpandedSql (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::ExpandedSql $pStmt] C-API
Retrieving Statement SQL …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_GetPzTail (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::GetPzTail $sq3stmt] C-API
return the non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Sql (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::Sql $pStmt] C-API
Retrieving Statement SQL …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_CTOR (CONSTR_ARGS)
  Atl: (constructor,static) Sq3StmtC [Sq3StmtC::CTOR db:Sq3LiteC zSql:string] C-API
Compiling An SQL Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_PrepareV2 (OtClass_ARGS)
  Atl: (constructor,static) Sq3StmtC [Sq3StmtC::PrepareV2 db:Sq3LiteC zSql:string] C-API
Compiling An SQL Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_PrepareV3 (OtClass_ARGS)
  Atl: (constructor,static) Sq3StmtC [Sq3StmtC::PrepareV3 db:Sq3LiteC zSql:string ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?] C-API
Compiling An SQL Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Finalize (Sq3StmtC_ARGS)
  Atl: (destructor) Sq3StmtC::Finalize $pStmt C-API
Destroy A Prepared Statement Object …
 
int atlsq3lite_pSq3StmtC_Init (OT_SQ3_ARGS OT_NS_T ns)
 

Variables

static const OtObjProcDefS atlsq3lite_sOtClassDef []
 
static const OtObjProcDefS atlsq3lite_sInstanceDef []
 

Detailed Description

tag: nhi1-release-250425

Definition in file Sq3StmtC_atl.c.

Macro Definition Documentation

◆ BindBlob_doc

#define BindBlob_doc   "Sq3StmtC::BindBlob $sq3stmt pos:int32 blob:binary"

Definition at line 111 of file Sq3StmtC_atl.c.

◆ BindDouble_doc

#define BindDouble_doc   "Sq3StmtC::BindDouble $sq3stmt arg1:int32 arg2:double"

Definition at line 112 of file Sq3StmtC_atl.c.

◆ BindInt64_doc

#define BindInt64_doc   "Sq3StmtC::BindInt64 $sq3stmt arg1:int32 arg2:int64"

Definition at line 114 of file Sq3StmtC_atl.c.

◆ BindInt_doc

#define BindInt_doc   "Sq3StmtC::BindInt $sq3stmt arg1:int32 arg2:int32"

Definition at line 113 of file Sq3StmtC_atl.c.

◆ BindNull_doc

#define BindNull_doc   "Sq3StmtC::BindNull $sq3stmt arg1:int32"

Definition at line 115 of file Sq3StmtC_atl.c.

◆ BindParameterCount_doc

#define BindParameterCount_doc   "Sq3StmtC::BindParameterCount $sq3stmt"

Definition at line 116 of file Sq3StmtC_atl.c.

◆ BindParameterIndex_doc

#define BindParameterIndex_doc   "Sq3StmtC::BindParameterIndex $sq3stmt zName:string"

Definition at line 117 of file Sq3StmtC_atl.c.

◆ BindParameterName_doc

#define BindParameterName_doc   "string [Sq3StmtC::BindParameterName $sq3stmt arg1:int32]"

Definition at line 118 of file Sq3StmtC_atl.c.

◆ BindText_doc

#define BindText_doc   "Sq3StmtC::BindText $sq3stmt pos:int32 text:string"

Definition at line 119 of file Sq3StmtC_atl.c.

◆ BindValue_doc

#define BindValue_doc   "Sq3StmtC::BindValue $sq3stmt arg1:int32 arg2:Sq3ValueC"

Definition at line 120 of file Sq3StmtC_atl.c.

◆ BindZeroblob64_doc

#define BindZeroblob64_doc   "Sq3StmtC::BindZeroblob64 $sq3stmt arg1:int32 arg2:int64"

Definition at line 122 of file Sq3StmtC_atl.c.

◆ BindZeroblob_doc

#define BindZeroblob_doc   "Sq3StmtC::BindZeroblob $sq3stmt arg1:int32 n:int32"

Definition at line 121 of file Sq3StmtC_atl.c.

◆ Busy_doc

#define Busy_doc   "Sq3StmtC::Busy $sq3stmt"

Definition at line 123 of file Sq3StmtC_atl.c.

◆ ClassInit

#define ClassInit

Definition at line 57 of file Sq3StmtC_atl.c.

57#define ClassInit \
58 /* if not already done, initialize NEW META type */ \
59 if (Sq3StmtCTT == NULL) Sq3StmtCTT = Sq3StmtSTT; \
60 \
61 /* protect against double call */ \
62 if (Sq3StmtCTT->selfCreate == NS(Sq3StmtC_selfCreate)) return MK_OK; \
63 \
64 /* add "selfCreate" and "selfDelete" feature to the META-Class */ \
65 Sq3StmtCTT->selfCreate = NS(Sq3StmtC_selfCreate); \
66 Sq3StmtCTT->selfDelete = NS(Sq3StmtC_selfDelete); \
67 Sq3StmtCTT->selfUnlink = NS(Sq3StmtC_selfUnlink); \
68 \
69 /* create the ATL-class */ \
70 OT_CLASS = AltClassDef(Sq3StmtCTT,&asq3rt->AtlSq3StmtC_NS); \
71 if (OT_CLASS == NULL) goto error; \
72 OT_REF_INCR(OT_CLASS); \
73 \
74 /* create the ATL static Methods */ \
75 check_LNG(AtlUnknownSetup (NS(sOtClassDef),asq3rt)) goto error; \
76 \
77 /* create the ATL instance Methods */ \
78 check_LNG(AtlUnknownSetup (NS(sInstanceDef),asq3rt)) goto error; \
79 \
80 /* after class was modified, recompile the class */ \
81 RL_init(2, recompile, RL_T(0,RecompileN)); RL_O(1,OT_CLASS) ; \
82 int retI = RL_EvalEx(0); \
83 if (retI != TCL_OK) return retI; \
84 \
85 /* define the "NULL" object */ \
86 OT_NULL = AtomCreateNULL(OT_CLASS, "::Sq3StmtC::MK_NULL", (MK_PTR)asq3rt); \
87 if (OT_NULL == NULL) goto error; \
88 OT_REF_INCR(OT_NULL);

◆ ClearBindings_doc

#define ClearBindings_doc   "Sq3StmtC::ClearBindings $sq3stmt"

Definition at line 124 of file Sq3StmtC_atl.c.

◆ ColumnBlob_doc

#define ColumnBlob_doc   "binary [Sq3StmtC::ColumnBlob $sq3stmt iCol:int32]"

Definition at line 125 of file Sq3StmtC_atl.c.

◆ ColumnBytes_doc

#define ColumnBytes_doc   "int32 [Sq3StmtC::ColumnBytes $sq3stmt iCol:int32]"

Definition at line 126 of file Sq3StmtC_atl.c.

◆ ColumnCount_doc

#define ColumnCount_doc   "int32 [Sq3StmtC::ColumnCount $pStmt]"

Definition at line 127 of file Sq3StmtC_atl.c.

◆ ColumnDouble_doc

#define ColumnDouble_doc   "double [Sq3StmtC::ColumnDouble $sq3stmt iCol:int32]"

Definition at line 128 of file Sq3StmtC_atl.c.

◆ ColumnInt64_doc

#define ColumnInt64_doc   "int64 [Sq3StmtC::ColumnInt64 $sq3stmt iCol:int32]"

Definition at line 130 of file Sq3StmtC_atl.c.

◆ ColumnInt_doc

#define ColumnInt_doc   "int32 [Sq3StmtC::ColumnInt $sq3stmt iCol:int32]"

Definition at line 129 of file Sq3StmtC_atl.c.

◆ ColumnName_doc

#define ColumnName_doc   "string [Sq3StmtC::ColumnName $sq3stmt N:int32]"

Definition at line 131 of file Sq3StmtC_atl.c.

◆ ColumnText_doc

#define ColumnText_doc   "string [Sq3StmtC::ColumnText $sq3stmt iCol:int32]"

Definition at line 132 of file Sq3StmtC_atl.c.

◆ ColumnType_doc

#define ColumnType_doc   "Sq3TypeE [Sq3StmtC::ColumnType $sq3stmt iCol:int32]"

Definition at line 133 of file Sq3StmtC_atl.c.

◆ ColumnValue_doc

#define ColumnValue_doc   "Sq3ValueC [Sq3StmtC::ColumnValue $sq3stmt iCol:int32]"

Definition at line 105 of file Sq3StmtC_atl.c.

◆ CTOR_doc

#define CTOR_doc   "Sq3StmtC [Sq3StmtC::CTOR db:Sq3LiteC zSql:string]"

Definition at line 94 of file Sq3StmtC_atl.c.

◆ DataCount_doc

#define DataCount_doc   "Sq3StmtC::DataCount $pStmt"

Definition at line 134 of file Sq3StmtC_atl.c.

◆ DbHandle_doc

#define DbHandle_doc   "Sq3LiteC [Sq3StmtC::DbHandle $sq3stmt]"

Definition at line 106 of file Sq3StmtC_atl.c.

◆ ExpandedSql_doc

#define ExpandedSql_doc   "string [Sq3StmtC::ExpandedSql $pStmt]"

Definition at line 135 of file Sq3StmtC_atl.c.

◆ Explain_doc

#define Explain_doc   "Sq3StmtC::Explain $pStmt eMode:int32"

Definition at line 136 of file Sq3StmtC_atl.c.

◆ Finalize_doc

#define Finalize_doc   "Sq3StmtC::Finalize $pStmt"

Definition at line 137 of file Sq3StmtC_atl.c.

◆ GetNull_doc

#define GetNull_doc   "Sq3StmtC [Sq3StmtC::GetNull]"

Definition at line 99 of file Sq3StmtC_atl.c.

◆ GetPzTail_doc

#define GetPzTail_doc   "string [Sq3StmtC::GetPzTail $sq3stmt]"

Definition at line 138 of file Sq3StmtC_atl.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "Sq3StmtC [Sq3StmtC::HandleResolve netHdl:MK_HDL]"

Definition at line 100 of file Sq3StmtC_atl.c.

◆ Instances_doc

#define Instances_doc   "Sq3StmtC [Sq3StmtC::Instances]"

Definition at line 101 of file Sq3StmtC_atl.c.

◆ IsExplain_doc

#define IsExplain_doc   "Sq3StmtC::IsExplain $pStmt"

Definition at line 140 of file Sq3StmtC_atl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "Sq3StmtC_atl.c"

Definition at line 11 of file Sq3StmtC_atl.c.

◆ Next_doc

#define Next_doc   "Sq3StmtC [Sq3StmtC::Next $stmt]"

Definition at line 107 of file Sq3StmtC_atl.c.

◆ NextStmt_doc

#define NextStmt_doc   "Sq3StmtC [Sq3StmtC::NextStmt pDb:Sq3LiteC ?pStmt:Sq3StmtC=NULL?]"

Definition at line 102 of file Sq3StmtC_atl.c.

◆ OT_CLASS

#define OT_CLASS   asq3rt->AtlSq3StmtC

Definition at line 15 of file Sq3StmtC_atl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "Sq3StmtC"

Definition at line 17 of file Sq3StmtC_atl.c.

◆ OT_NULL

#define OT_NULL   asq3rt->AtlSq3StmtC_MK_NULL

Definition at line 16 of file Sq3StmtC_atl.c.

◆ OT_retObj_CONSTR

#define OT_retObj_CONSTR ( x)
Value:
#define OT_SELF
#define AtomInit(...)
#define OT_retObj_SET(val)
#define Sq3StmtC_X2obj(x)

Definition at line 54 of file Sq3StmtC_atl.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(SQ3_STMT)

Definition at line 47 of file Sq3StmtC_atl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(SQ3_STMT)

Definition at line 48 of file Sq3StmtC_atl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr   SetupHdlConstr(Sq3StmtC)

Definition at line 50 of file Sq3StmtC_atl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(SQ3_STMT)

Definition at line 49 of file Sq3StmtC_atl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static   SetupHdlStatic(Sq3StmtC)

Definition at line 52 of file Sq3StmtC_atl.c.

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 51 of file Sq3StmtC_atl.c.

◆ PrepareV2_doc

#define PrepareV2_doc   "Sq3StmtC [Sq3StmtC::PrepareV2 db:Sq3LiteC zSql:string]"

Definition at line 95 of file Sq3StmtC_atl.c.

◆ PrepareV3_doc

#define PrepareV3_doc   "Sq3StmtC [Sq3StmtC::PrepareV3 db:Sq3LiteC zSql:string ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?]"

Definition at line 96 of file Sq3StmtC_atl.c.

◆ Prev_doc

#define Prev_doc   "Sq3StmtC [Sq3StmtC::Prev $stmt]"

Definition at line 108 of file Sq3StmtC_atl.c.

◆ Readonly_doc

#define Readonly_doc   "Sq3StmtC::Readonly $pStmt"

Definition at line 142 of file Sq3StmtC_atl.c.

◆ Reset_doc

#define Reset_doc   "Sq3StmtC::Reset $pStmt"

Definition at line 143 of file Sq3StmtC_atl.c.

◆ SELF2HDL

#define SELF2HDL ( O)
Value:
#define VAL2MNG(val)
static SQ3_STMT Sq3Stmt(MK_MNG mng)
cast a unknown-object into an Sq3StmtS pointer or NULL if not possible

Definition at line 19 of file Sq3StmtC_atl.c.

◆ Sql_doc

#define Sql_doc   "string [Sq3StmtC::Sql $pStmt]"

Definition at line 144 of file Sq3StmtC_atl.c.

◆ Status_doc

#define Status_doc   "Sq3StmtC::Status $sq3stmt op:Sq3StmtStatusE resetFlg:bool"

Definition at line 145 of file Sq3StmtC_atl.c.

◆ Step_doc

#define Step_doc   "Sq3ErrorE [Sq3StmtC::Step $sq3stmt]"

Definition at line 148 of file Sq3StmtC_atl.c.

Function Documentation

◆ atlsq3lite_pSq3StmtC_Init()

int atlsq3lite_pSq3StmtC_Init ( OT_SQ3_ARGS OT_NS_T ns)

Public API

Definition at line 1054 of file Sq3StmtC_atl.c.

1055{
1056 ClassInit
1057
1058 return TCL_OK;
1059error:
1060 return TCL_ERROR;
1061}
#define ClassInit

◆ atlsq3lite_Sq3StmtC_selfCreate()

static MK_PTR atlsq3lite_Sq3StmtC_selfCreate ( MK_RT mkrt,
MK_OBJ const obj,
MK_PTR const env )
static

Definition at line 28 of file Sq3StmtC_atl.c.

28 {
29 SETUP_asq3rt(env);
30 return AtomMake(obj,OT_CLASS,NULL,NULL,env);
31}
#define AtomMake(...)
#define SETUP_asq3rt(r)
#define OT_CLASS

◆ atlsq3lite_Sq3StmtC_selfDelete()

static void atlsq3lite_Sq3StmtC_selfDelete ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 34 of file Sq3StmtC_atl.c.

34 {
35 OT_SELF_T selfO = selfP;
36 SETUP_asq3rt(env);
37 MK(AtomDeleteHard) (OT_MK_CALL selfO);
38}
#define MK(n)
MOX_OBJ_T OT_SELF_T
#define OT_MK_CALL

◆ atlsq3lite_Sq3StmtC_selfUnlink()

static void atlsq3lite_Sq3StmtC_selfUnlink ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 41 of file Sq3StmtC_atl.c.

41 {
42 OT_SELF_T selfO = selfP;
43 SETUP_asq3rt(env);
44 return MK(AtomUnlink) (OT_MK_CALL selfO);
45}

Variable Documentation

◆ atlsq3lite_sInstanceDef

const OtObjProcDefS atlsq3lite_sInstanceDef[]
static

Definition at line 992 of file Sq3StmtC_atl.c.

992 {
993 // BEGIN-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
994
995 // doc-key: Sq3StmtC,Sq3Stmt,oC_
996 { "::Sq3StmtC::Sq3StmtC" , NS(Sq3StmtC_CTOR) },
997
998 // doc-key: Sq3StmtC,Sq3Stmt,oc_
999 { "::Sq3StmtC::ColumnValue" , NS(Sq3StmtC_ColumnValue) },
1000 { "::Sq3StmtC::DbHandle" , NS(Sq3StmtC_DbHandle) },
1001 { "::Sq3StmtC::Next" , NS(Sq3StmtC_Next) },
1002 { "::Sq3StmtC::Prev" , NS(Sq3StmtC_Prev) },
1003
1004 // doc-key: Sq3StmtC,Sq3Stmt,om_
1005 { "::Sq3StmtC::BindBlob" , NS(Sq3StmtC_BindBlob) },
1006 { "::Sq3StmtC::BindDouble" , NS(Sq3StmtC_BindDouble) },
1007 { "::Sq3StmtC::BindInt" , NS(Sq3StmtC_BindInt) },
1008 { "::Sq3StmtC::BindInt64" , NS(Sq3StmtC_BindInt64) },
1009 { "::Sq3StmtC::BindNull" , NS(Sq3StmtC_BindNull) },
1010 { "::Sq3StmtC::BindParameterCount" , NS(Sq3StmtC_BindParameterCount) },
1011 { "::Sq3StmtC::BindParameterIndex" , NS(Sq3StmtC_BindParameterIndex) },
1012 { "::Sq3StmtC::BindParameterName" , NS(Sq3StmtC_BindParameterName) },
1013 { "::Sq3StmtC::BindText" , NS(Sq3StmtC_BindText) },
1014 { "::Sq3StmtC::BindValue" , NS(Sq3StmtC_BindValue) },
1015 { "::Sq3StmtC::BindZeroblob" , NS(Sq3StmtC_BindZeroblob) },
1016 { "::Sq3StmtC::BindZeroblob64" , NS(Sq3StmtC_BindZeroblob64) },
1017 { "::Sq3StmtC::Busy" , NS(Sq3StmtC_Busy) },
1018 { "::Sq3StmtC::ClearBindings" , NS(Sq3StmtC_ClearBindings) },
1019 { "::Sq3StmtC::ColumnBlob" , NS(Sq3StmtC_ColumnBlob) },
1020 { "::Sq3StmtC::ColumnBytes" , NS(Sq3StmtC_ColumnBytes) },
1021 { "::Sq3StmtC::ColumnCount" , NS(Sq3StmtC_ColumnCount) },
1022 { "::Sq3StmtC::ColumnDouble" , NS(Sq3StmtC_ColumnDouble) },
1023 { "::Sq3StmtC::ColumnInt" , NS(Sq3StmtC_ColumnInt) },
1024 { "::Sq3StmtC::ColumnInt64" , NS(Sq3StmtC_ColumnInt64) },
1025 { "::Sq3StmtC::ColumnName" , NS(Sq3StmtC_ColumnName) },
1026 { "::Sq3StmtC::ColumnText" , NS(Sq3StmtC_ColumnText) },
1027 { "::Sq3StmtC::ColumnType" , NS(Sq3StmtC_ColumnType) },
1028 { "::Sq3StmtC::DataCount" , NS(Sq3StmtC_DataCount) },
1029 { "::Sq3StmtC::ExpandedSql" , NS(Sq3StmtC_ExpandedSql) },
1030 { "::Sq3StmtC::Explain" , NS(Sq3StmtC_Explain) },
1031 { "::Sq3StmtC::Finalize" , NS(Sq3StmtC_Finalize) },
1032 { "::Sq3StmtC::GetPzTail" , NS(Sq3StmtC_GetPzTail) },
1033 // skip class-overload: HandleGet → MkObjectHandleGet
1034 { "::Sq3StmtC::IsExplain" , NS(Sq3StmtC_IsExplain) },
1035 // skip class-overload: Log → MkObjectLog
1036 { "::Sq3StmtC::Readonly" , NS(Sq3StmtC_Readonly) },
1037 { "::Sq3StmtC::Reset" , NS(Sq3StmtC_Reset) },
1038 { "::Sq3StmtC::Sql" , NS(Sq3StmtC_Sql) },
1039 { "::Sq3StmtC::Status" , NS(Sq3StmtC_Status) },
1040
1041 // doc-key: Sq3StmtC,Sq3Stmt,omo
1042 { "::Sq3StmtC::Step" , NS(Sq3StmtC_Step) },
1043
1044 // END-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
1045 { NULL }
1046};
#define NS(n)

◆ atlsq3lite_sOtClassDef

const OtObjProcDefS atlsq3lite_sOtClassDef[]
static
Initial value:
= {
{ "::Sq3StmtC::PrepareV2" , atlsq3lite_Sq3StmtC_PrepareV2 },
{ "::Sq3StmtC::PrepareV3" , atlsq3lite_Sq3StmtC_PrepareV3 },
{ "::Sq3StmtC::GetNull" , atlsq3lite_Sq3StmtC_GetNull },
{ "::Sq3StmtC::HandleResolve" , atlsq3lite_Sq3StmtC_HandleResolve },
{ "::Sq3StmtC::Instances" , atlsq3lite_Sq3StmtC_Instances },
{ "::Sq3StmtC::NextStmt" , atlsq3lite_Sq3StmtC_NextStmt },
{ NULL }
}
static OT_ProcRet atlsq3lite_Sq3StmtC_Instances(OtClass_ARGS)
Atl: (static) Sq3StmtC [Sq3StmtC::Instances] → C-API get head-instance from linked-list of Sq3St...
static OT_ProcRet atlsq3lite_Sq3StmtC_HandleResolve(OtClass_ARGS)
Atl: (static) Sq3StmtC [Sq3StmtC::HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot - ret...
static OT_ProcRet atlsq3lite_Sq3StmtC_GetNull(OtClass_ARGS)
Atl: (static) Sq3StmtC [Sq3StmtC::GetNull] → C-API Null-Slot - return a Sq3StmtC typed NULL inst...
static OT_ProcRet atlsq3lite_Sq3StmtC_NextStmt(OtClass_ARGS)
Atl: (static) Sq3StmtC [Sq3StmtC::NextStmt pDb:Sq3LiteC ?pStmt:Sq3StmtC=NULL?] → C-API Find the ...
static OT_ProcRet atlsq3lite_Sq3StmtC_PrepareV2(OtClass_ARGS)
Atl: (constructor,static) Sq3StmtC [Sq3StmtC::PrepareV2 db:Sq3LiteC zSql:string] → C-API Compi...
static OT_ProcRet atlsq3lite_Sq3StmtC_PrepareV3(OtClass_ARGS)
Atl: (constructor,static) Sq3StmtC [Sq3StmtC::PrepareV3 db:Sq3LiteC zSql:string ?prepFlags:Sq3Prepare...

Definition at line 973 of file Sq3StmtC_atl.c.

973 {
974 // BEGIN-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
975
976 // doc-key: Sq3StmtC,Sq3Stmt,sCo
977 { "::Sq3StmtC::PrepareV2" , NS(Sq3StmtC_PrepareV2) },
978 { "::Sq3StmtC::PrepareV3" , NS(Sq3StmtC_PrepareV3) },
979
980 // doc-key: Sq3StmtC,Sq3Stmt,sc_
981 { "::Sq3StmtC::GetNull" , NS(Sq3StmtC_GetNull) },
982 { "::Sq3StmtC::HandleResolve" , NS(Sq3StmtC_HandleResolve) },
983 { "::Sq3StmtC::Instances" , NS(Sq3StmtC_Instances) },
984 { "::Sq3StmtC::NextStmt" , NS(Sq3StmtC_NextStmt) },
985
986 // END-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
987 { NULL }
988};