theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_tcl.c File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for MkBufferC_tcl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "MkBufferC_tcl.c"
 
#define OT_CLASS   NS(MkBufferC)
 
#define OT_CLASS_NAME   "MkBufferC"
 
#define OBJECT2BUF(O)
 
#define OT_SETUP_hdl_static_constr_pre
 
#define OT_SETUP_hdl_static_constr
 
#define OT_SETUP_hdl_static
 
#define OT_SETUP_hdl   SetupHdlFromMetaData_2(BUF,MK_BUF);
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(BUF,MK_BUF);
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(BUF,MK_BUF);
 
#define OT_SETUP_hdl_constr_pre
 
#define OT_SETUP_hdl_constr
 
#define SetupRtFromHdl_XN(hdl)
 
#define SetupRtFromHdl_X(hdl)
 
#define ClassInit
 
#define VER   TCL_OO_METHOD_VERSION_CURRENT
 
#define CTOR_doc   "MkBufferC [MkBufferC CTOR ?size:int32=0?]"
 
#define Create_doc   "MkBufferC [MkBufferC Create ?size:int32=0?]"
 
#define Create1024_doc   "MkBufferC [MkBufferC Create1024 ?size:int32=0?]"
 
#define Create256_doc   "MkBufferC [MkBufferC Create256 ?size:int32=0?]"
 
#define Create64_doc   "MkBufferC [MkBufferC Create64 ?size:int32=0?]"
 
#define CreateBIN_doc   "MkBufferC [MkBufferC CreateBIN val:binary]"
 
#define CreateBOL_doc   "MkBufferC [MkBufferC CreateBOL val:bool]"
 
#define CreateBUF_doc   "MkBufferC [MkBufferC CreateBUF val:MkBufferC]"
 
#define CreateDBL_doc   "MkBufferC [MkBufferC CreateDBL val:double]"
 
#define CreateFLT_doc   "MkBufferC [MkBufferC CreateFLT val:float]"
 
#define CreateI16_doc   "MkBufferC [MkBufferC CreateI16 val:int16]"
 
#define CreateI32_doc   "MkBufferC [MkBufferC CreateI32 val:int32]"
 
#define CreateI64_doc   "MkBufferC [MkBufferC CreateI64 val:int64]"
 
#define CreateI8_doc   "MkBufferC [MkBufferC CreateI8 val:int8]"
 
#define CreateSTR_doc   "MkBufferC [MkBufferC CreateSTR val:string]"
 
#define CreateTLS_doc   "MkBufferC [MkBufferC CreateTLS tlsName:string ?resetB:bool=true?]"
 
#define GetNull_doc   "MkBufferC [MkBufferC GetNull]"
 
#define HandleResolve_doc   "MkBufferC [MkBufferC HandleResolve netHdl:MK_HDL]"
 
#define Instances_doc   "MkBufferC [MkBufferC Instances]"
 
#define Merge_doc   "MkBufferC [$buf Merge]"
 
#define Dup_doc   "MkBufferC [$buf Dup] (const)"
 
#define AppendC_doc   "MkBufferC [$buf AppendC val:string]"
 
#define AppendStringR_doc   "MkBufferC [$buf AppendStringR val:string]"
 
#define Copy_doc   "MkBufferC [$buf Copy srce:MkBufferC] (const)"
 
#define Next_doc   "MkBufferC [$buf Next]"
 
#define Prev_doc   "MkBufferC [$buf Prev]"
 
#define Reset_doc   "MkBufferC [$buf Reset]"
 
#define SetBIN_doc   "MkBufferC [$buf SetBIN val:binary]"
 
#define SetBOL_doc   "MkBufferC [$buf SetBOL val:bool]"
 
#define SetBUF_doc   "MkBufferC [$buf SetBUF val:MkBufferC]"
 
#define SetBinaryR_doc   "MkBufferC [$buf SetBinaryR val:binary]"
 
#define SetDBL_doc   "MkBufferC [$buf SetDBL val:double]"
 
#define SetFLT_doc   "MkBufferC [$buf SetFLT val:float]"
 
#define SetI16_doc   "MkBufferC [$buf SetI16 val:int16]"
 
#define SetI32_doc   "MkBufferC [$buf SetI32 val:int32]"
 
#define SetI64_doc   "MkBufferC [$buf SetI64 val:int64]"
 
#define SetI8_doc   "MkBufferC [$buf SetI8 val:int8]"
 
#define SetSTR_doc   "MkBufferC [$buf SetSTR val:string]"
 
#define SetStringR_doc   "MkBufferC [$buf SetStringR val:string]"
 
#define SizeAdd_doc   "MkBufferC [$buf SizeAdd size:int32]"
 
#define SizeNew_doc   "MkBufferC [$buf SizeNew size:int32]"
 
#define Temp_doc   "MkBufferC [$buf Temp] (const)"
 
#define GetBFL_doc   "MkBufferListC [$buf GetBFL ?val_inout:MkBufferListC=\"MK_NULL\"?] (const)"
 
#define GetBUF_doc   "MkBufferC [$buf GetBUF]"
 
#define CastTo_doc   "$buf CastTo typ:MkTypeE"
 
#define Cmp_doc   "int32 [$buf1 Cmp buf2:MkBufferC] (const)"
 
#define GetType1_doc   "string[1] [$buf GetType1] (const)"
 
#define GetType2_doc   "MkTypeE [$buf GetType2] (const)"
 
#define GetType3_doc   "string [$buf GetType3] (const)"
 
#define IsLocal_doc   "bool [$buf IsLocal] (const)"
 
#define LogS_doc   "$buf LogS ?varname:string=\"buf\"? ?fmtobj:MkObjectC=\"MK_NULL\"? ?callfunc:string=\"MK_NULL\"? (const)"
 
#define Pop_doc   "int32 [$buf Pop val:string]"
 
#define Push_doc   "int32 [$buf Push val:string]"
 
#define ResetFull_doc   "$buf ResetFull"
 
#define GetBIN_doc   "binary [$buf GetBIN] (const)"
 
#define GetBOL_doc   "bool [$buf GetBOL] (const)"
 
#define GetDBL_doc   "double [$buf GetDBL] (const)"
 
#define GetFLT_doc   "float [$buf GetFLT] (const)"
 
#define GetI16_doc   "int16 [$buf GetI16] (const)"
 
