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

tag: nhi1-release-250425 More...

+ Include dependency graph for LcSettingC_rb.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LcSettingC_rb.c"
 
#define OT_CLASS   NS(LcSettingC)
 
#define OT_CLASS_NAME   "LcSettingC"
 
#define OT_LNG2META(O)
 
#define S_INIT   NS(sInit)(MK_RT_CALL_ONLY)
 
#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(LcSettingC);
 
#define OT_SETUP_hdl__null_allow   OT_SETUP_hdl_tmpl__null_allow(LcSettingC);
 
#define OT_SETUP_hdl_constr
 
#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(LcSettingC);
 
#define OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define SetupRtFromObj_X(hdl)
 
#define SetupRtFromObj_XN(hdl)
 
#define GetNull_doc   "LcSettingC LcSettingC.GetNull()"
 
#define HandleResolve_doc   "LcSettingC LcSettingC.HandleResolve(netHdl:MK_HDL)"
 
#define Instances_doc   "LcSettingC LcSettingC.Instances()"
 
#define Add_doc   "LcSettingC parent.Add(name:string, __type:LcConfigTypeE)"
 
#define AddIfNotExists_doc   "LcSettingC setting.AddIfNotExists(name:string, cfgtype:LcConfigTypeE)"
 
#define GetConfig_doc   "LcConfigC setting.GetConfig() (const)"
 
#define GetElem_doc   "LcSettingC setting.GetElem(idx:int32) (const)"
 
#define GetMember_doc   "LcSettingC setting.GetMember(name:string) (const)"
 
#define Lookup_doc   "LcSettingC setting.Lookup(path:string)"
 
#define LookupAll_doc   "MkBufferListC setting.LookupAll() (const)"
 
#define Next_doc   "LcSettingC cfs.Next()"
 
#define Parent_doc   "LcSettingC setting.Parent() (const)"
 
#define Prev_doc   "LcSettingC cfs.Prev()"
 
#define SetBoolElem_doc   "LcSettingC setting.SetBoolElem(idx:int32, value:int32)"
 
#define SetFloatElem_doc   "LcSettingC setting.SetFloatElem(idx:int32, value:double)"
 
#define SetInt64Elem_doc   "LcSettingC setting.SetInt64Elem(idx:int32, value:int64)"
 
#define SetIntElem_doc   "LcSettingC setting.SetIntElem(idx:int32, value:int32)"
 
#define SetStringElem_doc   "LcSettingC setting.SetStringElem(idx:int32, value:string)"
 
#define Exists_doc   "bool setting.Exists(name:string)"
 
#define GetBool_doc   "bool setting.GetBool() (const)"
 
#define GetBoolElem_doc   "bool setting.GetBoolElem(idx:int32) (const)"
 
#define GetFloat_doc   "double setting.GetFloat() (const)"
 
#define GetFloatElem_doc   "double setting.GetFloatElem(idx:int32) (const)"
 
#define GetFormat_doc   "LcConfigFormatE setting.GetFormat() (const)"
 
#define GetInt_doc   "int32 setting.GetInt() (const)"
 
#define GetInt64_doc   "int64 setting.GetInt64() (const)"
 
#define GetInt64Elem_doc   "int64 setting.GetInt64Elem(idx:int32) (const)"
 
#define GetIntElem_doc   "int32 setting.GetIntElem(idx:int32) (const)"
 
#define GetString_doc   "string setting.GetString() (const)"
 
#define GetStringElem_doc   "string setting.GetStringElem(idx:int32) (const)"
 
#define Index_doc   "int32 setting.Index() (const)"
 
#define IsAggregate_doc   "bool setting.IsAggregate() (const)"
 
#define IsArray_doc   "bool setting.IsArray() (const)"
 
#define IsGroup_doc   "bool setting.IsGroup() (const)"
 
#define IsList_doc   "bool setting.IsList() (const)"
 
#define IsNumber_doc   "bool setting.IsNumber() (const)"
 
#define IsRoot_doc   "bool setting.IsRoot() (const)"
 
#define IsScalar_doc   "bool setting.IsScalar() (const)"
 
#define Length_doc   "int32 setting.Length() (const)"
 
