theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_cc.hh
Go to the documentation of this file.
1
9/* LABEL-INIT */
10
11#pragma once
12
13//#define MkBufferC_selfCreate_overload
14
15namespace ccmkkernel {
16
19 typedef struct {
23
26 class MkBufferC : public MkObjectC {
27
28 friend class MkKernel;
29
30 inline static MK_PTR MkBufferC_selfCreateTLS (MK_OBJ obj);
31
32/* LABEL-START */
33
36
37 public:
38 static thread_local MkBufferC MK_NULL_REF;
39
40 private:
41
42 static MkBufferC* MkBufferC_GetSelf (MK_BUF hdl) {
43 return (hdl != NULL ? static_cast<MkBufferC*>((*MkBufferC_X2obj(hdl)).self) : &MK_NULL_REF);
44 }
45
46 #ifdef MkBufferC_selfCreate_overload
47 static MK_PTR MkBufferC_selfCreate (MK_RT_ARGS MK_OBJ obj, MK_PTR const env);
48 #else
49 static MK_PTR MkBufferC_selfCreate (MK_RT_ARGS MK_OBJ obj, MK_PTR const env) {
50 return new MkBufferC(obj);
51 }
52 #endif
53
54 static void MkBufferC_selfDelete (MK_RT_ARGS MK_PTR self, MK_PTR env) {
55 delete static_cast<MkBufferC*>(self);
56 }
57
58 static void MkBufferC_selfUnlink (MK_RT_ARGS MK_PTR self, MK_PTR env) {
59 MkBufferC* selfO = static_cast<MkBufferC*>(self);
60 selfO->atomUnlink();
61 }
62
63 void MkBufferC_Init (MK_BUF hdl) { atomInit(MkBufferC_X2obj(hdl)); };
64
65
66 static MkBufferC* MkBufferC_ObjCreate (MK_RT_ARGS MK_BUF hdl) {
67 return static_cast<MkBufferC*>(MkObjectC::atomObjCreate(MK_RT_CALL MkBufferC_X2obj(hdl)));
68 }
69
70#ifndef META_IS_MkObjectC
71 MkBufferC (MK_OBJ obj) : MkObjectC(obj) {};
72#endif
73
74 public:
75
76#ifndef META_IS_MkObjectC
78#endif
79
84
86 MK_BUF getBUF() const {
87 MK_BUF ret = reinterpret_cast<MK_BUF>(hdl);
88 if (unlikely(ret == NULL)) InstHdlIsNullError();
89 return ret;
90 };
91
94 return reinterpret_cast<MK_BUF>(hdl);
95 };
96
98 MK_BUFN getBUFN() const {
99 MK_BUFN ret = reinterpret_cast<MK_BUFN>(hdl);
100 if (unlikely(ret == NULL)) InstHdlIsNullError();
101 return ret;
102 };
103
106 return reinterpret_cast<MK_BUFN>(hdl);
107 };
108
110 static MK_BUF getBUF(MkBufferC* clsHdl) {
111 MK_BUF ret = clsHdl ? reinterpret_cast<MK_BUF>(clsHdl->hdl) : NULL;
112 if (unlikely(ret == NULL)) ClassHdlIsNullError(MkBufferC);
113 return ret;
114 };
115
118 return clsHdl ? reinterpret_cast<MK_BUF>(clsHdl->hdl) : NULL;
119 };
120
122 static MK_BUFN getBUFN(const MkBufferC* clsHdl) {
123 MK_BUFN ret = clsHdl ? reinterpret_cast<MK_BUFN>(clsHdl->hdl) : NULL;
124 if (unlikely(ret == NULL)) ClassHdlIsNullError(MkBufferC);
125 return ret;
126 };
127
129 static MK_BUFN getBUFN__null_allow(const MkBufferC* clsHdl) {
130 return clsHdl ? reinterpret_cast<MK_BUFN>(clsHdl->hdl) : NULL;
131 };
132
134 static MK_BUF getBUF(const MkBufferC& clsHdl) {
135 return clsHdl.getBUF();
136 };
137
139 static MK_BUF getBUF__null_allow(const MkBufferC& clsHdl) {
140 return clsHdl.getBUF__null_allow();
141 };
142
144 static MK_BUFN getBUFN(const MkBufferC& clsHdl) {
145 return clsHdl.getBUFN();
146 };
147
149 static MK_BUFN getBUFN__null_allow(const MkBufferC& clsHdl) {
150 return clsHdl.getBUFN__null_allow();
151 };
152
154 bool Check() const {
155 return (hdl && MkBufCheck(hdl));
156 };
157
158/* LABEL-END */
159
160 public:
161
162 inline MkBufferC (const MkBufferC* hdl);
163 inline MkBufferC (const MkBufferC& ref);
164 inline MkBufferC& operator= (const MkBufferC& buf);
165 inline MkBufferC& operator= (const MkBufferC* buf);
166
167 // BEGIN-MkBufferC - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
168
172
173 public:
174
175 // doc-key: MkBufferC,MkBufferC-Access,oc_,public
176
179
181 MkBufferC* AppendC (const std::string& val);
182
184 MkBufferC* AppendStringR (const std::string& val);
185
186 // doc-key: MkBufferC,MkBufferC-Access,om_,public
187
189 MK_I32 AppendV (MK_FST printfmt, ... ) __attribute__ ((format (printf, 2, 3)));
190
192 MK_I32 AppendVL (MK_FST printfmt, va_list var_list);
193
195 MK_NUM Pop (MK_STRN val);
196
198 MK_NUM Pop (const std::string& val);
199
201 MK_NUM Push (MK_STRN val);
202
204 MK_NUM Push (const std::string& val);
205
206 // doc-key: MkBufferC,MkBufferC-Access,omo,public
207
210
212 // MkBufferC_Access_CC_API
213
217
218 public:
219
220 // doc-key: MkBufferC,MkBufferC-Class-Export,sc_,public
221
223 static MkBufferC* HandleResolve (MK_HDL netHdl);
224
225 // doc-key: MkBufferC,MkBufferC-Class-Export,om_,public
226
227 // skip class-overload: MK_HDL HandleGet ()
228
230 // MkBufferC_Class_CC_API
231
235
236 public:
237
238 // doc-key: MkBufferC,MkBufferC-Class-Introspection,oc_,public
239
241 MkBufferC* Next ();
242
244 MkBufferC* Prev ();
245
246 // doc-key: MkBufferC,MkBufferC-Class-Introspection,sc_,public
247
249 static MkBufferC* Instances ();
250
252 // MkBufferC_Class_CC_API
253
257
258 public:
259
260 // doc-key: MkBufferC,MkBufferC-Class-Misc,sc_,public
261
263 static MkBufferC* GetNull ();
264
266 // MkBufferC_Class_CC_API
267
271
272 public:
273
274 // doc-key: MkBufferC,MkBufferC-Get,oci,public
275
277 MkBufferListC* GetBFL (MkBufferListC* val_inout = NULL) const;
278
279 // doc-key: MkBufferC,MkBufferC-Get,oco,public
280
282 MkBufferC* GetBUF ();
283
284 // doc-key: MkBufferC,MkBufferC-Get,omo,public
285
287 MK_BNP GetBIN () const;
288
290 MK_BOL GetBOL () const;
291
293 MK_DBL GetDBL () const;
294
296 MK_FLT GetFLT () const;
297
299 MK_I16 GetI16 () const;
300
302 MK_I32 GetI32 () const;
303
305 MK_I64 GetI64 () const;
306
308 MK_I8 GetI8 () const;
309
311 MK_STRN GetSTR () const;
312
314 std::string GetStringR () const;
315
317 // MkBufferC_Get_CC_API
318
322
323 public:
324
325 // doc-key: MkBufferC,MkBufferC-Info,om_,public
326
328 MK_STRB GetType1 () const;
329
331 MkTypeE GetType2 () const;
332
334 MK_STRN GetType3 () const;
335
337 MK_BOOL IsLocal () const;
338
339 // skip class-overload: void Log (const MkObjectC* fmtobj = NULL, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) const
340
341 // skip class-overload: void Log (const MkObjectC& fmtobj, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) const
342
344 void LogS (MK_STRN varname = "buf", const MkObjectC* fmtobj = NULL, MK_STRN callfunc = __builtin_FUNCTION()) const;
345
347 // MkBufferC_Info_CC_API
348
352
353 public:
354
355 // doc-key: MkBufferC,MkBufferC-Misc,oc_,public
356
358 MkBufferC* Copy (const MkBufferC* srce) const;
359
361 MkBufferC* Copy (const MkBufferC& srce) const;
362
364 MkBufferC* Reset ();
365
367 MkBufferC* SizeAdd (MK_NUM size);
368
370 MkBufferC* SizeNew (MK_NUM size);
371
373 MkBufferC* Temp () const;
374
375 // doc-key: MkBufferC,MkBufferC-Misc,om_,public
376
378 void CastTo (MkTypeE typ);
379
381 MK_I32 Cmp (const MkBufferC* buf2) const;
382
384 MK_I32 Cmp (const MkBufferC& buf2) const;
385
387 void ResetFull ();
388
389 // skip class-overload: MK_STRN ToString () const
390
392 // MkBufferC_Misc_CC_API
393
397
398 public:
399
400 // doc-key: MkBufferC,MkBufferC-Set,oc_,public
401
403 MkBufferC* SetBIN (MK_BNP val);
404
406 MkBufferC* SetBOL (MK_BOL val);
407
409 MkBufferC* SetBUF (const MkBufferC* val);
410
412 MkBufferC* SetBUF (const MkBufferC& val);
413
416
418 MkBufferC* SetDBL (MK_DBL val);
419
421 MkBufferC* SetFLT (MK_FLT val);
422
424 MkBufferC* SetI16 (MK_I16 val);
425
427 MkBufferC* SetI32 (MK_I32 val);
428
430 MkBufferC* SetI64 (MK_I64 val);
431
433 MkBufferC* SetI8 (MK_I8 val);
434
436 MkBufferC* SetSTR (MK_STRN val);
437
439 MkBufferC* SetSTR (const std::string& val);
440
442 MkBufferC* SetStringR (const std::string& val);
443
445 MkBufferC* SetV (MK_FST val, ... ) __attribute__ ((format (printf, 2, 3)));
446
448 MkBufferC* SetVL (MK_FST val, va_list var_list);
449
451 // MkBufferC_Set_CC_API
452
456
457 private:
458
459 // doc-key: MkBufferC,MkBufferC-TOR,sCc,private
460
462 static MK_OBJ CTOR (MK_NUM size = 0);
463
464 public:
465
466 // doc-key: MkBufferC,MkBufferC-TOR,oC_,public
467
469 MkBufferC* Merge ();
470
471 // doc-key: MkBufferC,MkBufferC-TOR,oCx,public
472
474 MkBufferC* Dup () const;
475
476 // doc-key: MkBufferC,MkBufferC-TOR,sCc,public
477
479 static MkBufferC* Create (MK_NUM size = 0);
480
482 MkBufferC (MK_NUM size = 0) : MkObjectC(CTOR(size)) {};
483
485 static MkBufferC* Create1024 (MK_NUM size = 0);
486
488 static MkBufferC* Create256 (MK_NUM size = 0);
489
491 static MkBufferC* Create64 (MK_NUM size = 0);
492
494 static MkBufferC* CreateBIN (MK_BNP val);
495
497 static MkBufferC* CreateBOL (MK_BOL val);
498
500 static MkBufferC* CreateBUF (const MkBufferC* val);
501
503 static MkBufferC* CreateBUF (const MkBufferC& val);
504
506 static MkBufferC* CreateDBL (MK_DBL val);
507
509 static MkBufferC* CreateFLT (MK_FLT val);
510
512 static MkBufferC* CreateI16 (MK_I16 val);
513
515 static MkBufferC* CreateI32 (MK_I32 val);
516
518 static MkBufferC* CreateI64 (MK_I64 val);
519
521 static MkBufferC* CreateI8 (MK_I8 val);
522
524 static MkBufferC* CreateSTR (MK_STRN val);
525
527 static MkBufferC* CreateSTR (const std::string& val);
528
529 // doc-key: MkBufferC,MkBufferC-TOR,sc_,public
530
532 static MkBufferC* CreateTLS (MK_STRN tlsName, MK_BOOL resetB = true);
533
535 static MkBufferC* CreateTLS (const std::string& tlsName, MK_BOOL resetB = true);
536
538 // MkBufferC_TOR_CC_API
539
540 // END-MkBufferC - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
541
543
544 }; // class MkBufferC
545} // 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 …