#define GetI32_doc   "int32 [$buf GetI32] (const)"
 
#define GetI64_doc   "int64 [$buf GetI64] (const)"
 
#define GetI8_doc   "int8 [$buf GetI8] (const)"
 
#define GetSTR_doc   "string [$buf GetSTR] (const)"
 
#define GetStringR_doc   "string [$buf GetStringR] (const)"
 
#define ToObject_doc   "obj [$buf ToObject]"
 

Functions

static MK_PTR tclmkkernel_MkBufferC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void tclmkkernel_MkBufferC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void tclmkkernel_MkBufferC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
OT_ProcRet tclmkkernel_MkBufferC_ToObject (MkBufferC_ARGS)
  Tcl: obj [$buf ToObject] C-API
return the native language object from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_AppendC (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf AppendC val:string] C-API
append a single string to a MkBufferC object …
 
static OT_ProcRet tclmkkernel_MkBufferC_AppendStringR (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf AppendStringR val:string] C-API
append a single string to a MkBufferC object …
 
static OT_ProcRet tclmkkernel_MkBufferC_Pop (MkBufferC_ARGS)
  Tcl: int32 [$buf Pop val:string] C-API
delete str from the MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_Push (MkBufferC_ARGS)
  Tcl: int32 [$buf Push val:string] C-API
