theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3FileC_inline_cc.hh
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11#pragma once
12
13namespace ccsq3lite {
14
15/*
16 inline MK_PTR Sq3FileC::Sq3FileC_selfCreateTLS(MK_OBJ obj) {
17 return new Sq3FileC(obj);
18 }
19
20 inline MK_PTR Sq3FileC::Sq3FileC_selfCreate (MK_RT_ARGS MK_OBJ obj, MK_PTR const env) {
21 MK_BUF buf = reinterpret_cast<MK_BUF>(obj);
22 return MkOBJ_R(buf).obj_protect.isLocal ? Sq3FileC_selfCreateTLS(obj) : new Sq3FileC(obj);
23 }
24*/
25
26 // BEGIN-Sq3FileC - created by 'cc_MqC.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
27
31
32 // doc-key: Sq3FileC,Sq3FileC-Class-Export,sc_
33
37 SQ3_FILE __retVal__L = Sq3FileHandleResolve(netHdl);
38 return Sq3FileC::Sq3FileC_ObjNew(MK_RT_CALL __retVal__L);
39 }
40
41 // doc-key: Sq3FileC,Sq3FileC-Class-Export,om_
42
43 // skip class-overload: HandleGet = Sq3FileHandleGet → MkObjectHandleGet
44
46 // Sq3FileC_Class_CC_API
47
51
52 // doc-key: Sq3FileC,Sq3FileC-Class-Introspection,oc_
53
56 MK_UNUSED auto file = getFILE();
57 SQ3_FILE __retVal__L = Sq3FileNext(file);
58 return Sq3FileC::Sq3FileC_ObjNew(MK_RT_CALL __retVal__L);
59 }
60
63 MK_UNUSED auto file = getFILE();
64 SQ3_FILE __retVal__L = Sq3FilePrev(file);
65 return Sq3FileC::Sq3FileC_ObjNew(MK_RT_CALL __retVal__L);
66 }
67
68 // doc-key: Sq3FileC,Sq3FileC-Class-Introspection,sc_
69
73 SQ3_FILE __retVal__L = Sq3FileInstances();
74 return Sq3FileC::Sq3FileC_ObjNew(MK_RT_CALL __retVal__L);
75 }
76
78 // Sq3FileC_Class_CC_API
79
83
84 // doc-key: Sq3FileC,Sq3FileC-Class-Misc,sc_
85
89 SQ3_FILE __retVal__L = Sq3FileGetNull();
90 return Sq3FileC::Sq3FileC_ObjNew(MK_RT_CALL __retVal__L);
91 }
92
94 // Sq3FileC_Class_CC_API
95
99
100 // doc-key: Sq3FileC,Sq3FileC-TOR,sCc
101
105 SQ3_FILE __retVal__L = Sq3FileDatabaseObject(X);
106 if (__retVal__L == NULL) {
107 throw MkInitError("Sq3FileC::DatabaseObject");
108 }
109 return Sq3FileC::Sq3FileC_ObjCreate(MK_RT_CALL __retVal__L);
110 }
111
113 inline Sq3FileC* Sq3FileC::DatabaseObject (const std::string& X) {
115 const MK_STRN X_hdl = X.c_str();
116 SQ3_FILE __retVal__L = Sq3FileDatabaseObject(X_hdl);
117 if (__retVal__L == NULL) {
118 throw MkInitError("Sq3FileC::DatabaseObject");
119 }
120 return Sq3FileC::Sq3FileC_ObjCreate(MK_RT_CALL __retVal__L);
121 }
122
124 // Sq3FileC_TOR_CC_API
125
126 // END-Sq3FileC - created by 'cc_MqC.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
127
128} // END - namespace "ccsq3lite"
Struct to represent the data of the Sq3FileC … → C-API: libsq3lite::Sq3FileS
#define MK_UNUSED
int32_t MK_HDL
const MK_STRB * MK_STRN
#define MK_RT_CALL
#define MkRtSetup_NULL
static Sq3FileC * Sq3FileC_ObjNew(MK_RT_ARGS SQ3_FILE hdl)
return Sq3FileC from LibMsgqueObject
SQ3_FILE getFILE() const
return the LibMsgqueObject from current Sq3FileC instance
static Sq3FileC * Instances()
C++: [static] Sq3FileC* Sq3FileC::Instances() → C-API get head-instance from linked-list of Sq3F...
static Sq3FileC * HandleResolve(MK_HDL netHdl)
C++: [static] Sq3FileC* Sq3FileC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot - ret...
Sq3FileC * Prev()
C++: Sq3FileC* file.Prev() → C-API get previous instance from linked-list of Sq3FileS type
Sq3FileC * Next()
C++: Sq3FileC* file.Next() → C-API get next instance from linked-list of Sq3FileS type
static Sq3FileC * GetNull()
C++: [static] Sq3FileC* Sq3FileC::GetNull() → C-API Null-Slot - return a Sq3FileC typed NULL ins...
static SQ3_FILE Sq3FileNext(SQ3_FILE const file)
get next instance from linked-list of Sq3FileS type
static SQ3_FILE Sq3FilePrev(SQ3_FILE const file)
get previous instance from linked-list of Sq3FileS type
#define Sq3FileInstances()
static SQ3_FILE Sq3FileGetNull(void)
Null-Slot - return a Sq3FileC typed NULL instance …
#define Sq3FileHandleResolve(...)
static Sq3FileC * DatabaseObject(MK_STRN X)
C++: [constructor,static] Sq3FileC* Sq3FileC::DatabaseObject(MK_STRN X) → C-API Database File Co...
static SQ3_FILE Sq3FileDatabaseObject(MK_STRN X)
Database File Corresponding To A Journal …
namespace for the CcSq3Lite "C++"-API
Struct to represent the data of the Sq3FileC …