theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_rb.c File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for LcConfigC_rb.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LcConfigC_rb.c"
 
#define OT_CLASS   NS(LcConfigC)
 
#define OT_CLASS_NAME   "LcConfigC"
 
#define OT_LNG2META(O)
 
#define S_INIT   NS(sInit)(MK_RT_CALL_ONLY)
 
#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(LcConfigC);
 
#define OT_SETUP_hdl__null_allow   OT_SETUP_hdl_tmpl__null_allow(LcConfigC);
 
#define OT_SETUP_hdl_constr
 
#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(LcConfigC);
 
#define OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define SetupRtFromObj_X(hdl)
 
#define SetupRtFromObj_XN(hdl)
 
#define Create_doc   "LcConfigC LcConfigC.Create()"
 
#define new_doc   "LcConfigC LcConfigC.new()"
 
#define GetNull_doc   "LcConfigC LcConfigC.GetNull()"
 
#define HandleResolve_doc   "LcConfigC LcConfigC.HandleResolve(netHdl:MK_HDL)"
 
#define Instances_doc   "LcConfigC LcConfigC.Instances()"
 
#define Lookup_doc   "LcSettingC config.Lookup(path:string) (const)"
 
#define Next_doc   "LcConfigC cfg.Next()"
 
#define Prev_doc   "LcConfigC cfg.Prev()"
 
#define RootSetting_doc   "LcSettingC config.RootSetting() (const)"
 
#define Clear_doc   "config.Clear()"
 
#define ErrorType_doc   "LcErrorTypeE config.ErrorType() (const)"
 
#define GetDefaultFormat_doc   "LcConfigFormatE config.GetDefaultFormat() (const)"
 
#define GetFloatPrecision_doc   "int16 config.GetFloatPrecision() (const)"
 
#define GetIncludeDir_doc   "string config.GetIncludeDir() (const)"
 
#define GetOption_doc   "bool config.GetOption(option:LcConfigOptionsEF) (const)"
 
#define GetOptions_doc   "LcConfigOptionsEF config.GetOptions() (const)"
 
#define GetTabWidth_doc   "int16 config.GetTabWidth() (const)"
 
#define Log_doc   "cfg.Log(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
 
#define ReadFile_doc   "config.ReadFile(filename:string)"
 
#define ReadString_doc   "config.ReadString(str:string)"
 
#define SetDefaultFormat_doc   "config.SetDefaultFormat(format:LcConfigFormatE)"
 
#define SetFloatPrecision_doc   "config.SetFloatPrecision(digits:int16)"
 
#define SetIncludeDir_doc   "config.SetIncludeDir(include_dir:string)"
 
#define SetIncludeFunc_doc   "cfg.SetIncludeFunc(?fConfigIncludeData:LC_CBP=nil?)"
 
#define SetOption_doc   "config.SetOption(option:LcConfigOptionsEF, flag:bool)"
 
#define SetOptions_doc   "config.SetOptions(options:LcConfigOptionsEF)"
 
#define SetSettingDeleteFunc_doc   "cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=nil?)"
 
#define SetTabWidth_doc   "config.SetTabWidth(width:int16)"
 
#define WriteFile_doc   "config.WriteFile(filename:string)"
 
#define LookupBool_doc   "bool config.LookupBool(path:string) (const)"
 
#define LookupFloat_doc   "double config.LookupFloat(path:string) (const)"
 
#define LookupInt_doc   "int32 config.LookupInt(path:string) (const)"
 
#define LookupInt64_doc   "int64 config.LookupInt64(path:string) (const)"
 
#define LookupString_doc   "string config.LookupString(path:string) (const)"
 
#define WriteString_doc   "string cfg.WriteString() (const)"
 

Functions

static void rblcconfig_sMark (MK_PTR)
 
static OT_OBJ_T rblcconfig_LNG_CONSTR (OT_CLS_T clazz, MK_MNG mng, int objc, VALUE *objv)
 
