theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MkBufferC_cc.hh
Go to the documentation of this file.
1
12/* LABEL-INIT */
13
14#pragma once
15
16//#define MkBufferC_selfCreate_overload
17
18namespace ccmkkernel {
19
22 typedef struct {
26
29 class MkBufferC : public MkObjectC {
30
31 friend class MkKernel;
32
33 inline static MK_PTR MkBufferC_selfCreateTLS (MK_OBJ obj);
34
35/* LABEL-START */
36
39
40 public:
41 static thread_local MkBufferC MK_NULL_REF;
42
43 private:
44
45 static MkBufferC* MkBufferC_GetSelf (MK_BUF hdl) {
46 return (hdl != NULL ? static_cast<MkBufferC*>((*MkBufferC_X2obj(hdl)).self) : &MK_NULL_REF);
47 }
48
49 #ifdef MkBufferC_selfCreate_overload
50 static MK_PTR MkBufferC_selfCreate (MK_RT_ARGS MK_OBJ obj, MK_PTR const env);
51 #else
52 static MK_PTR MkBufferC_selfCreate (MK_RT_ARGS MK_OBJ obj, MK_PTR const env) {
53 return new MkBufferC(obj);
54 }
55 #endif
56
57 static void MkBufferC_selfDelete (MK_RT_ARGS MK_PTR self, MK_PTR env) {
58 delete static_cast<MkBufferC*>(self);
59 }
60
61 static void MkBufferC_selfUnlink (MK_RT_ARGS MK_PTR self, MK_PTR env) {
62 MkBufferC* selfO = static_cast<MkBufferC*>(self);
63 selfO->atomUnlink();
64 }
65
66 void MkBufferC_Init (MK_BUF hdl) { atomInit(MkBufferC_X2obj(hdl)); };
67
68
69 static MkBufferC* MkBufferC_ObjCreate (MK_RT_ARGS MK_BUF hdl) {
70 return static_cast<MkBufferC*>(MkObjectC::atomObjCreate(MK_RT_CALL MkBufferC_X2obj(hdl)));
71 }
72
73#ifndef META_IS_MkObjectC
74 MkBufferC (MK_OBJ obj) : MkObjectC(obj) {};
75#endif
76
77 public:
78
79#ifndef META_IS_MkObjectC
81#endif
82
87
89 MK_BUF getBUF() const {
90 MK_BUF ret = reinterpret_cast<MK_BUF>(hdl);
91 if (unlikely(ret == NULL)) InstHdlIsNullError();
92 return ret;
93 };
94
97 return reinterpret_cast<MK_BUF>(hdl);
98 };
99
101 MK_BUFN getBUFN() const {
102 MK_BUFN ret = reinterpret_cast<MK_BUFN>(hdl);
103 if (unlikely(ret == NULL)) InstHdlIsNullError();
104 return ret;
105 };
106
109 return reinterpret_cast<MK_BUFN>(hdl);
110 };
111
113 static MK_BUF getBUF(MkBufferC* clsHdl) {
114 MK_BUF ret = clsHdl ? reinterpret_cast<MK_BUF>(clsHdl->hdl) : NULL;
115 if (unlikely(ret == NULL)) ClassHdlIsNullError(MkBufferC);
116 return ret;
117 };
118
121 return clsHdl ? reinterpret_cast<MK_BUF>(clsHdl->hdl) : NULL;
122 };
123
125 static MK_BUFN getBUFN(const MkBufferC* clsHdl) {
126 MK_BUFN ret = clsHdl ? reinterpret_cast<MK_BUFN>(clsHdl->hdl) : NULL;
127 if (unlikely(ret == NULL)) ClassHdlIsNullError(MkBufferC);
128 return ret;
129 };
130
132 static MK_BUFN getBUFN__null_allow(const MkBufferC* clsHdl) {
133 return clsHdl ? reinterpret_cast<MK_BUFN>(clsHdl->hdl) : NULL;
134 };
135
137 static MK_BUF getBUF(const MkBufferC& clsHdl) {
138 return clsHdl.getBUF();
139 };
140
142 static MK_BUF getBUF__null_allow(const MkBufferC& clsHdl) {
143 return clsHdl.getBUF__null_allow();
144 };
145
147 static MK_BUFN getBUFN(const MkBufferC& clsHdl) {
148 return clsHdl.getBUFN();
149 };
150
152 static MK_BUFN getBUFN__null_allow(const MkBufferC& clsHdl) {
153 return clsHdl.getBUFN__null_allow();
154 };
155
157 bool Check() const {
158 return (hdl && MkBufCheck(hdl));
159 };
160
161/* LABEL-END */
162
163 public:
164
165 inline MkBufferC (const MkBufferC* hdl);
166 inline MkBufferC (const MkBufferC& ref);
167 inline MkBufferC& operator= (const MkBufferC& buf);
168 inline MkBufferC& operator= (const MkBufferC* buf);
169
170 // BEGIN-MkBufferC - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
171
175
176 public:
177
178 // doc-key: MkBufferC,MkBufferC-Access,oc_,public
179
182
184 MkBufferC* AppendC (const std::string& val);
185
187 MkBufferC* AppendStringR (const std::string& val);
188
189 // doc-key: MkBufferC,MkBufferC-Access,om_,public
190
192 MK_I32 AppendV (MK_FST printfmt, ... ) __attribute__ ((format (printf, 2, 3)));
193
195 MK_I32 AppendVL (MK_FST printfmt, va_list var_list);
196
198 MK_NUM Pop (MK_STRN val);
199
201 MK_NUM Pop (const std::string& val);
202
204 MK_NUM Push (MK_STRN val);
205
207 MK_NUM Push (const std::string& val);
208
209 // doc-key: MkBufferC,MkBufferC-Access,omo,public
210
213
215 // MkBufferC_Access_CC_API
216
220
221 public:
222
223 // doc-key: MkBufferC,MkBufferC-Class-Export,sc_,public
224
226 static MkBufferC* HandleResolve (MK_HDL netHdl);
227
228 // doc-key: MkBufferC,MkBufferC-Class-Export,om_,public
229
230 // skip class-overload: MK_HDL HandleGet ()
231
233 // MkBufferC_Class_CC_API
234
238
239 public:
240
241 // doc-key: MkBufferC,MkBufferC-Class-Introspection,oc_,public
242
244 MkBufferC* Next ();
245
247 MkBufferC* Prev ();
248
249 // doc-key: MkBufferC,MkBufferC-Class-Introspection,sc_,public
250
252 static MkBufferC* Instances ();
253
255 // MkBufferC_Class_CC_API
256
260
261 public:
262
263 // doc-key: MkBufferC,MkBufferC-Class-Misc,sc_,public
264
266 static MkBufferC* GetNull ();
267
269 // MkBufferC_Class_CC_API
270
274
275 public:
276
277 // doc-key: MkBufferC,MkBufferC-Get,oci,public
278
280 MkBufferListC* GetBFL (MkBufferListC* val_inout = NULL) const;
281
282 // doc-key: MkBufferC,MkBufferC-Get,oco,public
283
285 MkBufferC* GetBUF ();
286
287 // doc-key: MkBufferC,MkBufferC-Get,omo,public
288
290 MK_BNP GetBIN () const;
291
293 MK_BOL GetBOL () const;
294
296 MK_DBL GetDBL () const;
297
299 MK_FLT GetFLT () const;
300
302 MK_I16 GetI16 () const;
303
305 MK_I32 GetI32 () const;
306
308 MK_I64 GetI64 () const;
309
311 MK_I8 GetI8 () const;
312
314 MK_STRN GetSTR () const;
315
317 std::string GetStringR () const;
318
320 // MkBufferC_Get_CC_API
321
325
326 public:
327
328 // doc-key: MkBufferC,MkBufferC-Info,om_,public
329
331 MK_STRB GetType1 () const;
332
334 MkTypeE GetType2 () const;
335
337 MK_STRN GetType3 () const;
338
340 MK_BOOL IsLocal () const;
341
342 // skip class-overload: void Log (const MkObjectC* fmtobj = NULL, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) const
343
344 // skip class-overload: void Log (const MkObjectC& fmtobj, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) const
345
347 void LogS (MK_STRN varname = "buf", const MkObjectC* fmtobj = NULL, MK_STRN callfunc = __builtin_FUNCTION()) const;
348
350 // MkBufferC_Info_CC_API
351
355
356 public:
357
358 // doc-key: MkBufferC,MkBufferC-Misc,oc_,public
359
361 MkBufferC* Copy (const MkBufferC* srce) const;
362
364 MkBufferC* Copy (const MkBufferC& srce) const;
365
367 MkBufferC* Reset ();
368
370 MkBufferC* SizeAdd (MK_NUM size);
371
373 MkBufferC* SizeNew (MK_NUM size);
374
376 MkBufferC* Temp () const;
377
378 // doc-key: MkBufferC,MkBufferC-Misc,om_,public
379
381 void CastTo (MkTypeE typ);
382
384 MK_I32 Cmp (const MkBufferC* buf2) const;
385
387 MK_I32 Cmp (const MkBufferC& buf2) const;
388
390 void ResetFull ();
391
392 // skip class-overload: MK_STRN ToString () const
393
395 // MkBufferC_Misc_CC_API
396
400
401 public:
402
403 // doc-key: MkBufferC,MkBufferC-Set,oc_,public
404
406 MkBufferC* SetBIN (MK_BNP val);
407
409 MkBufferC* SetBOL (MK_BOL val);
410
412 MkBufferC* SetBUF (const MkBufferC* val);
413
415 MkBufferC* SetBUF (const MkBufferC& val);
416
419
421 MkBufferC* SetDBL (MK_DBL val);
422
424 MkBufferC* SetFLT (MK_FLT val);
425
427 MkBufferC* SetI16 (MK_I16 val);
428
430 MkBufferC* SetI32 (MK_I32 val);
431
433 MkBufferC* SetI64 (MK_I64 val);
434
436 MkBufferC* SetI8 (MK_I8 val);
437
439 MkBufferC* SetSTR (MK_STRN val);
440
442 MkBufferC* SetSTR (const std::string& val);
443
445 MkBufferC* SetStringR (const std::string& val);
446
448 MkBufferC* SetV (MK_FST val, ... ) __attribute__ ((format (printf, 2, 3)));
449
451 MkBufferC* SetVL (MK_FST val, va_list var_list);
452
454 // MkBufferC_Set_CC_API
455
459
460 private:
461
462 // doc-key: MkBufferC,MkBufferC-TOR,sCc,private
463
465 static MK_OBJ CTOR (MK_NUM size = 0);
466
467 public:
468
469 // doc-key: MkBufferC,MkBufferC-TOR,oC_,public
470
472 MkBufferC* Merge ();
473
474 // doc-key: MkBufferC,MkBufferC-TOR,oCx,public
475
477 MkBufferC* Dup () const;
478
479 // doc-key: MkBufferC,MkBufferC-TOR,sCc,public
480
482 static MkBufferC* Create (MK_NUM size = 0);
483
485 MkBufferC (MK_NUM size = 0) : MkObjectC(CTOR(size)) {};
486
488 static MkBufferC* Create1024 (MK_NUM size = 0);
489
491 static MkBufferC* Create256 (MK_NUM size = 0);
492
494 static MkBufferC* Create64 (MK_NUM size = 0);
495
497 static MkBufferC* CreateBIN (MK_BNP val);
498
500 static MkBufferC* CreateBOL (MK_BOL val);
501
503 static MkBufferC* CreateBUF (const MkBufferC* val);
504
506 static MkBufferC* CreateBUF (const MkBufferC& val);
507
509 static MkBufferC* CreateDBL (MK_DBL val);
510
512 static MkBufferC* CreateFLT (MK_FLT val);
513
515 static MkBufferC* CreateI16 (MK_I16 val);
516
518 static MkBufferC* CreateI32 (MK_I32 val);
519
521 static MkBufferC* CreateI64 (MK_I64 val);
522
524 static MkBufferC* CreateI8 (MK_I8 val);
525
527 static MkBufferC* CreateSTR (MK_STRN val);
528
530 static MkBufferC* CreateSTR (const std::string& val);
531
532 // doc-key: MkBufferC,MkBufferC-TOR,sc_,public
533
535 static MkBufferC* CreateTLS (MK_STRN tlsName, MK_BOOL resetB = true);
536
538 static MkBufferC* CreateTLS (const std::string& tlsName, MK_BOOL resetB = true);
539
541 // MkBufferC_TOR_CC_API
542
543 // END-MkBufferC - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
544
546
547 }; // class MkBufferC
548} // namespace ccmkkernel
#define InstHdlIsNullError()
#define ClassHdlIsNullError(cls)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE … → C-API: libm...
The CLASS used to store a list of MkBufferS items into a flat array… → C-API: libmkkernel::MkBuffe...
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
object header … → C-API: libmkkernel::MkObjectS
MK_NUM Pop(MK_STRN val)
C++: MK_NUM buf.Pop(MK_STRN val) → C-API delete str from the MkBufferC …
MkBufferC * AppendStringR(const std::string &val)
C++: MkBufferC* buf.AppendStringR(const std::string& val) → C-API append a single string to a M...
MK_I32 AppendV(MK_FST printfmt,...)
C++: MK_I32 buf.AppendV(MK_FST printfmt, ... ) → C-API append a single string with format and ....
MK_I32 AppendVL(MK_FST printfmt, va_list var_list)
C++: MK_I32 buf.AppendVL(MK_FST printfmt, va_list var_list) → C-API append a single string with...
MkBufferC * AppendC(MK_STRN val)
C++: MkBufferC* buf.AppendC(MK_STRN val) → C-API append a single string to a MkBufferC object …
MkBufferC * ToObject()
C++: MkBufferC* buf.ToObject() → C-API return the native language object from a MkBufferC …
MK_NUM Push(MK_STRN val)
C++: MK_NUM buf.Push(MK_STRN val) → C-API add str to the MkBufferC …
static MK_BUF getBUF__null_allow(const MkBufferC &clsHdl)
return LibMsgqueObject from current MkBufferC reference
static MK_BUF getBUF__null_allow(MkBufferC *clsHdl)
return LibMsgqueObject from current MkBufferC pointer
static thread_local MkBufferC MK_NULL_REF
bool Check() const
check if pointer is still valid
static MK_BUF getBUF(const MkBufferC &clsHdl)
return LibMsgqueObject from current MkBufferC reference
static MkBufferC * MkBufferC_ObjNew(MK_RT_ARGS MK_BUF hdl)
return MkBufferC from LibMsgqueObject
static MK_BUFN getBUFN(const MkBufferC &clsHdl)
(const) return LibMsgqueObject from current MkBufferC reference
MK_BUF getBUF() const
return the LibMsgqueObject from current MkBufferC instance
static MK_BUFN getBUFN__null_allow(const MkBufferC *clsHdl)
(const) return LibMsgqueObject from current MkBufferC pointer
static MK_BUFN getBUFN__null_allow(const MkBufferC &clsHdl)
(const) return LibMsgqueObject from current MkBufferC reference
static MK_BUFN getBUFN(const MkBufferC *clsHdl)
(const) return LibMsgqueObject from current MkBufferC pointer
MK_BUFN getBUFN() const
(const) return the LibMsgqueObject from current MkBufferC instance
static MK_BUF getBUF(MkBufferC *clsHdl)
return LibMsgqueObject from current MkBufferC pointer
MK_BUF getBUF__null_allow() const
return the LibMsgqueObject from current MkBufferC instance
MkBufferC & operator=(const MkBufferC &buf)
MK_BUFN getBUFN__null_allow() const
(const) return the LibMsgqueObject from current MkBufferC instance
MkBufferC * Prev()
C++: MkBufferC* buf.Prev() → C-API get previous instance from linked-list of MkBufferS type
static MkBufferC * HandleResolve(MK_HDL netHdl)
C++: [static] MkBufferC* MkBufferC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot - r...
static MkBufferC * Instances()
C++: [static] MkBufferC* MkBufferC::Instances() → C-API get head-instance from linked-list of Mk...
MkBufferC * Next()
C++: MkBufferC* buf.Next() → C-API get next instance from linked-list of MkBufferS type
static MkBufferC * GetNull()
C++: [static] MkBufferC* MkBufferC::GetNull() → C-API Null-Slot - return a MkBufferC typed NULL ...
struct MkBufferS * MK_BUF
class-shortcut for struct MkBufferS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkBufferC_X2obj(x)
static bool MkBufCheck(MK_MNGN mng)
check MkBufferS -> libmkkernel::MkObjectS::signature …
MK_DBL GetDBL() const
C++: doc_mk_cc_BufferGetDBL → C-API get a val_out from a MkBufferC …
MK_I32 GetI32() const
C++: doc_mk_cc_BufferGetI32 → C-API get a val_out from a MkBufferC …
MK_FLT GetFLT() const
C++: doc_mk_cc_BufferGetFLT → C-API get a val_out from a MkBufferC …
MkBufferListC * GetBFL(MkBufferListC *val_inout=NULL) const
C++: MkBufferListC* buf.GetBFL(MkBufferListC* val_inout = NULL) → C-API function to read an MkB...
MK_I64 GetI64() const
C++: doc_mk_cc_BufferGetI64 → C-API get a val_out from a MkBufferC …
MkBufferC * GetBUF()
C++: MkBufferC* buf.GetBUF() → C-API get a val_out from a MkBufferC …
MK_BOL GetBOL() const
C++: doc_mk_cc_BufferGetBOL → C-API get a val_out from a MkBufferC …
MK_I8 GetI8() const
C++: doc_mk_cc_BufferGetI8 → C-API get a val_out from a MkBufferC …
MK_STRN GetSTR() const
C++: doc_mk_cc_BufferGetSTR → C-API get a val_out from a MkBufferC …
std::string GetStringR() const
C++: std::string buf.GetStringR() → C-API get a val_out from a MkBufferC …
MK_BNP GetBIN() const
C++: doc_mk_cc_BufferGetBIN → C-API get a val_out from a MkBufferC …
MK_I16 GetI16() const
C++: doc_mk_cc_BufferGetI16 → C-API get a val_out from a MkBufferC …
void LogS(MK_STRN varname="buf", const MkObjectC *fmtobj=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const
C++: buf.LogS(MK_STRN varname = "buf", const MkObjectC* fmtobj = NULL, MK_STRN callfunc = __builtin_...
MK_BOOL IsLocal() const
C++: MK_BOOL buf.IsLocal() → C-API Check if the MkBufferC is local (temporary),...
MK_STRB GetType1() const
C++: MK_STRB buf.GetType1() → C-API return the type from a MkBufferC as single character value ...
MK_STRN GetType3() const
C++: MK_STRN buf.GetType3() → C-API return the type from a MkBufferC as single character string...
MkTypeE GetType2() const
C++: MkTypeE buf.GetType2() → C-API return the MkTypeE from a MkBufferC …
void ResetFull()
C++: buf.ResetFull() → C-API reset a MkBufferC to the length zero and free allocated storage…
MkBufferC * Temp() const
C++: MkBufferC* buf.Temp() → C-API create a temporary copy of the MkBufferC buf …
MkBufferC * Reset()
C++: MkBufferC* buf.Reset() → C-API reset a MkBufferC to the length zero …
MkBufferC * Copy(const MkBufferC *srce) const
C++: MkBufferC* buf.Copy(const MkBufferC* srce) → C-API copy the MkBufferC from srce to dest …
MK_I32 Cmp(const MkBufferC *buf2) const
C++: MK_I32 buf1.Cmp(const MkBufferC* buf2) → C-API compare TWO MkBufferC objects like strcmp d...
void CastTo(MkTypeE typ)
C++: buf.CastTo(MkTypeE typ) → C-API change the type of an MkBufferC to type …
MkBufferC * SizeNew(MK_NUM size)
C++: MkBufferC* buf.SizeNew(MK_NUM size) → C-API alloc min size storage to the buf …
MkBufferC * SizeAdd(MK_NUM size)
C++: MkBufferC* buf.SizeAdd(MK_NUM size) → C-API add size storage to the buf …
MkBufferC * SetFLT(MK_FLT val)
C++: doc_mk_cc_BufferSetFLT → C-API Set the MkBufferC to the val …
MkBufferC * SetVL(MK_FST val, va_list var_list)
C++: MkBufferC* buf.SetVL(MK_FST val, va_list var_list) → C-API set the MkBufferC using a va_li...
MkBufferC * SetI64(MK_I64 val)
C++: doc_mk_cc_BufferSetI64 → C-API Set the MkBufferC to the val …
MkBufferC * SetV(MK_FST val,...)
C++: MkBufferC* buf.SetV(MK_FST val, ... ) → C-API set the MkBufferC using a ....
MkBufferC * SetI32(MK_I32 val)
C++: doc_mk_cc_BufferSetI32 → C-API Set the MkBufferC to the val …
MkBufferC * SetDBL(MK_DBL val)
C++: doc_mk_cc_BufferSetDBL → C-API Set the MkBufferC to the val …
MkBufferC * SetBOL(MK_BOL val)
C++: doc_mk_cc_BufferSetBOL → C-API Set the MkBufferC to the val …
MkBufferC * SetI16(MK_I16 val)
C++: doc_mk_cc_BufferSetI16 → C-API Set the MkBufferC to the val …
MkBufferC * SetStringR(const std::string &val)
C++: MkBufferC* buf.SetStringR(const std::string& val) → C-API Set the MkBufferC to the val …
MkBufferC * SetSTR(MK_STRN val)
C++: doc_mk_cc_BufferSetSTR → C-API Set the MkBufferC to the val …
MkBufferC * SetBUF(const MkBufferC *val)
C++: MkBufferC* buf.SetBUF(const MkBufferC* val) → C-API Set the MkBufferC to the val …
MkBufferC * SetBinaryR(MK_BNP val)
C++: MkBufferC* buf.SetBinaryR(MK_BNP val) → C-API Set the MkBufferC to the val …
MkBufferC * SetBIN(MK_BNP val)
C++: doc_mk_cc_BufferSetBIN → C-API Set the MkBufferC to the val …
MkBufferC * SetI8(MK_I8 val)
C++: doc_mk_cc_BufferSetI8 → C-API Set the MkBufferC to the val …
static MkBufferC * Create256(MK_NUM size=0)
C++: [constructor,static] MkBufferC* MkBufferC::Create256(MK_NUM size = 0) → C-API call the Buff...
static MkBufferC * Create(MK_NUM size=0)
C++: [constructor,static] MkBufferC* MkBufferC::Create(MK_NUM size = 0) → C-API Constructor - cr...
static MkBufferC * CreateI64(MK_I64 val)
C++: doc_mk_cc_BufferCreateI64 → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * CreateBUF(const MkBufferC *val)
C++: [constructor,static] MkBufferC* MkBufferC::CreateBUF(const MkBufferC* val) → C-API Constr...
static MkBufferC * CreateFLT(MK_FLT val)
C++: doc_mk_cc_BufferCreateFLT → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * CreateI32(MK_I32 val)
C++: doc_mk_cc_BufferCreateI32 → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * Create64(MK_NUM size=0)
C++: [constructor,static] MkBufferC* MkBufferC::Create64(MK_NUM size = 0) → C-API call the Buffe...
static MkBufferC * CreateTLS(MK_STRN tlsName, MK_BOOL resetB=true)
C++: [static] MkBufferC* MkBufferC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) → C-API sa...
static MkBufferC * CreateBOL(MK_BOL val)
C++: doc_mk_cc_BufferCreateBOL → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * CreateSTR(MK_STRN val)
C++: doc_mk_cc_BufferCreateSTR → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
MkBufferC * Dup() const
C++: [constructor] MkBufferC* buf.Dup() → C-API Dup-Constructor - create a new MkBufferC instanc...
static MkBufferC * CreateDBL(MK_DBL val)
C++: doc_mk_cc_BufferCreateDBL → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * Create1024(MK_NUM size=0)
C++: [constructor,static] MkBufferC* MkBufferC::Create1024(MK_NUM size = 0) → C-API call the Buf...
MkBufferC * Merge()
C++: [constructor] MkBufferC* buf.Merge() → C-API Merge-Constructor - create a new MkBufferC as ...
static MkBufferC * CreateBIN(MK_BNP val)
C++: doc_mk_cc_BufferCreateBIN → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * CreateI16(MK_I16 val)
C++: doc_mk_cc_BufferCreateI16 → C-API Constructor - create a new MkBufferC with an PRIMITIVE ...
static MkBufferC * CreateI8(MK_I8 val)
C++: doc_mk_cc_BufferCreateI8 → C-API Constructor - create a new MkBufferC with an PRIMITIVE TYP...
#define unlikely(x)
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …
double MK_DBL
8 byte double data-type
unsigned char MK_BOL
1 byte boolean data-type
signed char MK_I8
1 byte byte data-type
float MK_FLT
4 byte float data-type
signed long long MK_I64
8 byte wide integer data-type
MK_STRB const * MK_FST
const format string pointer data-type
bool MK_BOOL
real bool data-type
int32_t MK_HDL
4 byte int handle data-type
int32_t MK_NUM
array size data-type ('num' items in array …
char MK_STRB
string type data-type
signed short int MK_I16
2 byte short data-type
signed int MK_I32
4 byte integer data-type
MK_PTRB * MK_PTR
generic pointer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
static MK_PTR atomObjCreate(MK_RT_ARGS MK_OBJ obj)
void atomInit(MK_OBJ obj)
static MK_PTR atomObjNew(MK_RT_ARGS MK_OBJ obj)
struct MkObjectS * MK_OBJ
class-shortcut for struct MkObjectS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MK_RT_CALL
#define MK_RT_ARGS
namespace for the CcMkKernel "C++"-API
std::pair< MK_SIZE, MK_BINN > MK_BNP
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE … → C-API: libm...
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …