11#define META_FILE_NAME "Sq3ValueC_atl.c"
15#define OT_CLASS asq3rt->AtlSq3ValueC
16#define OT_NULL asq3rt->AtlSq3ValueC_MK_NULL
17#define OT_CLASS_NAME "Sq3ValueC"
19#define SELF2HDL(O) Sq3Val(VAL2MNG(O))
47#define OT_SETUP_hdl SetupHdlFromMetaData_2(SQ3_VAL)
48#define OT_SETUP_hdl__null_allow SetupHdlFromMetaData__null_allow_2(SQ3_VAL)
49#define OT_SETUP_hdl_destr SetupHdlFromMetaData__null_allow_2(SQ3_VAL)
50#define OT_SETUP_hdl_constr SetupHdlConstr(Sq3ValueC)
51#define OT_SETUP_hdl_static_constr OT_SETUP_hdl_static
52#define OT_SETUP_hdl_static SetupHdlStatic(Sq3ValueC)
54#define OT_retObj_CONSTR(x) OT_retObj_SET(AtomInit(OT_SELF,Sq3ValueC_X2obj(x),asq3rt))
59 if (Sq3ValueCTT == NULL) Sq3ValueCTT = Sq3ValueSTT; \
62 if (Sq3ValueCTT->selfCreate == NS(Sq3ValueC_selfCreate)) return MK_OK; \
65 Sq3ValueCTT->selfCreate = NS(Sq3ValueC_selfCreate); \
66 Sq3ValueCTT->selfDelete = NS(Sq3ValueC_selfDelete); \
67 Sq3ValueCTT->selfUnlink = NS(Sq3ValueC_selfUnlink); \
70 OT_CLASS = AltClassDef(Sq3ValueCTT,&asq3rt->AtlSq3ValueC_NS); \
71 if (OT_CLASS == NULL) goto error; \
72 OT_REF_INCR(OT_CLASS); \
75 check_LNG(AtlUnknownSetup (NS(sOtClassDef),asq3rt)) goto error; \
78 check_LNG(AtlUnknownSetup (NS(sInstanceDef),asq3rt)) goto error; \
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; \
86 OT_NULL = AtomCreateNULL(OT_CLASS, "::Sq3ValueC::MK_NULL", (MK_PTR)asq3rt); \
87 if (OT_NULL == NULL) goto error; \
94#define GetNull_doc "Sq3ValueC [Sq3ValueC::GetNull]"
95#define HandleResolve_doc "Sq3ValueC [Sq3ValueC::HandleResolve netHdl:MK_HDL]"
96#define Instances_doc "Sq3ValueC [Sq3ValueC::Instances]"
99#define Dup_doc "Sq3ValueC [Sq3ValueC::Dup $sq3val] (const)"
102#define BUF_doc "MkBufferC [Sq3ValueC::BUF $val] (const)"
103#define Blob_doc "MkBufferC [Sq3ValueC::Blob $sq3val] (const)"
104#define Next_doc "Sq3ValueC [Sq3ValueC::Next $val]"
105#define Prev_doc "Sq3ValueC [Sq3ValueC::Prev $val]"
108#define VtabInFirst_doc "Sq3ValueC [Sq3ValueC::VtabInFirst $pVal]"
109#define VtabInNext_doc "Sq3ValueC [Sq3ValueC::VtabInNext $pVal]"
112#define BinaryR_doc "binary [Sq3ValueC::BinaryR $sq3val] (const)"
113#define Bytes_doc "Sq3TextE [Sq3ValueC::Bytes $sq3val] (const)"
114#define Double_doc "double [Sq3ValueC::Double $sq3val] (const)"
115#define Encoding_doc "Sq3TextE [Sq3ValueC::Encoding $sq3val] (const)"
116#define FromBind_doc "bool [Sq3ValueC::FromBind $sq3val] (const)"
118#define Int_doc "int32 [Sq3ValueC::Int $sq3val] (const)"
119#define Int64_doc "int64 [Sq3ValueC::Int64 $sq3val] (const)"
121#define NoChange_doc "bool [Sq3ValueC::NoChange $sq3val] (const)"
122#define NumericType_doc "Sq3TypeE [Sq3ValueC::NumericType $sq3val] (const)"
123#define StringR_doc "string [Sq3ValueC::StringR $sq3val] (const)"
124#define SubType_doc "int32 [Sq3ValueC::SubType $sq3val] (const)"
125#define Text_doc "string [Sq3ValueC::Text $sq3val] (const)"
126#define Type_doc "Sq3TypeE [Sq3ValueC::Type $sq3val] (const)"
361 if (retVal == NULL) {
542 {
"::Sq3ValueC::GetNull" ,
NS(Sq3ValueC_GetNull) },
543 {
"::Sq3ValueC::HandleResolve" ,
NS(Sq3ValueC_HandleResolve) },
544 {
"::Sq3ValueC::Instances" ,
NS(Sq3ValueC_Instances) },
556 {
"::Sq3ValueC::Dup" ,
NS(Sq3ValueC_Dup) },
559 {
"::Sq3ValueC::BUF" ,
NS(Sq3ValueC_BUF) },
560 {
"::Sq3ValueC::Blob" ,
NS(Sq3ValueC_Blob) },
561 {
"::Sq3ValueC::Next" ,
NS(Sq3ValueC_Next) },
562 {
"::Sq3ValueC::Prev" ,
NS(Sq3ValueC_Prev) },
565 {
"::Sq3ValueC::VtabInFirst" ,
NS(Sq3ValueC_VtabInFirst) },
566 {
"::Sq3ValueC::VtabInNext" ,
NS(Sq3ValueC_VtabInNext) },
569 {
"::Sq3ValueC::BinaryR" ,
NS(Sq3ValueC_BinaryR) },
570 {
"::Sq3ValueC::Bytes" ,
NS(Sq3ValueC_Bytes) },
571 {
"::Sq3ValueC::Double" ,
NS(Sq3ValueC_Double) },
572 {
"::Sq3ValueC::Encoding" ,
NS(Sq3ValueC_Encoding) },
573 {
"::Sq3ValueC::FromBind" ,
NS(Sq3ValueC_FromBind) },
575 {
"::Sq3ValueC::Int" ,
NS(Sq3ValueC_Int) },
576 {
"::Sq3ValueC::Int64" ,
NS(Sq3ValueC_Int64) },
578 {
"::Sq3ValueC::NoChange" ,
NS(Sq3ValueC_NoChange) },
579 {
"::Sq3ValueC::NumericType" ,
NS(Sq3ValueC_NumericType) },
580 {
"::Sq3ValueC::StringR" ,
NS(Sq3ValueC_StringR) },
581 {
"::Sq3ValueC::SubType" ,
NS(Sq3ValueC_SubType) },
582 {
"::Sq3ValueC::Text" ,
NS(Sq3ValueC_Text) },
583 {
"::Sq3ValueC::Type" ,
NS(Sq3ValueC_Type) },
#define OT_CHECK_NIH(val)
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define OT_SETUP_ONEARG(d)
#define OT_ERROR_LNG_RETURN
#define OT_retObj_SET_Error
#define OT_retObj_SET_BUF(nat)
#define OT_ERROR_CONSTRUCTOR(class)
#define OT_retObj_SET_DBL(nat)
#define OT_retObj_SET_I64(nat)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_I32(nat)
#define OT_GET__ME_REF_MkStringR(s)
#define OT_GET__ME_REF_MkBinaryR(b)
#define OT_retObj_SET_STR(nat)
#define OT_retObj_SET(val)
#define MkErrorC_Check(mng, PROC)
#define OT_NEW_Sq3_enum_OBJ(typ, val)
#define OT_retObj_SET_VAL(nat)
#define HandleResolve_doc
#define OT_SETUP_hdl_static
static SQ3_VAL Sq3ValueGetNull(void)
Null-Slot - return a Sq3ValueC typed NULL instance …
#define Sq3ValueInstances()
#define Sq3ValueHandleResolve(...)
static SQ3_VAL Sq3ValueNext(SQ3_VAL const val)
get next instance from linked-list of Sq3ValueS type
static SQ3_VAL Sq3ValuePrev(SQ3_VAL const val)
get previous instance from linked-list of Sq3ValueS type
static enum Sq3TextE Sq3ValueEncoding(SQ3_VALN sq3val)
Report the internal text encoding state of an sqlite3_value object …
static enum Sq3TypeE Sq3ValueType(SQ3_VALN sq3val)
Obtaining SQL Values …
static enum Sq3TextE Sq3ValueBytes(SQ3_VALN sq3val)
Obtaining SQL Values …
static MK_I32 Sq3ValueSubType(SQ3_VALN sq3val)
Finding The Subtype Of SQL Values …
static MK_BOOL Sq3ValueFromBind(SQ3_VALN sq3val)
Obtaining SQL Values …
static MK_BOOL Sq3ValueNoChange(SQ3_VALN sq3val)
Obtaining SQL Values …
static enum Sq3TypeE Sq3ValueNumericType(SQ3_VALN sq3val)
Obtaining SQL Values …
static SQ3_VAL Sq3ValueDup(SQ3_VALN sq3val)
Copy And Free SQL Values …
static MkStringR Sq3ValueStringR(SQ3_VALN sq3val)
Obtaining SQL Values …
static MkBinaryR Sq3ValueBinaryR(SQ3_VALN sq3val)
Obtaining SQL Values …
#define Sq3ValueBlob(...)
static MK_I64 Sq3ValueInt64(SQ3_VALN sq3val)
Obtaining SQL Values …
static MK_STRN Sq3ValueText(SQ3_VALN sq3val)
Obtaining SQL Values …
static MK_DBL Sq3ValueDouble(SQ3_VALN sq3val)
Obtaining SQL Values …
static MK_I32 Sq3ValueInt(SQ3_VALN sq3val)
Obtaining SQL Values …
static enum MkErrorE Sq3ValueVtabInNext(SQ3_VAL pVal, SQ3_VAL *ppOut)
Find all elements on the right-hand side of an IN constraint …
static enum MkErrorE Sq3ValueVtabInFirst(SQ3_VAL pVal, SQ3_VAL *ppOut)
Find all elements on the right-hand side of an IN constraint …
Struct to represent the data of the Sq3ValueC …