#define Name_doc   "string setting.Name() (const)"
 
#define Remove_doc   "parent.Remove(name:string)"
 
#define RemoveElem_doc   "parent.RemoveElem(idx:int32)"
 
#define SetBool_doc   "setting.SetBool(value:bool)"
 
#define SetFloat_doc   "setting.SetFloat(value:double)"
 
#define SetFormat_doc   "setting.SetFormat(format:LcConfigFormatE)"
 
#define SetInt_doc   "setting.SetInt(value:int32)"
 
#define SetInt64_doc   "setting.SetInt64(value:int64)"
 
#define SetString_doc   "setting.SetString(value:string)"
 
#define SourceFile_doc   "string setting.SourceFile() (const)"
 
#define SourceLine_doc   "int32 setting.SourceLine() (const)"
 
#define Type_doc   "LcConfigTypeE setting.Type() (const)"
 
#define LookupBool_doc   "bool setting.LookupBool(name:string) (const)"
 
#define LookupFloat_doc   "double setting.LookupFloat(name:string) (const)"
 
#define LookupInt_doc   "int32 setting.LookupInt(name:string) (const)"
 
#define LookupInt64_doc   "int64 setting.LookupInt64(name:string) (const)"
 
#define LookupString_doc   "string setting.LookupString(name:string) (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_LcSettingC_selfCreate (MK_RT mkrt, MK_OBJ obj, MK_PTR envP)
 
static void rblcconfig_LcSettingC_selfDelete (MK_RT mkrt, MK_PTR ptr, MK_PTR envP)
 
static void rblcconfig_LcSettingC_selfUnlink (MK_RT mkrt, MK_PTR ptr, MK_PTR envP)
 
static void rblcconfig_sInit (MK_RT mkrt)
 
static OT_ProcRet rblcconfig_LcSettingC_HandleResolve (OtClass_ARGS)
  Ruby: (static) LcSettingC LcSettingC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a LcSettingC from netHdl or nil if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rblcconfig_LcSettingC_HandleGet (LcSettingC_ARGS)
 
static OT_ProcRet rblcconfig_LcSettingC_Next (LcSettingC_ARGS)
  Ruby: LcSettingC cfs.Next() C-API
get next instance from linked-list of LcSettingS type
 
static OT_ProcRet rblcconfig_LcSettingC_Prev (LcSettingC_ARGS)
  Ruby: LcSettingC cfs.Prev() C-API
get previous instance from linked-list of LcSettingS type
 
static OT_ProcRet rblcconfig_LcSettingC_Instances (OtClass_ARGS)
  Ruby: (static) LcSettingC LcSettingC.Instances() C-API
get head-instance from linked-list of LcSettingS type …
 
static OT_ProcRet rblcconfig_LcSettingC_GetNull (OtClass_ARGS)
  Ruby: (static) LcSettingC LcSettingC.GetNull() C-API
Null-Slot - return a LcSettingC typed NULL instance …
 
static OT_ProcRet rblcconfig_LcSettingC_GetElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.GetElem(idx:int32) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
static OT_ProcRet rblcconfig_LcSettingC_GetMember (LcSettingC_ARGS)
  Ruby: LcSettingC setting.GetMember(name:string) C-API
This function fetches the child setting named name from the group setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetBool (LcSettingC_ARGS)
  Ruby: bool setting.GetBool() C-API
These functions return the value of the given setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetBoolElem (LcSettingC_ARGS)
  Ruby: bool setting.GetBoolElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetFloat (LcSettingC_ARGS)
  Ruby: double setting.GetFloat() C-API
These functions return the value of the given setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetFloatElem (LcSettingC_ARGS)
  Ruby: double setting.GetFloatElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetFormat (LcSettingC_ARGS)
  Ruby: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetInt (LcSettingC_ARGS)
  Ruby: int32 setting.GetInt() C-API
These functions return the value of the given setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetInt64 (LcSettingC_ARGS)
  Ruby: int64 setting.GetInt64() C-API
These functions return the value of the given setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetInt64Elem (LcSettingC_ARGS)
  Ruby: int64 setting.GetInt64Elem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetIntElem (LcSettingC_ARGS)
  Ruby: int32 setting.GetIntElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetString (LcSettingC_ARGS)
  Ruby: string setting.GetString() C-API