add str to the MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_HandleResolve (OtClass_ARGS)
  Tcl: (static) MkBufferC [MkBufferC HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a MkBufferC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkBufferC_HandleGet (MkBufferC_ARGS)
 
static OT_ProcRet tclmkkernel_MkBufferC_Next (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf Next] C-API
get next instance from linked-list of MkBufferS type
 
static OT_ProcRet tclmkkernel_MkBufferC_Prev (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf Prev] C-API
get previous instance from linked-list of MkBufferS type
 
static OT_ProcRet tclmkkernel_MkBufferC_Instances (OtClass_ARGS)
  Tcl: (static) MkBufferC [MkBufferC Instances] C-API
get head-instance from linked-list of MkBufferS type …
 
static OT_ProcRet tclmkkernel_MkBufferC_GetNull (OtClass_ARGS)
  Tcl: (static) MkBufferC [MkBufferC GetNull] C-API
Null-Slot - return a MkBufferC typed NULL instance …
 
OT_ProcRet tclmkkernel_MkBufferC_GetBFL (MkBufferC_ARGS)
  Tcl: MkBufferListC [$buf GetBFL ?val_inout:MkBufferListC="MK_NULL"?] C-API
function to read an MkBufferListC from an MkBufferC object …
 
static OT_ProcRet tclmkkernel_MkBufferC_GetBUF (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf GetBUF] C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetBIN (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetBIN C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetBOL (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetBOL C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetDBL (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetDBL C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetFLT (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetFLT C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetI16 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetI16 C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetI32 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetI32 C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetI64 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetI64 C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetI8 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetI8 C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetSTR (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferGetSTR C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetStringR (MkBufferC_ARGS)
  Tcl: string [$buf GetStringR] C-API
get a val_out from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetType1 (MkBufferC_ARGS)
  Tcl: string[1] [$buf GetType1] C-API
return the type from a MkBufferC as single character value …
 
static OT_ProcRet tclmkkernel_MkBufferC_GetType2 (MkBufferC_ARGS)
  Tcl: MkTypeE [$buf GetType2] C-API
return the MkTypeE from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetType3 (MkBufferC_ARGS)
  Tcl: string [$buf GetType3] C-API
return the type from a MkBufferC as single character string …
 
static OT_ProcRet tclmkkernel_MkBufferC_IsLocal (MkBufferC_ARGS)
  Tcl: bool [$buf IsLocal] C-API
Check if the MkBufferC is local (temporary), not local mean global
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkBufferC_Log (MkBufferC_ARGS)
 
static OT_ProcRet tclmkkernel_MkBufferC_LogS (MkBufferC_ARGS)
  Tcl: $buf LogS ?varname:string="buf"? ?fmtobj:MkObjectC="MK_NULL"? ?callfunc:string="MK_NULL"? C-API
log the short MkBufferC object data to the MkLogFileC (default: stderr) …
 
static OT_ProcRet tclmkkernel_MkBufferC_Copy (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf Copy srce:MkBufferC] C-API
copy the MkBufferC from srce to dest
 
static OT_ProcRet tclmkkernel_MkBufferC_Reset (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf Reset] C-API
reset a MkBufferC to the length zero …
 
static OT_ProcRet tclmkkernel_MkBufferC_SizeAdd (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SizeAdd size:int32] C-API
add size storage to the buf
 
static OT_ProcRet tclmkkernel_MkBufferC_SizeNew (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SizeNew size:int32] C-API
alloc min size storage to the buf
 
OT_ProcRet tclmkkernel_MkBufferC_Temp (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf Temp] C-API
create a temporary copy of the MkBufferC buf …
 
static OT_ProcRet tclmkkernel_MkBufferC_CastTo (MkBufferC_ARGS)
  Tcl: $buf CastTo typ:MkTypeE C-API
change the type of an MkBufferC to type
 
static OT_ProcRet tclmkkernel_MkBufferC_Cmp (MkBufferC_ARGS)
  Tcl: int32 [$buf1 Cmp buf2:MkBufferC] C-API
compare TWO MkBufferC objects like strcmp do it for strings …
 
static OT_ProcRet tclmkkernel_MkBufferC_ResetFull (MkBufferC_ARGS)
  Tcl: $buf ResetFull C-API
reset a MkBufferC to the length zero and free allocated storage…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkBufferC_ToString (MkBufferC_ARGS)
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBIN (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetBIN C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBOL (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetBOL C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBUF (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SetBUF val:MkBufferC] C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetBinaryR (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SetBinaryR val:binary] C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetDBL (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetDBL C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetFLT (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetFLT C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI16 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI16 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI32 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI32 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI64 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI64 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetI8 (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetI8 C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetSTR (MkBufferC_ARGS)
  Tcl: doc_mk_tcl_BufferSetSTR C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_SetStringR (MkBufferC_ARGS)
  Tcl: MkBufferC [$buf SetStringR val:string] C-API
Set the MkBufferC to the val
 
static OT_ProcRet tclmkkernel_MkBufferC_Merge (MkBufferC_ARGS)
  Tcl: (constructor) MkBufferC [$buf Merge] C-API
Merge-Constructor - create a new MkBufferC as a merge from an existing object …
 
static OT_ProcRet tclmkkernel_MkBufferC_Dup (MkBufferC_ARGS)
  Tcl: (constructor) MkBufferC [$buf Dup] C-API
Dup-Constructor - create a new MkBufferC instance as copy from an existing MkBufferC instance
 
static OT_ProcRet tclmkkernel_MkBufferC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) MkBufferC [MkBufferC CTOR ?size:int32=0?] C-API
Constructor - create a new MkBufferC with minimum size of internal storage …
 
static OT_ProcRet tclmkkernel_MkBufferC_Create (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferC [MkBufferC Create ?size:int32=0?] C-API
Constructor - create a new MkBufferC with minimum size of internal storage …
 
static OT_ProcRet tclmkkernel_MkBufferC_Create1024 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferC [MkBufferC Create1024 ?size:int32=0?] C-API
call the BufferCreate with default type MkBuffer1024S (1024 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferC_Create256 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferC [MkBufferC Create256 ?size:int32=0?] C-API
call the BufferCreate with default type MkBuffer256S (256 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferC_Create64 (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferC [MkBufferC Create64 ?size:int32=0?] C-API
call the BufferCreate with default type MkBuffer64S (64 byte) …
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateBIN (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateBIN C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateBOL (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateBOL C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateBUF (OtClass_ARGS)
  Tcl: (constructor,static) MkBufferC [MkBufferC CreateBUF val:MkBufferC] C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateDBL (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateDBL C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateFLT (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateFLT C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateI16 (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateI16 C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateI32 (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateI32 C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateI64 (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateI64 C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateI8 (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateI8 C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateSTR (OtClass_ARGS)
  Tcl: doc_mk_tcl_BufferCreateSTR C-API
Constructor - create a new MkBufferC with an PRIMITIVE TYPE
 
static OT_ProcRet tclmkkernel_MkBufferC_CreateTLS (OtClass_ARGS)
  Tcl: (static) MkBufferC [MkBufferC CreateTLS tlsName:string ?resetB:bool=true?] C-API
same as BufferCreate but require no cleanup
 
int tclmkkernel_pMkBufferC_Init (MK_RT mkrt, OT_ENV_T interp, OT_NS_T ns)
 

Variables

__thread OT_CLS_T OT_CLASS = NULL
 
static __thread MK_TYP MkBufferCTT = NULL
 
__thread OT_OBJ_T tclmkkernel_MkBufferC_MK_NULL = NULL
 
static const Tcl_MethodType tclmkkernel_sOtClassDef []
 
static const Tcl_MethodType tclmkkernel_sInstanceDef []
 

Detailed Description

tag: nhi1-release-250425

Definition in file MkBufferC_tcl.c.

Macro Definition Documentation

◆ AppendC_doc

#define AppendC_doc   "MkBufferC [$buf AppendC val:string]"

Definition at line 144 of file MkBufferC_tcl.c.

◆ AppendStringR_doc

#define AppendStringR_doc   "MkBufferC [$buf AppendStringR val:string]"

Definition at line 145 of file MkBufferC_tcl.c.

◆ CastTo_doc

#define CastTo_doc   "$buf CastTo typ:MkTypeE"

Definition at line 173 of file MkBufferC_tcl.c.

◆ ClassInit

#define ClassInit
Value:
/* if not already done, initialize NEW MQ type */ \
\
/* protect against double call */ \
if (MkBufferCTT->selfCreate == NS(MkBufferC_selfCreate)) return MK_OK; \
\
/* add "selfCreate" and "selfDelete" feature to the MQ-Class */ \
MkBufferCTT->selfCreate = NS(MkBufferC_selfCreate); \
MkBufferCTT->selfDelete = NS(MkBufferC_selfDelete); \
MkBufferCTT->selfUnlink = NS(MkBufferC_selfUnlink); \
\
/* create the TCL-class */ \
OT_SELF_T classO = MK(ClassDef)(interp,ns,MkBufferCTT); \
check_NULL(classO) goto error; \
OT_CLASS = Tcl_GetObjectAsClass(classO); \
\
/* create the TCL static Methods */ \
static MkThreadLocal OtUnknownS NS(sClassUnknown) = {OT_UNKNOWN_CLASS}; \
check_LNG(MK(UnknownSetup) (interp,classO,NS(sOtClassDef),&NS(sClassUnknown))) goto error; \
\
/* create the TCL instance Methods */ \
static MkThreadLocal OtUnknownS NS(sInstanceUnknown) = {OT_UNKNOWN_INSTANCE}; \
check_LNG(MK(UnknownSetup) (interp,classO,NS(sInstanceDef),&NS(sInstanceUnknown))) goto error; \
\
/* define the "NULL" object */ \
MK(MkBufferC_MK_NULL) = Tcl_GetObjectName(interp, \
MK(AtomCreate) (MK_RT_CALL interp, NULL /*obj*/, OT_CLASS, "MK_NULL" /*name*/, "::tclmkkernel::MkBufferC" /*ns*/) \
); \
Tcl_IncrRefCount(MK(MkBufferC_MK_NULL));
#define MK(n)
@ OT_UNKNOWN_CLASS
@ OT_UNKNOWN_INSTANCE
#define NS(n)
Tcl_Object OT_SELF_T
static __thread MK_TYP MkBufferCTT
#define OT_CLASS
#define MkBufferSTT
instance-type as MkTypeS-class-type (cast from MkBufferST into MkTypeS) …
@ MK_OK
(persistent) everything is OK.
#define MkThreadLocal
#define MK_RT_CALL
MkSelfUnlinkF selfUnlink
"unlink" the "self" pointer from META-Kernel
MkSelfDeleteF selfDelete
"delete" the "self" pointer
MkSelfCreateF selfCreate
"create" the "self" pointer

Definition at line 77 of file MkBufferC_tcl.c.

77#define ClassInit \
78 /* if not already done, initialize NEW MQ type */ \
79 if (MkBufferCTT == NULL) MkBufferCTT = MkBufferSTT; \
80 \
81 /* protect against double call */ \
82 if (MkBufferCTT->selfCreate == NS(MkBufferC_selfCreate)) return MK_OK; \
83 \
84 /* add "selfCreate" and "selfDelete" feature to the MQ-Class */ \
85 MkBufferCTT->selfCreate = NS(MkBufferC_selfCreate); \
86 MkBufferCTT->selfDelete = NS(MkBufferC_selfDelete); \
87 MkBufferCTT->selfUnlink = NS(MkBufferC_selfUnlink); \
88 \
89 /* create the TCL-class */ \
90 OT_SELF_T classO = MK(ClassDef)(interp,ns,MkBufferCTT); \
91 check_NULL(classO) goto error; \
92 OT_CLASS = Tcl_GetObjectAsClass(classO); \
93 \
94 /* create the TCL static Methods */ \
95 static MkThreadLocal OtUnknownS NS(sClassUnknown) = {OT_UNKNOWN_CLASS}; \
96 check_LNG(MK(UnknownSetup) (interp,classO,NS(sOtClassDef),&NS(sClassUnknown))) goto error; \
97 \
98 /* create the TCL instance Methods */ \
99 static MkThreadLocal OtUnknownS NS(sInstanceUnknown) = {OT_UNKNOWN_INSTANCE}; \
100 check_LNG(MK(UnknownSetup) (interp,classO,NS(sInstanceDef),&NS(sInstanceUnknown))) goto error; \
101 \
102 /* define the "NULL" object */ \
103 MK(MkBufferC_MK_NULL) = Tcl_GetObjectName(interp, \
104 MK(AtomCreate) (MK_RT_CALL interp, NULL /*obj*/, OT_CLASS, "MK_NULL" /*name*/, "::tclmkkernel::MkBufferC" /*ns*/) \
105 ); \
106 Tcl_IncrRefCount(MK(MkBufferC_MK_NULL));

◆ Cmp_doc

#define Cmp_doc   "int32 [$buf1 Cmp buf2:MkBufferC] (const)"

Definition at line 174 of file MkBufferC_tcl.c.

◆ Copy_doc

#define Copy_doc   "MkBufferC [$buf Copy srce:MkBufferC] (const)"

Definition at line 146 of file MkBufferC_tcl.c.

◆ Create1024_doc

#define Create1024_doc   "MkBufferC [MkBufferC Create1024 ?size:int32=0?]"

Definition at line 117 of file MkBufferC_tcl.c.

◆ Create256_doc

#define Create256_doc   "MkBufferC [MkBufferC Create256 ?size:int32=0?]"

Definition at line 118 of file MkBufferC_tcl.c.

◆ Create64_doc

#define Create64_doc   "MkBufferC [MkBufferC Create64 ?size:int32=0?]"

Definition at line 119 of file MkBufferC_tcl.c.

◆ Create_doc

#define Create_doc   "MkBufferC [MkBufferC Create ?size:int32=0?]"

Definition at line 116 of file MkBufferC_tcl.c.

◆ CreateBIN_doc

#define CreateBIN_doc   "MkBufferC [MkBufferC CreateBIN val:binary]"

Definition at line 120 of file MkBufferC_tcl.c.

◆ CreateBOL_doc

#define CreateBOL_doc   "MkBufferC [MkBufferC CreateBOL val:bool]"

Definition at line 121 of file MkBufferC_tcl.c.

◆ CreateBUF_doc

#define CreateBUF_doc   "MkBufferC [MkBufferC CreateBUF val:MkBufferC]"

Definition at line 122 of file MkBufferC_tcl.c.

◆ CreateDBL_doc

#define CreateDBL_doc   "MkBufferC [MkBufferC CreateDBL val:double]"

Definition at line 123 of file MkBufferC_tcl.c.

◆ CreateFLT_doc

#define CreateFLT_doc   "MkBufferC [MkBufferC CreateFLT val:float]"

Definition at line 124 of file MkBufferC_tcl.c.

◆ CreateI16_doc

#define CreateI16_doc   "MkBufferC [MkBufferC CreateI16 val:int16]"

Definition at line 125 of file MkBufferC_tcl.c.

◆ CreateI32_doc

#define CreateI32_doc   "MkBufferC [MkBufferC CreateI32 val:int32]"

Definition at line 126 of file MkBufferC_tcl.c.

◆ CreateI64_doc

#define CreateI64_doc   "MkBufferC [MkBufferC CreateI64 val:int64]"

Definition at line 127 of file MkBufferC_tcl.c.

◆ CreateI8_doc

#define CreateI8_doc   "MkBufferC [MkBufferC CreateI8 val:int8]"

Definition at line 128 of file MkBufferC_tcl.c.

◆ CreateSTR_doc

#define CreateSTR_doc   "MkBufferC [MkBufferC CreateSTR val:string]"

Definition at line 129 of file MkBufferC_tcl.c.

◆ CreateTLS_doc

#define CreateTLS_doc   "MkBufferC [MkBufferC CreateTLS tlsName:string ?resetB:bool=true?]"

Definition at line 132 of file MkBufferC_tcl.c.

◆ CTOR_doc

#define CTOR_doc   "MkBufferC [MkBufferC CTOR ?size:int32=0?]"

Definition at line 115 of file MkBufferC_tcl.c.

◆ Dup_doc

#define Dup_doc   "MkBufferC [$buf Dup] (const)"

Definition at line 141 of file MkBufferC_tcl.c.

◆ GetBFL_doc

#define GetBFL_doc   "MkBufferListC [$buf GetBFL ?val_inout:MkBufferListC=\"MK_NULL\"?] (const)"

Definition at line 167 of file MkBufferC_tcl.c.

◆ GetBIN_doc

#define GetBIN_doc   "binary [$buf GetBIN] (const)"

Definition at line 188 of file MkBufferC_tcl.c.

◆ GetBOL_doc

#define GetBOL_doc   "bool [$buf GetBOL] (const)"

Definition at line 189 of file MkBufferC_tcl.c.

◆ GetBUF_doc

#define GetBUF_doc   "MkBufferC [$buf GetBUF]"

Definition at line 170 of file MkBufferC_tcl.c.

◆ GetDBL_doc

#define GetDBL_doc   "double [$buf GetDBL] (const)"

Definition at line 190 of file MkBufferC_tcl.c.

◆ GetFLT_doc

#define GetFLT_doc   "float [$buf GetFLT] (const)"

Definition at line 191 of file MkBufferC_tcl.c.

◆ GetI16_doc

#define GetI16_doc   "int16 [$buf GetI16] (const)"

Definition at line 192 of file MkBufferC_tcl.c.

◆ GetI32_doc

#define GetI32_doc   "int32 [$buf GetI32] (const)"

Definition at line 193 of file MkBufferC_tcl.c.

◆ GetI64_doc

#define GetI64_doc   "int64 [$buf GetI64] (const)"

Definition at line 194 of file MkBufferC_tcl.c.

◆ GetI8_doc

#define GetI8_doc   "int8 [$buf GetI8] (const)"

Definition at line 195 of file MkBufferC_tcl.c.

◆ GetNull_doc

#define GetNull_doc   "MkBufferC [MkBufferC GetNull]"

Definition at line 133 of file MkBufferC_tcl.c.

◆ GetSTR_doc

#define GetSTR_doc   "string [$buf GetSTR] (const)"

Definition at line 196 of file MkBufferC_tcl.c.

◆ GetStringR_doc

#define GetStringR_doc   "string [$buf GetStringR] (const)"

Definition at line 197 of file MkBufferC_tcl.c.

◆ GetType1_doc

#define GetType1_doc   "string[1] [$buf GetType1] (const)"

Definition at line 175 of file MkBufferC_tcl.c.

◆ GetType2_doc

#define GetType2_doc   "MkTypeE [$buf GetType2] (const)"

Definition at line 176 of file MkBufferC_tcl.c.

◆ GetType3_doc

#define GetType3_doc   "string [$buf GetType3] (const)"

Definition at line 177 of file MkBufferC_tcl.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "MkBufferC [MkBufferC HandleResolve netHdl:MK_HDL]"

Definition at line 134 of file MkBufferC_tcl.c.

◆ Instances_doc

#define Instances_doc   "MkBufferC [MkBufferC Instances]"

Definition at line 135 of file MkBufferC_tcl.c.

◆ IsLocal_doc

#define IsLocal_doc   "bool [$buf IsLocal] (const)"

Definition at line 179 of file MkBufferC_tcl.c.

◆ LogS_doc

#define LogS_doc   "$buf LogS ?varname:string=\"buf\"? ?fmtobj:MkObjectC=\"MK_NULL\"? ?callfunc:string=\"MK_NULL\"? (const)"

Definition at line 181 of file MkBufferC_tcl.c.

◆ Merge_doc

#define Merge_doc   "MkBufferC [$buf Merge]"

Definition at line 138 of file MkBufferC_tcl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "MkBufferC_tcl.c"

Definition at line 11 of file MkBufferC_tcl.c.

◆ Next_doc

#define Next_doc   "MkBufferC [$buf Next]"

Definition at line 147 of file MkBufferC_tcl.c.

◆ OBJECT2BUF

#define OBJECT2BUF ( O)
Value:
MkAssertCastM(MkBufferC,(Tcl_ObjectGetMetadata(O, &MK(AtomMeta))))
#define MkAssertCastM(cls, m)
}

Definition at line 18 of file MkBufferC_tcl.c.

◆ OT_CLASS

#define OT_CLASS   NS(MkBufferC)

Definition at line 15 of file MkBufferC_tcl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "MkBufferC"

Definition at line 16 of file MkBufferC_tcl.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(BUF,MK_BUF);

Definition at line 59 of file MkBufferC_tcl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(BUF,MK_BUF);

Definition at line 60 of file MkBufferC_tcl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr
Value:
int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
MK_RT_UNUSED OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
MK_BUF hdl = (MK_BUF) &MkERROR;
#define OT_SETUP_hdl_constr_pre
struct MkBufferS * MK_BUF
class-shortcut for struct MkBufferS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkERROR
#define AllRtSetup_NULL
#define MK_RT_UNUSED
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

Definition at line 64 of file MkBufferC_tcl.c.

64#define OT_SETUP_hdl_constr \
65 OT_SETUP_hdl_constr_pre; \
66 int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
67 AllRtSetup_NULL; \
68 MK_RT_UNUSED OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
69 MK_BUF hdl = (MK_BUF) &MkERROR;

◆ OT_SETUP_hdl_constr_pre

#define OT_SETUP_hdl_constr_pre

Definition at line 63 of file MkBufferC_tcl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(BUF,MK_BUF);

Definition at line 61 of file MkBufferC_tcl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
__attribute__((unused)) OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
__attribute__((unused)) MK_TYP hdl = MkBufferC##_TT;
MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type...

Definition at line 53 of file MkBufferC_tcl.c.

53#define OT_SETUP_hdl_static \
54 int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
55 AllRtSetup_NULL; \
56 __attribute__((unused)) OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
57 __attribute__((unused)) MK_TYP hdl = MkBufferC##_TT;

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr
Value:
#define OT_SETUP_hdl_static_constr_pre
#define OT_SETUP_hdl_static

Definition at line 49 of file MkBufferC_tcl.c.

49#define OT_SETUP_hdl_static_constr \
50 OT_SETUP_hdl_static_constr_pre; \
51 OT_SETUP_hdl_static

◆ OT_SETUP_hdl_static_constr_pre

#define OT_SETUP_hdl_static_constr_pre

Definition at line 48 of file MkBufferC_tcl.c.

◆ Pop_doc

#define Pop_doc   "int32 [$buf Pop val:string]"

Definition at line 182 of file MkBufferC_tcl.c.

◆ Prev_doc

#define Prev_doc   "MkBufferC [$buf Prev]"

Definition at line 148 of file MkBufferC_tcl.c.

◆ Push_doc

#define Push_doc   "int32 [$buf Push val:string]"

Definition at line 183 of file MkBufferC_tcl.c.

◆ Reset_doc

#define Reset_doc   "MkBufferC [$buf Reset]"

Definition at line 149 of file MkBufferC_tcl.c.

◆ ResetFull_doc

#define ResetFull_doc   "$buf ResetFull"

Definition at line 184 of file MkBufferC_tcl.c.

◆ SetBIN_doc

#define SetBIN_doc   "MkBufferC [$buf SetBIN val:binary]"

Definition at line 150 of file MkBufferC_tcl.c.

◆ SetBinaryR_doc

#define SetBinaryR_doc   "MkBufferC [$buf SetBinaryR val:binary]"

Definition at line 153 of file MkBufferC_tcl.c.

◆ SetBOL_doc

#define SetBOL_doc   "MkBufferC [$buf SetBOL val:bool]"

Definition at line 151 of file MkBufferC_tcl.c.

◆ SetBUF_doc

#define SetBUF_doc   "MkBufferC [$buf SetBUF val:MkBufferC]"

Definition at line 152 of file MkBufferC_tcl.c.

◆ SetDBL_doc

#define SetDBL_doc   "MkBufferC [$buf SetDBL val:double]"

Definition at line 154 of file MkBufferC_tcl.c.

◆ SetFLT_doc

#define SetFLT_doc   "MkBufferC [$buf SetFLT val:float]"

Definition at line 155 of file MkBufferC_tcl.c.

◆ SetI16_doc

#define SetI16_doc   "MkBufferC [$buf SetI16 val:int16]"

Definition at line 156 of file MkBufferC_tcl.c.

◆ SetI32_doc

#define SetI32_doc   "MkBufferC [$buf SetI32 val:int32]"

Definition at line 157 of file MkBufferC_tcl.c.

◆ SetI64_doc

#define SetI64_doc   "MkBufferC [$buf SetI64 val:int64]"

Definition at line 158 of file MkBufferC_tcl.c.

◆ SetI8_doc

#define SetI8_doc   "MkBufferC [$buf SetI8 val:int8]"

Definition at line 159 of file MkBufferC_tcl.c.

◆ SetSTR_doc

#define SetSTR_doc   "MkBufferC [$buf SetSTR val:string]"

Definition at line 160 of file MkBufferC_tcl.c.

◆ SetStringR_doc

#define SetStringR_doc   "MkBufferC [$buf SetStringR val:string]"

Definition at line 161 of file MkBufferC_tcl.c.

◆ SetupRtFromHdl_X

#define SetupRtFromHdl_X ( hdl)
Value:
#define AllRtSetup_X(x)

Definition at line 73 of file MkBufferC_tcl.c.

◆ SetupRtFromHdl_XN

#define SetupRtFromHdl_XN ( hdl)
Value:
#define AllRtSetup_XN(x)

Definition at line 72 of file MkBufferC_tcl.c.

◆ SizeAdd_doc

#define SizeAdd_doc   "MkBufferC [$buf SizeAdd size:int32]"

Definition at line 162 of file MkBufferC_tcl.c.

◆ SizeNew_doc

#define SizeNew_doc   "MkBufferC [$buf SizeNew size:int32]"

Definition at line 163 of file MkBufferC_tcl.c.

◆ Temp_doc

#define Temp_doc   "MkBufferC [$buf Temp] (const)"

Definition at line 164 of file MkBufferC_tcl.c.

◆ ToObject_doc

#define ToObject_doc   "obj [$buf ToObject]"

Definition at line 198 of file MkBufferC_tcl.c.

◆ VER

#define VER   TCL_OO_METHOD_VERSION_CURRENT

Definition at line 108 of file MkBufferC_tcl.c.

Function Documentation

◆ tclmkkernel_MkBufferC_selfCreate()

static MK_PTR tclmkkernel_MkBufferC_selfCreate ( MK_RT mkrt,
MK_OBJ const obj,
MK_PTR const env )
static

Definition at line 28 of file MkBufferC_tcl.c.

28 {
29 OT_ENV_T interp = env;
30 return MK(AtomCreate) (MK_RT_CALL interp,obj,OT_CLASS,NULL,NULL);
31}
Tcl_Interp * OT_ENV_T

◆ tclmkkernel_MkBufferC_selfDelete()

static void tclmkkernel_MkBufferC_selfDelete ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 33 of file MkBufferC_tcl.c.

33 {
34 OT_SELF_T selfO = selfP;
35 OT_ENV_T interp = env;
36 MK(AtomDeleteHard) (MK_RT_CALL interp, selfO);
37}

◆ tclmkkernel_MkBufferC_selfUnlink()

static void tclmkkernel_MkBufferC_selfUnlink ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 39 of file MkBufferC_tcl.c.

39 {
40 OT_SELF_T selfO = selfP;
41 OT_ENV_T interp = env;
42 MK(AtomUnlink) (MK_RT_CALL interp, selfO);
43}

◆ tclmkkernel_pMkBufferC_Init()

int tclmkkernel_pMkBufferC_Init ( MK_RT mkrt,
OT_ENV_T interp,
OT_NS_T ns )

Public API

Definition at line 1509 of file MkBufferC_tcl.c.

1510{
1511 ClassInit
1512
1513 MkBuffer64C_TT->selfCreate = NS(MkBufferC_selfCreate) ;
1514 MkBuffer64C_TT->selfDelete = NS(MkBufferC_selfDelete) ;
1515 MkBuffer64C_TT->selfUnlink = NS(MkBufferC_selfUnlink) ;
1516 MkBuffer256C_TT->selfCreate = NS(MkBufferC_selfCreate) ;
1517 MkBuffer256C_TT->selfDelete = NS(MkBufferC_selfDelete) ;
1518 MkBuffer256C_TT->selfUnlink = NS(MkBufferC_selfUnlink) ;
1519 MkBuffer1024C_TT->selfCreate = NS(MkBufferC_selfCreate) ;
1520 MkBuffer1024C_TT->selfDelete = NS(MkBufferC_selfDelete) ;
1521 MkBuffer1024C_TT->selfUnlink = NS(MkBufferC_selfUnlink) ;
1522
1523 return TCL_OK;
1524error:
1525 return TCL_ERROR;
1526}
#define ClassInit
#define MkBuffer1024C_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkBuffer256C_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkBuffer64C_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …

Variable Documentation

◆ MkBufferCTT

__thread MK_TYP MkBufferCTT = NULL
static

Definition at line 24 of file MkBufferC_tcl.c.

◆ OT_CLASS

__thread OT_CLS_T OT_CLASS = NULL

Definition at line 21 of file MkBufferC_tcl.c.

◆ tclmkkernel_MkBufferC_MK_NULL

__thread OT_OBJ_T tclmkkernel_MkBufferC_MK_NULL = NULL

Definition at line 25 of file MkBufferC_tcl.c.

◆ tclmkkernel_sInstanceDef

const Tcl_MethodType tclmkkernel_sInstanceDef[]
static

Definition at line 1431 of file MkBufferC_tcl.c.

1431 {
1432
1433// BEGIN-OBJ - created by 'tcl_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1434
1435// doc-key: MkBufferC,MkBuffer,oC_
1436 {VER, "<constructor>" , NS(MkBufferC_CTOR) , NULL, NULL},
1437 {VER, "Merge" , NS(MkBufferC_Merge) , NULL, NULL},
1438
1439// doc-key: MkBufferC,MkBuffer,oCx
1440 {VER, "Dup" , NS(MkBufferC_Dup) , NULL, NULL},
1441
1442// doc-key: MkBufferC,MkBuffer,oc_
1443 {VER, "AppendC" , NS(MkBufferC_AppendC) , NULL, NULL},
1444 {VER, "AppendStringR" , NS(MkBufferC_AppendStringR) , NULL, NULL},
1445 {VER, "Copy" , NS(MkBufferC_Copy) , NULL, NULL},
1446 {VER, "Next" , NS(MkBufferC_Next) , NULL, NULL},
1447 {VER, "Prev" , NS(MkBufferC_Prev) , NULL, NULL},
1448 {VER, "Reset" , NS(MkBufferC_Reset) , NULL, NULL},
1449 {VER, "SetBIN" , NS(MkBufferC_SetBIN) , NULL, NULL},
1450 {VER, "SetBOL" , NS(MkBufferC_SetBOL) , NULL, NULL},
1451 {VER, "SetBUF" , NS(MkBufferC_SetBUF) , NULL, NULL},
1452 {VER, "SetBinaryR" , NS(MkBufferC_SetBinaryR) , NULL, NULL},
1453 {VER, "SetDBL" , NS(MkBufferC_SetDBL) , NULL, NULL},
1454 {VER, "SetFLT" , NS(MkBufferC_SetFLT) , NULL, NULL},
1455 {VER, "SetI16" , NS(MkBufferC_SetI16) , NULL, NULL},
1456 {VER, "SetI32" , NS(MkBufferC_SetI32) , NULL, NULL},
1457 {VER, "SetI64" , NS(MkBufferC_SetI64) , NULL, NULL},
1458 {VER, "SetI8" , NS(MkBufferC_SetI8) , NULL, NULL},
1459 {VER, "SetSTR" , NS(MkBufferC_SetSTR) , NULL, NULL},
1460 {VER, "SetStringR" , NS(MkBufferC_SetStringR) , NULL, NULL},
1461 {VER, "SizeAdd" , NS(MkBufferC_SizeAdd) , NULL, NULL},
1462 {VER, "SizeNew" , NS(MkBufferC_SizeNew) , NULL, NULL},
1463 {VER, "Temp" , NS(MkBufferC_Temp) , NULL, NULL},
1464
1465// doc-key: MkBufferC,MkBuffer,oci
1466 {VER, "GetBFL" , NS(MkBufferC_GetBFL) , NULL, NULL},
1467
1468// doc-key: MkBufferC,MkBuffer,oco
1469 {VER, "GetBUF" , NS(MkBufferC_GetBUF) , NULL, NULL},
1470
1471// doc-key: MkBufferC,MkBuffer,om_
1472 {VER, "CastTo" , NS(MkBufferC_CastTo) , NULL, NULL},
1473 {VER, "Cmp" , NS(MkBufferC_Cmp) , NULL, NULL},
1474 {VER, "GetType1" , NS(MkBufferC_GetType1) , NULL, NULL},
1475 {VER, "GetType2" , NS(MkBufferC_GetType2) , NULL, NULL},
1476 {VER, "GetType3" , NS(MkBufferC_GetType3) , NULL, NULL},
1477 // skip class-overload: MkBufferHandleGet → HandleGet, NS(MkBufferC_HandleGet)
1478 {VER, "IsLocal" , NS(MkBufferC_IsLocal) , NULL, NULL},
1479 // skip class-overload: MkBufferLog → Log, NS(MkBufferC_Log)
1480 {VER, "LogS" , NS(MkBufferC_LogS) , NULL, NULL},
1481 {VER, "Pop" , NS(MkBufferC_Pop) , NULL, NULL},
1482 {VER, "Push" , NS(MkBufferC_Push) , NULL, NULL},
1483 {VER, "ResetFull" , NS(MkBufferC_ResetFull) , NULL, NULL},
1484 // skip class-overload: MkBufferToString → ToString, NS(MkBufferC_ToString)
1485
1486// doc-key: MkBufferC,MkBuffer,omo
1487 {VER, "GetBIN" , NS(MkBufferC_GetBIN) , NULL, NULL},
1488 {VER, "GetBOL" , NS(MkBufferC_GetBOL) , NULL, NULL},
1489 {VER, "GetDBL" , NS(MkBufferC_GetDBL) , NULL, NULL},
1490 {VER, "GetFLT" , NS(MkBufferC_GetFLT) , NULL, NULL},
1491 {VER, "GetI16" , NS(MkBufferC_GetI16) , NULL, NULL},
1492 {VER, "GetI32" , NS(MkBufferC_GetI32) , NULL, NULL},
1493 {VER, "GetI64" , NS(MkBufferC_GetI64) , NULL, NULL},
1494 {VER, "GetI8" , NS(MkBufferC_GetI8) , NULL, NULL},
1495 {VER, "GetSTR" , NS(MkBufferC_GetSTR) , NULL, NULL},
1496 {VER, "GetStringR" , NS(MkBufferC_GetStringR) , NULL, NULL},
1497 {VER, "ToObject" , NS(MkBufferC_ToObject) , NULL, NULL},
1498
1499// END-OBJ - created by 'tcl_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1500 {0, NULL, NULL, NULL, NULL}
1501};
OT_ProcRet NS MkBufferC_ToObject(MkBufferC_ARGS)
#define VER

◆ tclmkkernel_sOtClassDef

const Tcl_MethodType tclmkkernel_sOtClassDef[]
static
Initial value:
= {
{VER, "Create" , tclmkkernel_MkBufferC_Create , NULL, NULL},
{VER, "Create1024" , tclmkkernel_MkBufferC_Create1024 , NULL, NULL},
{VER, "Create256" , tclmkkernel_MkBufferC_Create256 , NULL, NULL},
{VER, "Create64" , tclmkkernel_MkBufferC_Create64 , NULL, NULL},
{VER, "CreateBIN" , tclmkkernel_MkBufferC_CreateBIN , NULL, NULL},
{VER, "CreateBOL" , tclmkkernel_MkBufferC_CreateBOL , NULL, NULL},
{VER, "CreateBUF" , tclmkkernel_MkBufferC_CreateBUF , NULL, NULL},
{VER, "CreateDBL" , tclmkkernel_MkBufferC_CreateDBL , NULL, NULL},
{VER, "CreateFLT" , tclmkkernel_MkBufferC_CreateFLT , NULL, NULL},
{VER, "CreateI16" , tclmkkernel_MkBufferC_CreateI16 , NULL, NULL},
{VER, "CreateI32" , tclmkkernel_MkBufferC_CreateI32 , NULL, NULL},
{VER, "CreateI64" , tclmkkernel_MkBufferC_CreateI64 , NULL, NULL},
{VER, "CreateI8" , tclmkkernel_MkBufferC_CreateI8 , NULL, NULL},
{VER, "CreateSTR" , tclmkkernel_MkBufferC_CreateSTR , NULL, NULL},
{VER, "CreateTLS" , tclmkkernel_MkBufferC_CreateTLS , NULL, NULL},
{VER, "GetNull" , tclmkkernel_MkBufferC_GetNull , NULL, NULL},
{VER, "HandleResolve" , tclmkkernel_MkBufferC_HandleResolve , NULL, NULL},
{VER, "Instances" , tclmkkernel_MkBufferC_Instances , NULL, NULL},
{0, NULL, NULL, NULL}
}
static OT_ProcRet tclmkkernel_MkBufferC_HandleResolve(OtClass_ARGS)
Tcl: (static) MkBufferC [MkBufferC HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot - re...
static OT_ProcRet tclmkkernel_MkBufferC_GetNull(OtClass_ARGS)
Tcl: (static) MkBufferC [MkBufferC GetNull] → C-API Null-Slot - return a MkBufferC typed NULL in...
static OT_ProcRet tclmkkernel_MkBufferC_Instances(OtClass_ARGS)
Tcl: (static) MkBufferC [MkBufferC Instances] → C-API get head-instance from linked-list of MkBu...
static OT_ProcRet tclmkkernel_MkBufferC_CreateSTR(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateSTR → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_CreateI16(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateI16 → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_CreateBOL(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateBOL → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_Create1024(OtClass_ARGS)
Tcl: (constructor,static) MkBufferC [MkBufferC Create1024 ?size:int32=0?] → C-API call the Buffe...
static OT_ProcRet tclmkkernel_MkBufferC_CreateBIN(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateBIN → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_CreateFLT(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateFLT → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_CreateTLS(OtClass_ARGS)
Tcl: (static) MkBufferC [MkBufferC CreateTLS tlsName:string ?resetB:bool=true?] → C-API same as ...
static OT_ProcRet tclmkkernel_MkBufferC_Create256(OtClass_ARGS)
Tcl: (constructor,static) MkBufferC [MkBufferC Create256 ?size:int32=0?] → C-API call the Buffer...
static OT_ProcRet tclmkkernel_MkBufferC_CreateI8(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateI8 → C-API Constructor - create a new MkBufferC with an PRIMITIVE TY...
static OT_ProcRet tclmkkernel_MkBufferC_CreateBUF(OtClass_ARGS)
Tcl: (constructor,static) MkBufferC [MkBufferC CreateBUF val:MkBufferC] → C-API Constructor - ...
static OT_ProcRet tclmkkernel_MkBufferC_Create64(OtClass_ARGS)
Tcl: (constructor,static) MkBufferC [MkBufferC Create64 ?size:int32=0?] → C-API call the BufferC...
static OT_ProcRet tclmkkernel_MkBufferC_CreateI64(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateI64 → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_Create(OtClass_ARGS)
Tcl: (constructor,static) MkBufferC [MkBufferC Create ?size:int32=0?] → C-API Constructor - crea...
static OT_ProcRet tclmkkernel_MkBufferC_CreateI32(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateI32 → C-API Constructor - create a new MkBufferC with an PRIMITIVE...
static OT_ProcRet tclmkkernel_MkBufferC_CreateDBL(OtClass_ARGS)
Tcl: doc_mk_tcl_BufferCreateDBL → C-API Constructor - create a new MkBufferC with an PRIMITIVE...

METHOD API

Definition at line 1399 of file MkBufferC_tcl.c.

1399 {
1400
1401// BEGIN-CLASS - created by 'tcl_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1402
1403// doc-key: MkBufferC,MkBuffer,sCc
1404 {VER, "Create" , NS(MkBufferC_Create) , NULL, NULL},
1405 {VER, "Create1024" , NS(MkBufferC_Create1024) , NULL, NULL},
1406 {VER, "Create256" , NS(MkBufferC_Create256) , NULL, NULL},
1407 {VER, "Create64" , NS(MkBufferC_Create64) , NULL, NULL},
1408 {VER, "CreateBIN" , NS(MkBufferC_CreateBIN) , NULL, NULL},
1409 {VER, "CreateBOL" , NS(MkBufferC_CreateBOL) , NULL, NULL},
1410 {VER, "CreateBUF" , NS(MkBufferC_CreateBUF) , NULL, NULL},
1411 {VER, "CreateDBL" , NS(MkBufferC_CreateDBL) , NULL, NULL},
1412 {VER, "CreateFLT" , NS(MkBufferC_CreateFLT) , NULL, NULL},
1413 {VER, "CreateI16" , NS(MkBufferC_CreateI16) , NULL, NULL},
1414 {VER, "CreateI32" , NS(MkBufferC_CreateI32) , NULL, NULL},
1415 {VER, "CreateI64" , NS(MkBufferC_CreateI64) , NULL, NULL},
1416 {VER, "CreateI8" , NS(MkBufferC_CreateI8) , NULL, NULL},
1417 {VER, "CreateSTR" , NS(MkBufferC_CreateSTR) , NULL, NULL},
1418
1419// doc-key: MkBufferC,MkBuffer,sc_
1420 {VER, "CreateTLS" , NS(MkBufferC_CreateTLS) , NULL, NULL},
1421 {VER, "GetNull" , NS(MkBufferC_GetNull) , NULL, NULL},
1422 {VER, "HandleResolve" , NS(MkBufferC_HandleResolve) , NULL, NULL},
1423 {VER, "Instances" , NS(MkBufferC_Instances) , NULL, NULL},
1424
1425// END-CLASS - created by 'tcl_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
1426 {0, NULL, NULL, NULL}
1427};