static MK_PTR rblcconfig_LcConfigC_selfCreate (MK_RT mkrt, MK_OBJ obj, MK_PTR envP)
 
static void rblcconfig_LcConfigC_selfDelete (MK_RT mkrt, MK_PTR ptr, MK_PTR envP)
 
static void rblcconfig_LcConfigC_selfUnlink (MK_RT mkrt, MK_PTR ptr, MK_PTR envP)
 
static void rblcconfig_sInit (MK_RT mkrt)
 
static OT_ProcRet rblcconfig_LcConfigC_HandleResolve (OtClass_ARGS)
  Ruby: (static) LcConfigC LcConfigC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a LcConfigC from netHdl or nil if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rblcconfig_LcConfigC_HandleGet (LcConfigC_ARGS)
 
static OT_ProcRet rblcconfig_LcConfigC_Next (LcConfigC_ARGS)
  Ruby: LcConfigC cfg.Next() C-API
get next instance from linked-list of LcConfigS type
 
static OT_ProcRet rblcconfig_LcConfigC_Prev (LcConfigC_ARGS)
  Ruby: LcConfigC cfg.Prev() C-API
get previous instance from linked-list of LcConfigS type
 
static OT_ProcRet rblcconfig_LcConfigC_Instances (OtClass_ARGS)
  Ruby: (static) LcConfigC LcConfigC.Instances() C-API
get head-instance from linked-list of LcConfigS type …
 
static OT_ProcRet rblcconfig_LcConfigC_GetNull (OtClass_ARGS)
  Ruby: (static) LcConfigC LcConfigC.GetNull() C-API
Null-Slot - return a LcConfigC typed NULL instance …
 
static OT_ProcRet rblcconfig_LcConfigC_ErrorType (LcConfigC_ARGS)
  Ruby: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …
 
static OT_ProcRet rblcconfig_LcConfigC_GetDefaultFormat (LcConfigC_ARGS)
  Ruby: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_GetFloatPrecision (LcConfigC_ARGS)
  Ruby: int16 config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
static OT_ProcRet rblcconfig_LcConfigC_GetIncludeDir (LcConfigC_ARGS)
  Ruby: string config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_GetOption (LcConfigC_ARGS)
  Ruby: bool config.GetOption(option:LcConfigOptionsEF) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_GetOptions (LcConfigC_ARGS)
  Ruby: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_GetTabWidth (LcConfigC_ARGS)
  Ruby: int16 config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_Lookup (LcConfigC_ARGS)
  Ruby: LcSettingC config.Lookup(path:string) C-API
This function locates the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_LookupBool (LcConfigC_ARGS)
  Ruby: bool config.LookupBool(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS)
  Ruby: double config.LookupFloat(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_LookupInt (LcConfigC_ARGS)
  Ruby: int32 config.LookupInt(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS)
  Ruby: int64 config.LookupInt64(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_LookupString (LcConfigC_ARGS)
  Ruby: string config.LookupString(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_RootSetting (LcConfigC_ARGS)
  Ruby: LcSettingC config.RootSetting() C-API
This function, which is implemented as a macro, returns the root setting for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_Clear (LcConfigC_ARGS)
  Ruby: config.Clear() C-API
Since v1.7 This function clears the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_Log (LcConfigC_ARGS)
  Ruby: cfg.Log(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?) C-API
log the config
 
static OT_ProcRet rblcconfig_LcConfigC_ReadFile (LcConfigC_ARGS)
  Ruby: config.ReadFile(filename:string) C-API
This function reads and parses a configuration from the file named filename into the configuration object config
 
static OT_ProcRet rblcconfig_LcConfigC_ReadString (LcConfigC_ARGS)
  Ruby: config.ReadString(str:string) C-API
This function reads and parses a configuration from the string str into the configuration object config
 
static OT_ProcRet rblcconfig_LcConfigC_WriteFile (LcConfigC_ARGS)
  Ruby: config.WriteFile(filename:string) C-API
This function writes the configuration config to the file named filename
 
static OT_ProcRet rblcconfig_LcConfigC_WriteString (LcConfigC_ARGS)
  Ruby: string cfg.WriteString() C-API
read the entire configuration cfg into the string val_out
 
static OT_ProcRet rblcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS)
  Ruby: config.SetDefaultFormat(format:LcConfigFormatE) C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS)
  Ruby: config.SetFloatPrecision(digits:int16) C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
static OT_ProcRet rblcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS)
  Ruby: config.SetIncludeDir(include_dir:string) C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS)
  Ruby: cfg.SetIncludeFunc(?fConfigIncludeData:LC_CBP=nil?) C-API