These functions return the value of the given setting
 
static OT_ProcRet rblcconfig_LcSettingC_GetStringElem (LcSettingC_ARGS)
  Ruby: string setting.GetStringElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_IsAggregate (LcSettingC_ARGS)
  Ruby: bool setting.IsAggregate() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
static OT_ProcRet rblcconfig_LcSettingC_IsArray (LcSettingC_ARGS)
  Ruby: bool setting.IsArray() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet rblcconfig_LcSettingC_IsGroup (LcSettingC_ARGS)
  Ruby: bool setting.IsGroup() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet rblcconfig_LcSettingC_IsList (LcSettingC_ARGS)
  Ruby: bool setting.IsList() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet rblcconfig_LcSettingC_IsNumber (LcSettingC_ARGS)
  Ruby: bool setting.IsNumber() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
static OT_ProcRet rblcconfig_LcSettingC_IsRoot (LcSettingC_ARGS)
  Ruby: bool setting.IsRoot() C-API
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise …
 
static OT_ProcRet rblcconfig_LcSettingC_IsScalar (LcSettingC_ARGS)
  Ruby: bool setting.IsScalar() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
static OT_ProcRet rblcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Ruby: LcSettingC setting.Lookup(path:string) C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Ruby: MkBufferListC setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet rblcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Ruby: bool setting.LookupBool(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Ruby: double setting.LookupFloat(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Ruby: int32 setting.LookupInt(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Ruby: int64 setting.LookupInt64(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Ruby: string setting.LookupString(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_AddIfNotExists (LcSettingC_ARGS)
  Ruby: LcSettingC setting.AddIfNotExists(name:string, cfgtype:LcConfigTypeE) C-API
addon - add name with type only if not exists in the setting
 
static OT_ProcRet rblcconfig_LcSettingC_Parent (LcSettingC_ARGS)
  Ruby: LcSettingC setting.Parent() C-API
This function returns the parent setting of the given setting, or NULL if setting is the root setting …
 
static OT_ProcRet rblcconfig_LcSettingC_Exists (LcSettingC_ARGS)
  Ruby: bool setting.Exists(name:string) C-API
addon - return true if name exists in the setting otherwise false
 
static OT_ProcRet rblcconfig_LcSettingC_Index (LcSettingC_ARGS)
  Ruby: int32 setting.Index() C-API
This function returns the index of the given setting within its parent setting …
 
static OT_ProcRet rblcconfig_LcSettingC_Length (LcSettingC_ARGS)
  Ruby: int32 setting.Length() C-API
This function returns the number of settings in a group, or the number of elements in a list or array …
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rblcconfig_LcSettingC_Log (LcSettingC_ARGS)
 
static OT_ProcRet rblcconfig_LcSettingC_Name (LcSettingC_ARGS)
  Ruby: string setting.Name() C-API
This function returns the name of the given setting, or NULL if the setting has no name …
 
static OT_ProcRet rblcconfig_LcSettingC_Remove (LcSettingC_ARGS)
  Ruby: parent.Remove(name:string) C-API
This function removes and destroys the setting named name from the parent setting parent, which must be a group …
 
static OT_ProcRet rblcconfig_LcSettingC_RemoveElem (LcSettingC_ARGS)
  Ruby: parent.RemoveElem(idx:int32) C-API
This function removes the child setting at the given index index from the setting parent, which must be a group, list, or array …
 
static OT_ProcRet rblcconfig_LcSettingC_SourceFile (LcSettingC_ARGS)
  Ruby: string setting.SourceFile() C-API
This function returns the name of the file from which the setting setting was read, or NULL if the setting was not read from a file …
 
static OT_ProcRet rblcconfig_LcSettingC_SourceLine (LcSettingC_ARGS)
  Ruby: int32 setting.SourceLine() C-API
This function returns the line number of the configuration file or stream at which the setting setting was read, or 0 if no line number is available …
 
static OT_ProcRet rblcconfig_LcSettingC_Type (LcSettingC_ARGS)
  Ruby: LcConfigTypeE setting.Type() C-API
This function returns the type of the given setting
 
static OT_ProcRet rblcconfig_LcSettingC_SetBoolElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetBoolElem(idx:int32, value:int32) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetFloatElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetFloatElem(idx:int32, value:double) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetInt64Elem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetInt64Elem(idx:int32, value:int64) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetIntElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetIntElem(idx:int32, value:int32) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetStringElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetStringElem(idx:int32, value:string) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetBool (LcSettingC_ARGS)
  Ruby: setting.SetBool(value:bool) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetFloat (LcSettingC_ARGS)
  Ruby: setting.SetFloat(value:double) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetFormat (LcSettingC_ARGS)
  Ruby: setting.SetFormat(format:LcConfigFormatE) C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_SetInt (LcSettingC_ARGS)
  Ruby: setting.SetInt(value:int32) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetInt64 (LcSettingC_ARGS)
  Ruby: setting.SetInt64(value:int64) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetString (LcSettingC_ARGS)
  Ruby: setting.SetString(value:string) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_Add (LcSettingC_ARGS)
  Ruby: (constructor) LcSettingC parent.Add(name:string, __type:LcConfigTypeE) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 
static OT_ProcRet rblcconfig_LcSettingC_GetConfig (LcSettingC_ARGS)
  Ruby: LcConfigC setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 
void rblcconfig_LcSettingC_Init (MK_RT mkrt)
 

Variables

OT_CLS_T OT_CLASS
 
static MK_TYP LcSettingCTT = NULL
 
OT_OBJ_T rblcconfig_LcSettingC_MK_NULL = 0
 
static rb_data_type_t rblcconfig_LcSettingC_T
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcSettingC_rb.c.

Macro Definition Documentation

◆ Add_doc

#define Add_doc   "LcSettingC parent.Add(name:string, __type:LcConfigTypeE)"

Definition at line 112 of file LcSettingC_rb.c.

◆ AddIfNotExists_doc

#define AddIfNotExists_doc   "LcSettingC setting.AddIfNotExists(name:string, cfgtype:LcConfigTypeE)"

Definition at line 115 of file LcSettingC_rb.c.

◆ Exists_doc

#define Exists_doc   "bool setting.Exists(name:string)"

Definition at line 131 of file LcSettingC_rb.c.

◆ GetBool_doc

#define GetBool_doc   "bool setting.GetBool() (const)"

Definition at line 132 of file LcSettingC_rb.c.

◆ GetBoolElem_doc

#define GetBoolElem_doc   "bool setting.GetBoolElem(idx:int32) (const)"

Definition at line 133 of file LcSettingC_rb.c.

◆ GetConfig_doc

#define GetConfig_doc   "LcConfigC setting.GetConfig() (const)"

Definition at line 116 of file LcSettingC_rb.c.

◆ GetElem_doc

#define GetElem_doc   "LcSettingC setting.GetElem(idx:int32) (const)"

Definition at line 117 of file LcSettingC_rb.c.

◆ GetFloat_doc

#define GetFloat_doc   "double setting.GetFloat() (const)"

Definition at line 134 of file LcSettingC_rb.c.

◆ GetFloatElem_doc

#define GetFloatElem_doc   "double setting.GetFloatElem(idx:int32) (const)"

Definition at line 135 of file LcSettingC_rb.c.

◆ GetFormat_doc

#define GetFormat_doc   "LcConfigFormatE setting.GetFormat() (const)"

Definition at line 136 of file LcSettingC_rb.c.

◆ GetInt64_doc

#define GetInt64_doc   "int64 setting.GetInt64() (const)"

Definition at line 138 of file LcSettingC_rb.c.

◆ GetInt64Elem_doc

#define GetInt64Elem_doc   "int64 setting.GetInt64Elem(idx:int32) (const)"

Definition at line 139 of file LcSettingC_rb.c.

◆ GetInt_doc

#define GetInt_doc   "int32 setting.GetInt() (const)"

Definition at line 137 of file LcSettingC_rb.c.

◆ GetIntElem_doc

#define GetIntElem_doc   "int32 setting.GetIntElem(idx:int32) (const)"

Definition at line 140 of file LcSettingC_rb.c.

◆ GetMember_doc

#define GetMember_doc   "LcSettingC setting.GetMember(name:string) (const)"

Definition at line 118 of file LcSettingC_rb.c.

◆ GetNull_doc

#define GetNull_doc   "LcSettingC LcSettingC.GetNull()"

Definition at line 107 of file LcSettingC_rb.c.

◆ GetString_doc

#define GetString_doc   "string setting.GetString() (const)"

Definition at line 141 of file LcSettingC_rb.c.

◆ GetStringElem_doc

#define GetStringElem_doc   "string setting.GetStringElem(idx:int32) (const)"

Definition at line 142 of file LcSettingC_rb.c.

◆ HandleResolve_doc

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

Definition at line 108 of file LcSettingC_rb.c.

◆ Index_doc

#define Index_doc   "int32 setting.Index() (const)"

Definition at line 144 of file LcSettingC_rb.c.

◆ Instances_doc

#define Instances_doc   "LcSettingC LcSettingC.Instances()"

Definition at line 109 of file LcSettingC_rb.c.

◆ IsAggregate_doc

#define IsAggregate_doc   "bool setting.IsAggregate() (const)"

Definition at line 145 of file LcSettingC_rb.c.

◆ IsArray_doc

#define IsArray_doc   "bool setting.IsArray() (const)"

Definition at line 146 of file LcSettingC_rb.c.

◆ IsGroup_doc

#define IsGroup_doc   "bool setting.IsGroup() (const)"

Definition at line 147 of file LcSettingC_rb.c.

◆ IsList_doc

#define IsList_doc   "bool setting.IsList() (const)"

Definition at line 148 of file LcSettingC_rb.c.

◆ IsNumber_doc

#define IsNumber_doc   "bool setting.IsNumber() (const)"

Definition at line 149 of file LcSettingC_rb.c.

◆ IsRoot_doc

#define IsRoot_doc   "bool setting.IsRoot() (const)"

Definition at line 150 of file LcSettingC_rb.c.

◆ IsScalar_doc

#define IsScalar_doc   "bool setting.IsScalar() (const)"

Definition at line 151 of file LcSettingC_rb.c.

◆ Length_doc

#define Length_doc   "int32 setting.Length() (const)"

Definition at line 152 of file LcSettingC_rb.c.

◆ Lookup_doc

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

Definition at line 119 of file LcSettingC_rb.c.

◆ LookupAll_doc

#define LookupAll_doc   "MkBufferListC setting.LookupAll() (const)"

Definition at line 120 of file LcSettingC_rb.c.

◆ LookupBool_doc

#define LookupBool_doc   "bool setting.LookupBool(name:string) (const)"

Definition at line 168 of file LcSettingC_rb.c.

◆ LookupFloat_doc

#define LookupFloat_doc   "double setting.LookupFloat(name:string) (const)"

Definition at line 169 of file LcSettingC_rb.c.

◆ LookupInt64_doc

#define LookupInt64_doc   "int64 setting.LookupInt64(name:string) (const)"

Definition at line 171 of file LcSettingC_rb.c.

◆ LookupInt_doc

#define LookupInt_doc   "int32 setting.LookupInt(name:string) (const)"

Definition at line 170 of file LcSettingC_rb.c.

◆ LookupString_doc

#define LookupString_doc   "string setting.LookupString(name:string) (const)"

Definition at line 172 of file LcSettingC_rb.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "LcSettingC_rb.c"

Definition at line 10 of file LcSettingC_rb.c.

◆ Name_doc

#define Name_doc   "string setting.Name() (const)"

Definition at line 154 of file LcSettingC_rb.c.

◆ Next_doc

#define Next_doc   "LcSettingC cfs.Next()"

Definition at line 121 of file LcSettingC_rb.c.

◆ OT_CLASS

#define OT_CLASS   NS(LcSettingC)

Definition at line 14 of file LcSettingC_rb.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "LcSettingC"

Definition at line 15 of file LcSettingC_rb.c.

◆ OT_LNG2META

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

Definition at line 17 of file LcSettingC_rb.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(LcSettingC);

Definition at line 87 of file LcSettingC_rb.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   OT_SETUP_hdl_tmpl__null_allow(LcSettingC);

Definition at line 88 of file LcSettingC_rb.c.

◆ OT_SETUP_hdl_constr

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

Definition at line 89 of file LcSettingC_rb.c.

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

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(LcSettingC);

Definition at line 92 of file LcSettingC_rb.c.

◆ OT_SETUP_hdl_static

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

Definition at line 93 of file LcSettingC_rb.c.

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

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 95 of file LcSettingC_rb.c.

◆ Parent_doc

#define Parent_doc   "LcSettingC setting.Parent() (const)"

Definition at line 122 of file LcSettingC_rb.c.

◆ Prev_doc

#define Prev_doc   "LcSettingC cfs.Prev()"

Definition at line 123 of file LcSettingC_rb.c.

◆ Remove_doc

#define Remove_doc   "parent.Remove(name:string)"

Definition at line 155 of file LcSettingC_rb.c.

◆ RemoveElem_doc

#define RemoveElem_doc   "parent.RemoveElem(idx:int32)"

Definition at line 156 of file LcSettingC_rb.c.

◆ S_INIT

#define S_INIT   NS(sInit)(MK_RT_CALL_ONLY)

Definition at line 69 of file LcSettingC_rb.c.

◆ SetBool_doc

#define SetBool_doc   "setting.SetBool(value:bool)"

Definition at line 157 of file LcSettingC_rb.c.

◆ SetBoolElem_doc

#define SetBoolElem_doc   "LcSettingC setting.SetBoolElem(idx:int32, value:int32)"

Definition at line 124 of file LcSettingC_rb.c.

◆ SetFloat_doc

#define SetFloat_doc   "setting.SetFloat(value:double)"

Definition at line 158 of file LcSettingC_rb.c.

◆ SetFloatElem_doc

#define SetFloatElem_doc   "LcSettingC setting.SetFloatElem(idx:int32, value:double)"

Definition at line 125 of file LcSettingC_rb.c.

◆ SetFormat_doc

#define SetFormat_doc   "setting.SetFormat(format:LcConfigFormatE)"

Definition at line 159 of file LcSettingC_rb.c.

◆ SetInt64_doc

#define SetInt64_doc   "setting.SetInt64(value:int64)"

Definition at line 161 of file LcSettingC_rb.c.

◆ SetInt64Elem_doc

#define SetInt64Elem_doc   "LcSettingC setting.SetInt64Elem(idx:int32, value:int64)"

Definition at line 126 of file LcSettingC_rb.c.

◆ SetInt_doc

#define SetInt_doc   "setting.SetInt(value:int32)"

Definition at line 160 of file LcSettingC_rb.c.

◆ SetIntElem_doc

#define SetIntElem_doc   "LcSettingC setting.SetIntElem(idx:int32, value:int32)"

Definition at line 127 of file LcSettingC_rb.c.

◆ SetString_doc

#define SetString_doc   "setting.SetString(value:string)"

Definition at line 162 of file LcSettingC_rb.c.

◆ SetStringElem_doc

#define SetStringElem_doc   "LcSettingC setting.SetStringElem(idx:int32, value:string)"

Definition at line 128 of file LcSettingC_rb.c.

◆ SetupRtFromObj_X

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

Definition at line 98 of file LcSettingC_rb.c.

◆ SetupRtFromObj_XN

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

Definition at line 99 of file LcSettingC_rb.c.

◆ SourceFile_doc

#define SourceFile_doc   "string setting.SourceFile() (const)"

Definition at line 163 of file LcSettingC_rb.c.

◆ SourceLine_doc

#define SourceLine_doc   "int32 setting.SourceLine() (const)"

Definition at line 164 of file LcSettingC_rb.c.

◆ Type_doc

#define Type_doc   "LcConfigTypeE setting.Type() (const)"

Definition at line 165 of file LcSettingC_rb.c.

Function Documentation

◆ rblcconfig_LcSettingC_Init()

void rblcconfig_LcSettingC_Init ( MK_RT mkrt)

Definition at line 998 of file LcSettingC_rb.c.

998 {
999
1000 // init type
1002 S_INIT;
1003
1004// BEGIN-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1005
1006// doc-key: LcSettingC,LcSetting,sc_
1007OT_METH_O ( LcSettingC, GetNull, LcSettingC_GetNull )
1008OT_METH_S ( LcSettingC, GetNull, LcSettingC_GetNull )
1009OT_METH_O ( LcSettingC, HandleResolve, LcSettingC_HandleResolve )
1010OT_METH_S ( LcSettingC, HandleResolve, LcSettingC_HandleResolve )
1011OT_METH_O ( LcSettingC, Instances, LcSettingC_Instances )
1012OT_METH_S ( LcSettingC, Instances, LcSettingC_Instances )
1013
1014// END-CLASS - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1015
1016// BEGIN-OBJ - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1017
1018// doc-key: LcSettingC,LcSetting,oC_
1019OT_METH_O ( LcSettingC, Add, LcSettingC_Add )
1020
1021// doc-key: LcSettingC,LcSetting,oc_
1022OT_METH_O ( LcSettingC, AddIfNotExists, LcSettingC_AddIfNotExists )
1023OT_METH_O ( LcSettingC, GetConfig, LcSettingC_GetConfig )
1024OT_METH_O ( LcSettingC, GetElem, LcSettingC_GetElem )
1025OT_METH_O ( LcSettingC, GetMember, LcSettingC_GetMember )
1026OT_METH_O ( LcSettingC, Lookup, LcSettingC_Lookup )
1027OT_METH_O ( LcSettingC, LookupAll, LcSettingC_LookupAll )
1028OT_METH_O ( LcSettingC, Next, LcSettingC_Next )
1029OT_METH_O ( LcSettingC, Parent, LcSettingC_Parent )
1030OT_METH_O ( LcSettingC, Prev, LcSettingC_Prev )
1031OT_METH_O ( LcSettingC, SetBoolElem, LcSettingC_SetBoolElem )
1032OT_METH_O ( LcSettingC, SetFloatElem, LcSettingC_SetFloatElem )
1033OT_METH_O ( LcSettingC, SetInt64Elem, LcSettingC_SetInt64Elem )
1034OT_METH_O ( LcSettingC, SetIntElem, LcSettingC_SetIntElem )
1035OT_METH_O ( LcSettingC, SetStringElem, LcSettingC_SetStringElem )
1036
1037// doc-key: LcSettingC,LcSetting,om_
1038OT_METH_O ( LcSettingC, Exists, LcSettingC_Exists )
1039OT_METH_O ( LcSettingC, GetBool, LcSettingC_GetBool )
1040OT_METH_O ( LcSettingC, GetBoolElem, LcSettingC_GetBoolElem )
1041OT_METH_O ( LcSettingC, GetFloat, LcSettingC_GetFloat )
1042OT_METH_O ( LcSettingC, GetFloatElem, LcSettingC_GetFloatElem )
1043OT_METH_O ( LcSettingC, GetFormat, LcSettingC_GetFormat )
1044OT_METH_O ( LcSettingC, GetInt, LcSettingC_GetInt )
1045OT_METH_O ( LcSettingC, GetInt64, LcSettingC_GetInt64 )
1046OT_METH_O ( LcSettingC, GetInt64Elem, LcSettingC_GetInt64Elem )
1047OT_METH_O ( LcSettingC, GetIntElem, LcSettingC_GetIntElem )
1048OT_METH_O ( LcSettingC, GetString, LcSettingC_GetString )
1049OT_METH_O ( LcSettingC, GetStringElem, LcSettingC_GetStringElem )
1050// skip class-overload: LcSettingHandleGet → HandleGet, LcSettingC_HandleGet
1051OT_METH_O ( LcSettingC, Index, LcSettingC_Index )
1052OT_METH_O ( LcSettingC, IsAggregate, LcSettingC_IsAggregate )
1053OT_METH_O ( LcSettingC, IsArray, LcSettingC_IsArray )
1054OT_METH_O ( LcSettingC, IsGroup, LcSettingC_IsGroup )
1055OT_METH_O ( LcSettingC, IsList, LcSettingC_IsList )
1056OT_METH_O ( LcSettingC, IsNumber, LcSettingC_IsNumber )
1057OT_METH_O ( LcSettingC, IsRoot, LcSettingC_IsRoot )
1058OT_METH_O ( LcSettingC, IsScalar, LcSettingC_IsScalar )
1059OT_METH_O ( LcSettingC, Length, LcSettingC_Length )
1060// skip class-overload: LcSettingLog → Log, LcSettingC_Log
1061OT_METH_O ( LcSettingC, Name, LcSettingC_Name )
1062OT_METH_O ( LcSettingC, Remove, LcSettingC_Remove )
1063OT_METH_O ( LcSettingC, RemoveElem, LcSettingC_RemoveElem )
1064OT_METH_O ( LcSettingC, SetBool, LcSettingC_SetBool )
1065OT_METH_O ( LcSettingC, SetFloat, LcSettingC_SetFloat )
1066OT_METH_O ( LcSettingC, SetFormat, LcSettingC_SetFormat )
1067OT_METH_O ( LcSettingC, SetInt, LcSettingC_SetInt )
1068OT_METH_O ( LcSettingC, SetInt64, LcSettingC_SetInt64 )
1069OT_METH_O ( LcSettingC, SetString, LcSettingC_SetString )
1070OT_METH_O ( LcSettingC, SourceFile, LcSettingC_SourceFile )
1071OT_METH_O ( LcSettingC, SourceLine, LcSettingC_SourceLine )
1072OT_METH_O ( LcSettingC, Type, LcSettingC_Type )
1073
1074// doc-key: LcSettingC,LcSetting,omo
1075OT_METH_O ( LcSettingC, LookupBool, LcSettingC_LookupBool )
1076OT_METH_O ( LcSettingC, LookupFloat, LcSettingC_LookupFloat )
1077OT_METH_O ( LcSettingC, LookupInt, LcSettingC_LookupInt )
1078OT_METH_O ( LcSettingC, LookupInt64, LcSettingC_LookupInt64 )
1079OT_METH_O ( LcSettingC, LookupString, LcSettingC_LookupString )
1080
1081// END-OBJ - created by 'rb_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1082
1083}
static MK_TYP LcSettingCTT
#define S_INIT
#define OT_METH_S(c, s, f)
#define OT_METH_O(c, s, f)
__thread MK_TYP LcSettingC_TT
class as MkTypeDefS-class-type …

◆ rblcconfig_LcSettingC_selfCreate()

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

Definition at line 55 of file LcSettingC_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_LcSettingC_selfDelete()

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

Definition at line 60 of file LcSettingC_rb.c.

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

◆ rblcconfig_LcSettingC_selfUnlink()

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

Definition at line 64 of file LcSettingC_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 LcSettingC_rb.c.

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

◆ rblcconfig_sInit()

static void rblcconfig_sInit ( MK_RT mkrt)
static

Definition at line 70 of file LcSettingC_rb.c.

70 {
71
72 // add "selfCreate" and "selfDelete" feature to the MQ-LcSettingC-Type
73 LcSettingCTT->selfCreate = NS(LcSettingC_selfCreate);
74 LcSettingCTT->selfDelete = NS(LcSettingC_selfDelete);
75 LcSettingCTT->selfUnlink = NS(LcSettingC_selfUnlink);
76
77 // create the RUBY class
78 OT_CLASS = rb_define_class_under(OT_PKG, "LcSettingC", 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(LcSettingC_T), MK_NULL);
83 NS(LcSettingC_MK_NULL) = nullO;
85}
#define OT_PKG
#define LcSettingC_MK_NULL
#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 995 of file LcSettingC_rb.c.

995 {
996}

Variable Documentation

◆ LcSettingCTT

MK_TYP LcSettingCTT = NULL
static

Definition at line 22 of file LcSettingC_rb.c.

◆ OT_CLASS

OT_CLS_T OT_CLASS

Definition at line 19 of file LcSettingC_rb.c.

◆ rblcconfig_LcSettingC_MK_NULL

OT_OBJ_T rblcconfig_LcSettingC_MK_NULL = 0

Definition at line 23 of file LcSettingC_rb.c.

◆ rblcconfig_LcSettingC_T

rb_data_type_t rblcconfig_LcSettingC_T
static
Initial value:
= {
"LcSettingC",
{
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 LcSettingC_rb.c.

29 {
30 "LcSettingC",
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};