11#define META_FILE_NAME "Sq3BlobC_atl.c"
15#define OT_CLASS asq3rt->AtlSq3BlobC
16#define OT_NULL asq3rt->AtlSq3BlobC_MK_NULL
17#define OT_CLASS_NAME "Sq3BlobC"
19#define SELF2HDL(O) Sq3Blob(VAL2MNG(O))
47#define OT_SETUP_hdl SetupHdlFromMetaData_2(SQ3_BLOB)
48#define OT_SETUP_hdl__null_allow SetupHdlFromMetaData__null_allow_2(SQ3_BLOB)
49#define OT_SETUP_hdl_destr SetupHdlFromMetaData__null_allow_2(SQ3_BLOB)
50#define OT_SETUP_hdl_constr SetupHdlConstr(Sq3BlobC)
51#define OT_SETUP_hdl_static_constr OT_SETUP_hdl_static
52#define OT_SETUP_hdl_static SetupHdlStatic(Sq3BlobC)
54#define OT_retObj_CONSTR(x) OT_retObj_SET(AtomInit(OT_SELF,Sq3BlobC_X2obj(x),asq3rt))
59 if (Sq3BlobCTT == NULL) Sq3BlobCTT = Sq3BlobSTT; \
62 if (Sq3BlobCTT->selfCreate == NS(Sq3BlobC_selfCreate)) return MK_OK; \
65 Sq3BlobCTT->selfCreate = NS(Sq3BlobC_selfCreate); \
66 Sq3BlobCTT->selfDelete = NS(Sq3BlobC_selfDelete); \
67 Sq3BlobCTT->selfUnlink = NS(Sq3BlobC_selfUnlink); \
70 OT_CLASS = AltClassDef(Sq3BlobCTT,&asq3rt->AtlSq3BlobC_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, "::Sq3BlobC::MK_NULL", (MK_PTR)asq3rt); \
87 if (OT_NULL == NULL) goto error; \
94#define CTOR_doc "Sq3BlobC [Sq3BlobC::CTOR sq3lite:Sq3LiteC zDb:string zTable:string zColumn:string iRow:int64 flags:int32]"
95#define Open_doc "Sq3BlobC [Sq3BlobC::Open sq3lite:Sq3LiteC zDb:string zTable:string zColumn:string iRow:int64 flags:int32]"
98#define GetNull_doc "Sq3BlobC [Sq3BlobC::GetNull]"
99#define HandleResolve_doc "Sq3BlobC [Sq3BlobC::HandleResolve netHdl:MK_HDL]"
100#define Instances_doc "Sq3BlobC [Sq3BlobC::Instances]"
103#define Next_doc "Sq3BlobC [Sq3BlobC::Next $blob]"
104#define Prev_doc "Sq3BlobC [Sq3BlobC::Prev $blob]"
107#define Read_doc "MkBufferC [Sq3BlobC::Read $sq3blob Z_inout:MkBufferC iOffset:int32]"
110#define Bytes_doc "int32 [Sq3BlobC::Bytes $sq3blob]"
112#define Reopen_doc "Sq3BlobC::Reopen $sq3blob arg1:int64"
113#define Write_doc "Sq3BlobC::Write $sq3blob z:MkBufferC iOffset:int32"
392 {
"::Sq3BlobC::Open" ,
NS(Sq3BlobC_Open) },
395 {
"::Sq3BlobC::GetNull" ,
NS(Sq3BlobC_GetNull) },
396 {
"::Sq3BlobC::HandleResolve" ,
NS(Sq3BlobC_HandleResolve) },
397 {
"::Sq3BlobC::Instances" ,
NS(Sq3BlobC_Instances) },
409 {
"::Sq3BlobC::Sq3BlobC" ,
NS(Sq3BlobC_CTOR) },
412 {
"::Sq3BlobC::Next" ,
NS(Sq3BlobC_Next) },
413 {
"::Sq3BlobC::Prev" ,
NS(Sq3BlobC_Prev) },
416 {
"::Sq3BlobC::Read" ,
NS(Sq3BlobC_Read) },
419 {
"::Sq3BlobC::Bytes" ,
NS(Sq3BlobC_Bytes) },
421 {
"::Sq3BlobC::Reopen" ,
NS(Sq3BlobC_Reopen) },
422 {
"::Sq3BlobC::Write" ,
NS(Sq3BlobC_Write) },
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NIH(val)
#define OT_SETUP_NOARG(d)
#define OT_SETUP_ONEARG(d)
#define OT_ERROR_LNG_RETURN
#define OT_CHECK_NI4(val)
#define OT_CHECK_NI8(val)
#define OT_retObj_SET_Error
#define OT_CONSTRUCTOR_POST(x)
#define OT_retObj_SET_BUF(nat)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_SET_I32(nat)
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK_OPTIONAL(val)
#define MkErrorC_Check(mng, PROC)
#define OT_CHECK_STRN(val)
#define OT_retObj_SET_BLOB(nat)
#define OT_SETUP_hdl_static_constr
#define HandleResolve_doc
#define OT_SETUP_hdl_static
#define OT_SETUP_hdl_constr
#define OT_retObj_CONSTR(x)
#define Sq3BlobHandleResolve(...)
static SQ3_BLOB Sq3BlobPrev(SQ3_BLOB const blob)
get previous instance from linked-list of Sq3BlobS type
#define Sq3BlobInstances()
static SQ3_BLOB Sq3BlobNext(SQ3_BLOB const blob)
get next instance from linked-list of Sq3BlobS type
static SQ3_BLOB Sq3BlobGetNull(void)
Null-Slot - return a Sq3BlobC typed NULL instance …
static MK_I32 Sq3BlobBytes(SQ3_BLOB sq3blob)
Return The Size Of An Open BLOB …
#define Sq3BlobWrite(...)
static enum MkErrorE Sq3BlobReopen(SQ3_BLOB sq3blob, MK_I64 arg1)
Move a BLOB Handle to a New Row …
static enum MkErrorE Sq3BlobOpen(SQ3_LITE sq3lite, MK_STRN zDb, MK_STRN zTable, MK_STRN zColumn, MK_I64 iRow, MK_I32 flags, SQ3_BLOB *ppBlob)
Open A BLOB For Incremental I/O …
#define OT_CHECK_BUF(val, nullB)
#define OT_CHECK_LITE(val, nullB)
Struct to represent the data of the Sq3BlobC …
Struct to represent the data of the Sq3LiteC …