set the __parser__(callback-name) for the include-config-file
 
static OT_ProcRet rblcconfig_LcConfigC_SetOption (LcConfigC_ARGS)
  Ruby: config.SetOption(option:LcConfigOptionsEF, flag:bool) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_SetOptions (LcConfigC_ARGS)
  Ruby: config.SetOptions(options:LcConfigOptionsEF) C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS)
  Ruby: cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=nil?) C-API
set the callback-name for the setting-delete
 
static OT_ProcRet rblcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS)
  Ruby: config.SetTabWidth(width:int16) C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
static OT_ProcRet rblcconfig_LcConfigC_Create (OtClass_ARGS)
  Ruby: (constructor,static) LcConfigC LcConfigC.Create() C-API
create a LcConfigC instance …
 
static OT_ProcRet rblcconfig_LcConfigC_new (CONSTR_ARGS)
  Ruby: (constructor,static) LcConfigC LcConfigC.new() C-API
create a LcConfigC instance …
 
void rblcconfig_LcConfigC_Init (MK_RT mkrt)
 

Variables

OT_CLS_T OT_CLASS
 
static MK_TYP LcConfigCTT = NULL
 
OT_OBJ_T rblcconfig_LcConfigC_MK_NULL = 0
 
static rb_data_type_t rblcconfig_LcConfigC_T
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcConfigC_rb.c.

Macro Definition Documentation

◆ Clear_doc

#define Clear_doc   "config.Clear()"

Definition at line 122 of file LcConfigC_rb.c.

◆ Create_doc

#define Create_doc   "LcConfigC LcConfigC.Create()"

Definition at line 107 of file LcConfigC_rb.c.

◆ ErrorType_doc

#define ErrorType_doc   "LcErrorTypeE config.ErrorType() (const)"

Definition at line 123 of file LcConfigC_rb.c.

◆ GetDefaultFormat_doc

#define GetDefaultFormat_doc   "LcConfigFormatE config.GetDefaultFormat() (const)"

Definition at line 124 of file LcConfigC_rb.c.

◆ GetFloatPrecision_doc

#define GetFloatPrecision_doc   "int16 config.GetFloatPrecision() (const)"

Definition at line 125 of file LcConfigC_rb.c.

◆ GetIncludeDir_doc

#define GetIncludeDir_doc   "string config.GetIncludeDir() (const)"

Definition at line 126 of file LcConfigC_rb.c.

◆ GetNull_doc

#define GetNull_doc   "LcConfigC LcConfigC.GetNull()"

Definition at line 111 of file LcConfigC_rb.c.

◆ GetOption_doc

#define GetOption_doc   "bool config.GetOption(option:LcConfigOptionsEF) (const)"

Definition at line 127 of file LcConfigC_rb.c.

◆ GetOptions_doc

#define GetOptions_doc   "LcConfigOptionsEF config.GetOptions() (const)"

Definition at line 128 of file LcConfigC_rb.c.

◆ GetTabWidth_doc

#define GetTabWidth_doc   "int16 config.GetTabWidth() (const)"

