theKernel 10.0
Loading...
Searching...
No Matches
LibMkKernel_cc.hh
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11#pragma once
12
13#include <utility>
14#include <string>
15
16#ifndef META_COMPILE_AS_CC
17 #define META_COMPILE_AS_CC
18#endif
19#include "LibMkKernel_mk.h"
20#include "debug_mk.h"
21
22// #######################################################################
23// -----------------------------------------------------------------------
24// documentation order
41
51
63
75
85
97
105
117
125
129
130namespace ccmkkernel {
131
132 using namespace libmkkernel;
133 using MK_BNP = std::pair<MK_SIZE,MK_BINN>;
134 //using MkBinaryR = struct libmkkernel::MkBinaryR;
135 //using MK_VVC = std::vector <std::string>;
136
137 // BEGIN-MkKernel-class-decl - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
138
139 class MkExceptionC;
140 class MkObjectC;
141 class MkBufferC;
142 class MkBufferStreamC;
143 class MkBufferListC;
144 class MkLogFileC;
145 class MkErrorC;
146 class MkRuntimeC;
147
148 // END-MkKernel-class-decl - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
149
150}; // END - namespace "ccmkkernel"
151
152// BEGIN-MkKernel-include - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
153
154#include "MkExceptionC_cc.hh"
155#include "MkObjectC_cc.hh"
156#include "MkBufferC_cc.hh"
157#include "MkBufferStreamC_cc.hh"
158#include "MkBufferListC_cc.hh"
159#include "MkLogFileC_cc.hh"
160#include "MkErrorC_cc.hh"
161#include "MkRuntimeC_cc.hh"
162
164#include "MkObjectC_inline_cc.hh"
165#include "MkBufferC_inline_cc.hh"
169#include "MkErrorC_inline_cc.hh"
171
172// END-MkKernel-include - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
173
176#define MqTypeCC_O MK_BOL
177#define MqTypeCC_Y MK_I8
178#define MqTypeCC_S MK_I16
179#define MqTypeCC_I MK_I32
180#define MqTypeCC_W MK_I64
181#define MqTypeCC_F MK_FLT
182#define MqTypeCC_D MK_DBL
183#define MqTypeCC_C MK_STRN
184#define MqTypeCC_B MK_BNP
185#define MqTypeCC_U MkBufferC*
186#define MqTypeCC_US MkBufferStreamC*
187#define MqTypeCC_L MkBufferListC*
189
191// MK_CC_API
192
194namespace ccmkkernel {
195
198 class MkKernel {
199
204
205 private:
206 MkKernel () {};
207
208 static void mk_static_init_callback ( MK_RT_ARGS_ONLY );
209
210 // BEGIN-MkKernel - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
211
215
216 public:
217
218 // doc-key: MkKernel,MkKernel-Enum,sco,public
219
221 static MkErrorE ErrorE_FromInt (MK_I32 value);
222
224 static MkIdSE IdSE_FromInt (MK_I32 value);
225
227 static MkTimeoutE TimeoutE_FromInt (MK_I32 value);
228
230 static MkTypeE TypeE_FromInt (MK_I32 value);
231
232 // doc-key: MkKernel,MkKernel-Enum,sm_,public
233
235 static MK_I32 ErrorE_ToInt (MkErrorE value);
236
238 static MK_STRN ErrorE_ToString (MkErrorE value);
239
241 static MK_I32 IdSE_ToInt (MkIdSE value);
242
244 static MK_STRN IdSE_ToString (MkIdSE value);
245
247 static MK_I32 TimeoutE_ToInt (MkTimeoutE value);
248
250 static MK_STRN TimeoutE_ToString (MkTimeoutE value);
251
253 static MK_I32 TypeE_ToInt (MkTypeE value);
254
256 static MK_STRN TypeE_ToString (MkTypeE value);
257
259 // MkKernel_Enum_CC_API
260
264
265 public:
266
267 // doc-key: MkKernel,MkKernel-Setup-libmkkernel,sm_,public
268
270 static void Cleanup ();
271
273 static void Setup ();
274
276 // MkKernel_Setup_libmkkernel_CC_API
277
278 // END-MkKernel - created by 'cc_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
279
283
284 public:
285
286 // doc-key: MkKernel,MkKernel-Setup-libmkkernel,sm_,public
287
289 __attribute__ ((destructor(200)))
290 static void CcMkCleanup ();
291
293 __attribute__ ((constructor(200)))
294 static void CcMkSetup ();
295
297 // MkKernel_Setup_libmkkernel_CC_API
298
300
301 }; // MkKernel
302
310
311} // namespace ccmkkernel
312
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
tag: nhi1-release-250425
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...
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO … → C-API: libmkkernel:...
The data-type to store and handle the error-condition … → C-API: libmkkernel::MkErrorS
MkExceptionC - The default-exception of the Programming-Language-Micro-Kernel (PLMK) …
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
define a MkLogFileC object … → C-API: libmkkernel::MkLogFileS
object header … → C-API: libmkkernel::MkObjectS
The MkRuntimeS provide a per-thread environment for ccmkkernel … → C-API: libmkkernel::MkRuntimeS
static constructor for ccmkkernel …
static MK_STRN TimeoutE_ToString(MkTimeoutE value)
C++: [static] MK_STRN MkKernel::TimeoutE_ToString(MkTimeoutE value) → C-API return the MkTimeout...
static MK_I32 IdSE_ToInt(MkIdSE value)
C++: [static] MK_I32 MkKernel::IdSE_ToInt(MkIdSE value) → C-API return the MkIdSE as integer …
static MkTimeoutE TimeoutE_FromInt(MK_I32 value)
C++: [static] MkTimeoutE MkKernel::TimeoutE_FromInt(MK_I32 value) → C-API return the MkTimeoutE ...
static MK_I32 TypeE_ToInt(MkTypeE value)
C++: [static] MK_I32 MkKernel::TypeE_ToInt(MkTypeE value) → C-API return the MkTypeE as integer ...
static MK_I32 ErrorE_ToInt(MkErrorE value)
C++: [static] MK_I32 MkKernel::ErrorE_ToInt(MkErrorE value) → C-API return the MkErrorE as integ...
static MK_STRN IdSE_ToString(MkIdSE value)
C++: [static] MK_STRN MkKernel::IdSE_ToString(MkIdSE value) → C-API return the MkIdSE as string ...
static MkTypeE TypeE_FromInt(MK_I32 value)
C++: [static] MkTypeE MkKernel::TypeE_FromInt(MK_I32 value) → C-API return the MkTypeE from inte...
static MK_I32 TimeoutE_ToInt(MkTimeoutE value)
C++: [static] MK_I32 MkKernel::TimeoutE_ToInt(MkTimeoutE value) → C-API return the MkTimeoutE as...
static MK_STRN ErrorE_ToString(MkErrorE value)
C++: [static] MK_STRN MkKernel::ErrorE_ToString(MkErrorE value) → C-API return the MkErrorE as s...
static MkErrorE ErrorE_FromInt(MK_I32 value)
C++: [static] MkErrorE MkKernel::ErrorE_FromInt(MK_I32 value) → C-API return the MkErrorE from i...
static MkIdSE IdSE_FromInt(MK_I32 value)
C++: [static] MkIdSE MkKernel::IdSE_FromInt(MK_I32 value) → C-API return the MkIdSE from integer...
static MK_STRN TypeE_ToString(MkTypeE value)
C++: [static] MK_STRN MkKernel::TypeE_ToString(MkTypeE value) → C-API return the MkTypeE as stri...
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …
MkTimeoutE
Predefined Timeout values …
MkErrorE
collection for the different error-codes …
static void CcMkCleanup()
C++: [static] MkKernel::Cleanup() → C-API cleanup ccmkkernel internal memory …
static void Cleanup()
C++: [static] MkKernel::Cleanup() → C-API cleanup ccmkkernel internal memory …
static void Setup()
C++: [static] MkKernel::Setup() → C-API setup ccmkkernel internal memory …
static void CcMkSetup()
C++: [static] MkKernel::Setup() → C-API setup ccmkkernel internal memory …
signed int MK_I32
4 byte integer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
MkIdSE
signal type of the MkIdS data val …
#define MK_RT_ARGS_ONLY
namespace for the CcMkKernel "C++"-API
std::pair< MK_SIZE, MK_BINN > MK_BNP