Definition at line 129 of file LcConfigC_rb.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "LcConfigC LcConfigC.HandleResolve(netHdl:MK_HDL)"

Definition at line 112 of file LcConfigC_rb.c.

◆ Instances_doc

#define Instances_doc   "LcConfigC LcConfigC.Instances()"

Definition at line 113 of file LcConfigC_rb.c.

◆ Log_doc

#define Log_doc   "cfg.Log(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"

Definition at line 131 of file LcConfigC_rb.c.

◆ Lookup_doc

#define Lookup_doc   "LcSettingC config.Lookup(path:string) (const)"

Definition at line 116 of file LcConfigC_rb.c.

◆ LookupBool_doc

#define LookupBool_doc   "bool config.LookupBool(path:string) (const)"

Definition at line 145 of file LcConfigC_rb.c.

◆ LookupFloat_doc

#define LookupFloat_doc   "double config.LookupFloat(path:string) (const)"

Definition at line 146 of file LcConfigC_rb.c.

◆ LookupInt64_doc

#define LookupInt64_doc   "int64 config.LookupInt64(path:string) (const)"

Definition at line 148 of file LcConfigC_rb.c.

◆ LookupInt_doc

#define LookupInt_doc   "int32 config.LookupInt(path:string) (const)"

Definition at line 147 of file LcConfigC_rb.c.

◆ LookupString_doc

#define LookupString_doc   "string config.LookupString(path:string) (const)"

Definition at line 149 of file LcConfigC_rb.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "LcConfigC_rb.c"

Definition at line 10 of file LcConfigC_rb.c.

◆ new_doc

#define new_doc   "LcConfigC LcConfigC.new()"

Definition at line 108 of file LcConfigC_rb.c.

◆ Next_doc

#define Next_doc   "LcConfigC cfg.Next()"

Definition at line 117 of file LcConfigC_rb.c.

◆ OT_CLASS

#define OT_CLASS   NS(LcConfigC)

Definition at line 14 of file LcConfigC_rb.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "LcConfigC"

Definition at line 15 of file LcConfigC_rb.c.

◆ OT_LNG2META

#define OT_LNG2META ( O)
Value:
#define VAL2MNG(val)
static LC_CFG LcCfg(MK_MNG mng)
cast a unknown-object into an LcConfigS pointer or NULL if not possible

Definition at line 17 of file LcConfigC_rb.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(LcConfigC);

Definition at line 87 of file LcConfigC_rb.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   OT_SETUP_hdl_tmpl__null_allow(LcConfigC);

Definition at line 88 of file LcConfigC_rb.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr
Value:
OT_OBJ_T clazz = self; \
#define OT_OBJ_T
#define LcConfigC_type
same as LcConfigS but useable in a class-macro as: class##_type …
#define MkERROR
#define AllRtSetup_NULL

Definition at line 89 of file LcConfigC_rb.c.

89#define OT_SETUP_hdl_constr AllRtSetup_NULL; \
90 OT_OBJ_T clazz = self; \
91 LcConfigC_type hdl = (LcConfigC_type) &MkERROR;

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(LcConfigC);

Definition at line 92 of file LcConfigC_rb.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
__attribute__((unused)) MK_TYP hdl = LcConfigC##_TT;

Definition at line 93 of file LcConfigC_rb.c.

93#define OT_SETUP_hdl_static AllRtSetup_NULL; \
94 __attribute__((unused)) MK_TYP hdl = LcConfigC##_TT;

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 95 of file LcConfigC_rb.c.

◆ Prev_doc

#define Prev_doc   "LcConfigC cfg.Prev()"

Definition at line 118 of file LcConfigC_rb.c.

◆ ReadFile_doc

#define ReadFile_doc   "config.ReadFile(filename:string)"

Definition at line 132 of file LcConfigC_rb.c.

◆ ReadString_doc

#define ReadString_doc   "config.ReadString(str:string)"

Definition at line 133 of file LcConfigC_rb.c.

◆ RootSetting_doc

#define RootSetting_doc   "LcSettingC config.RootSetting() (const)"

Definition at line 119 of file LcConfigC_rb.c.

◆ S_INIT

#define S_INIT   NS(sInit)(MK_RT_CALL_ONLY)

Definition at line 69 of file LcConfigC_rb.c.

◆ SetDefaultFormat_doc

#define SetDefaultFormat_doc   "config.SetDefaultFormat(format:LcConfigFormatE)"

Definition at line 134 of file LcConfigC_rb.c.

◆ SetFloatPrecision_doc

#define SetFloatPrecision_doc   "config.SetFloatPrecision(digits:int16)"

Definition at line 135 of file LcConfigC_rb.c.

◆ SetIncludeDir_doc

#define SetIncludeDir_doc   "config.SetIncludeDir(include_dir:string)"

Definition at line 136 of file LcConfigC_rb.c.

◆ SetIncludeFunc_doc

#define SetIncludeFunc_doc   "cfg.SetIncludeFunc(?fConfigIncludeData:LC_CBP=nil?)"

Definition at line 137 of file LcConfigC_rb.c.

◆ SetOption_doc

#define SetOption_doc   "config.SetOption(option:LcConfigOptionsEF, flag:bool)"

Definition at line 138 of file LcConfigC_rb.c.

◆ SetOptions_doc

#define SetOptions_doc   "config.SetOptions(options:LcConfigOptionsEF)"

Definition at line 139 of file LcConfigC_rb.c.

◆ SetSettingDeleteFunc_doc

#define SetSettingDeleteFunc_doc   "cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=nil?)"

Definition at line 140 of file LcConfigC_rb.c.

◆ SetTabWidth_doc

#define SetTabWidth_doc   "config.SetTabWidth(width:int16)"

Definition at line 141 of file LcConfigC_rb.c.

◆ SetupRtFromObj_X

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

Definition at line 98 of file LcConfigC_rb.c.

◆ SetupRtFromObj_XN

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

Definition at line 99 of file LcConfigC_rb.c.

◆ WriteFile_doc

#define WriteFile_doc   "config.WriteFile(filename:string)"

Definition at line 142 of file LcConfigC_rb.c.

◆ WriteString_doc

#define WriteString_doc   "string cfg.WriteString() (const)"

Definition at line 150 of file LcConfigC_rb.c.

Function Documentation

◆ rblcconfig_LcConfigC_Init()

void rblcconfig_LcConfigC_Init ( MK_RT mkrt)

Definition at line 717 of file LcConfigC_rb.c.

717 {
718
719 // init type
721 S_INIT;
722
723// BEGIN-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
724
725// doc-key: LcConfigC,LcConfig,sCc
726OT_METH_S ( LcConfigC, Create, LcConfigC_Create )
727OT_METH_C ( LcConfigC, new, LcConfigC_new )
728
729// doc-key: LcConfigC,LcConfig,sc_
730OT_METH_O ( LcConfigC, GetNull, LcConfigC_GetNull )
731OT_METH_S ( LcConfigC, GetNull, LcConfigC_GetNull )
732OT_METH_O ( LcConfigC, HandleResolve, LcConfigC_HandleResolve )
733OT_METH_S ( LcConfigC, HandleResolve, LcConfigC_HandleResolve )
734OT_METH_O ( LcConfigC, Instances, LcConfigC_Instances )
735OT_METH_S ( LcConfigC, Instances, LcConfigC_Instances )
736
737// END-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
738
739// BEGIN-OBJ - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
740
741// doc-key: LcConfigC,LcConfig,oc_
742OT_METH_O ( LcConfigC, Lookup, LcConfigC_Lookup )
743OT_METH_O ( LcConfigC, Next, LcConfigC_Next )
744OT_METH_O ( LcConfigC, Prev, LcConfigC_Prev )
745OT_METH_O ( LcConfigC, RootSetting, LcConfigC_RootSetting )
746
747// doc-key: LcConfigC,LcConfig,om_
748OT_METH_O ( LcConfigC, Clear, LcConfigC_Clear )
749OT_METH_O ( LcConfigC, ErrorType, LcConfigC_ErrorType )
750OT_METH_O ( LcConfigC, GetDefaultFormat, LcConfigC_GetDefaultFormat )
751OT_METH_O ( LcConfigC, GetFloatPrecision, LcConfigC_GetFloatPrecision )
752OT_METH_O ( LcConfigC, GetIncludeDir, LcConfigC_GetIncludeDir )
753OT_METH_O ( LcConfigC, GetOption, LcConfigC_GetOption )
754OT_METH_O ( LcConfigC, GetOptions, LcConfigC_GetOptions )
755OT_METH_O ( LcConfigC, GetTabWidth, LcConfigC_GetTabWidth )
756// skip class-overload: LcConfigHandleGet → HandleGet, LcConfigC_HandleGet
757OT_METH_O ( LcConfigC, Log, LcConfigC_Log )
758OT_METH_O ( LcConfigC, ReadFile, LcConfigC_ReadFile )
759OT_METH_O ( LcConfigC, ReadString, LcConfigC_ReadString )
760OT_METH_O ( LcConfigC, SetDefaultFormat, LcConfigC_SetDefaultFormat )
761OT_METH_O ( LcConfigC, SetFloatPrecision, LcConfigC_SetFloatPrecision )
762OT_METH_O ( LcConfigC, SetIncludeDir, LcConfigC_SetIncludeDir )
763OT_METH_O ( LcConfigC, SetIncludeFunc, LcConfigC_SetIncludeFunc )
764OT_METH_O ( LcConfigC, SetOption, LcConfigC_SetOption )
765OT_METH_O ( LcConfigC, SetOptions, LcConfigC_SetOptions )
766OT_METH_O ( LcConfigC, SetSettingDeleteFunc, LcConfigC_SetSettingDeleteFunc )
767OT_METH_O ( LcConfigC, SetTabWidth, LcConfigC_SetTabWidth )
768OT_METH_O ( LcConfigC, WriteFile, LcConfigC_WriteFile )
769
770// doc-key: LcConfigC,LcConfig,omo
771OT_METH_O ( LcConfigC, LookupBool, LcConfigC_LookupBool )
772OT_METH_O ( LcConfigC, LookupFloat, LcConfigC_LookupFloat )
773OT_METH_O ( LcConfigC, LookupInt, LcConfigC_LookupInt )
774OT_METH_O ( LcConfigC, LookupInt64, LcConfigC_LookupInt64 )
775OT_METH_O ( LcConfigC, LookupString, LcConfigC_LookupString )
776OT_METH_O ( LcConfigC, WriteString, LcConfigC_WriteString )
777
778// END-OBJ - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
779
780}
static MK_TYP LcConfigCTT
#define S_INIT
#define OT_METH_S(c, s, f)
#define OT_METH_O(c, s, f)
#define OT_METH_C(c, s, f)
__thread MK_TYP LcConfigC_TT
class as MkTypeDefS-class-type …

◆ rblcconfig_LcConfigC_selfCreate()

static MK_PTR rblcconfig_LcConfigC_selfCreate ( MK_RT mkrt,
MK_OBJ obj,
MK_PTR envP )
static

Definition at line 55 of file LcConfigC_rb.c.

55 {
56 OT_OBJ_T self = NS(LNG_CONSTR) (OT_CLASS, obj, 0, NULL);
57 return VAL2PTR(self);
58}
#define OT_CLASS
#define NS(n)
#define VAL2PTR(val)

◆ rblcconfig_LcConfigC_selfDelete()

static void rblcconfig_LcConfigC_selfDelete ( MK_RT mkrt,
MK_PTR ptr,
MK_PTR envP )
static

Definition at line 60 of file LcConfigC_rb.c.

60 {
62}
#define PTR2VAL(nat)
#define OT_OBJECT_DELETE_HARD(obj)

◆ rblcconfig_LcConfigC_selfUnlink()

static void rblcconfig_LcConfigC_selfUnlink ( MK_RT mkrt,
MK_PTR ptr,
MK_PTR envP )
static

Definition at line 64 of file LcConfigC_rb.c.

64 {
65 OT_OBJ_T self = PTR2VAL(ptr);
66 RDATA(self)->data = NULL;
67}

◆ rblcconfig_LNG_CONSTR()

static OT_OBJ_T rblcconfig_LNG_CONSTR ( OT_CLS_T clazz,
MK_MNG mng,
int objc,
VALUE * objv )
inlinestatic

Definition at line 46 of file LcConfigC_rb.c.

46 {
47 return MK(AtomObjCrt)(clazz,&NS(LcConfigC_T),mng,objc,objv);
48}
#define MK(n)
#define LcConfigC_T
class as MkTypeDefS-class-type (cast from LcConfigC_TT into MkTypeS) …

◆ rblcconfig_sInit()

static void rblcconfig_sInit ( MK_RT mkrt)
static

Definition at line 70 of file LcConfigC_rb.c.

70 {
71
72 // add "selfCreate" and "selfDelete" feature to the MQ-LcConfigC-Type
73 LcConfigCTT->selfCreate = NS(LcConfigC_selfCreate);
74 LcConfigCTT->selfDelete = NS(LcConfigC_selfDelete);
75 LcConfigCTT->selfUnlink = NS(LcConfigC_selfUnlink);
76
77 // create the RUBY class
78 OT_CLASS = rb_define_class_under(OT_PKG, "LcConfigC", MK_BASE_CLASS);
79 rb_undef_alloc_func(OT_CLASS);
80
81 /* define the "NULL" object */
82 VALUE nullO = TypedData_Wrap_Struct (OT_CLASS, &NS(LcConfigC_T), MK_NULL);
83 NS(LcConfigC_MK_NULL) = nullO;
85}
#define LcConfigC_MK_NULL
#define OT_PKG
#define MK_BASE_CLASS
#define INCR_REF(valP)
#define MK_NULL
MkSelfUnlinkF selfUnlink
MkSelfDeleteF selfDelete
MkSelfCreateF selfCreate

◆ rblcconfig_sMark()

void rblcconfig_sMark ( MK_PTR ptr)
static

Definition at line 714 of file LcConfigC_rb.c.

714 {
715}

Variable Documentation

◆ LcConfigCTT

MK_TYP LcConfigCTT = NULL
static

Definition at line 22 of file LcConfigC_rb.c.

◆ OT_CLASS

OT_CLS_T OT_CLASS

Definition at line 19 of file LcConfigC_rb.c.

◆ rblcconfig_LcConfigC_MK_NULL

OT_OBJ_T rblcconfig_LcConfigC_MK_NULL = 0

Definition at line 23 of file LcConfigC_rb.c.

◆ rblcconfig_LcConfigC_T

rb_data_type_t rblcconfig_LcConfigC_T
static
Initial value:
= {
"LcConfigC",
{
0,
0,
},
NULL,
NULL,
RUBY_TYPED_FREE_IMMEDIATELY
}
static void rblcconfig_sMark(MK_PTR)
static void rbmkkernel_AtomDeleteSoft(MK_MNG)

Definition at line 29 of file LcConfigC_rb.c.

29 {
30 "LcConfigC",
31 {
32 NS(sMark),
33 MK(AtomDeleteSoft),
34 0, /* dsize */
35 0, /* reserved[1] */
36 },
37 NULL, /* parent */
38 NULL, /* data */
39 RUBY_TYPED_FREE_IMMEDIATELY
40};