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

tag: nhi1-release-250425 More...

+ Include dependency graph for LcSettingC_atl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LcSettingC_atl.c"
 
#define OT_CLASS   alcrt->AtlLcSettingC
 
#define OT_NULL   alcrt->AtlLcSettingC_MK_NULL
 
#define OT_CLASS_NAME   "LcSettingC"
 
#define SELF2HDL(O)
 
#define OT_SETUP_hdl   SetupHdlFromMetaData_2(LC_CFS)
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(LC_CFS)
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(LC_CFS)
 
#define OT_SETUP_hdl_constr   SetupHdlConstr(LcSettingC)
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static   SetupHdlStatic(LcSettingC)
 
#define OT_retObj_CONSTR(x)
 
#define ClassInit
 
#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 [LcSettingC::Add $parent name:string __type:LcConfigTypeE]"
 
#define AddIfNotExists_doc   "LcSettingC [LcSettingC::AddIfNotExists $setting name:string cfgtype:LcConfigTypeE]"
 
#define GetConfig_doc   "LcConfigC [LcSettingC::GetConfig $setting] (const)"
 
#define GetElem_doc   "LcSettingC [LcSettingC::GetElem $setting idx:int32] (const)"
 
#define GetMember_doc   "LcSettingC [LcSettingC::GetMember $setting name:string] (const)"
 
#define Lookup_doc   "LcSettingC [LcSettingC::Lookup $setting path:string]"
 
#define LookupAll_doc   "MkBufferListC [LcSettingC::LookupAll $setting] (const)"
 
#define Next_doc   "LcSettingC [LcSettingC::Next $cfs]"
 
#define Parent_doc   "LcSettingC [LcSettingC::Parent $setting] (const)"
 
#define Prev_doc   "LcSettingC [LcSettingC::Prev $cfs]"
 
#define SetBoolElem_doc   "LcSettingC [LcSettingC::SetBoolElem $setting idx:int32 value:int32]"
 
#define SetFloatElem_doc   "LcSettingC [LcSettingC::SetFloatElem $setting idx:int32 value:double]"
 
#define SetInt64Elem_doc   "LcSettingC [LcSettingC::SetInt64Elem $setting idx:int32 value:int64]"
 
#define SetIntElem_doc   "LcSettingC [LcSettingC::SetIntElem $setting idx:int32 value:int32]"
 
#define SetStringElem_doc   "LcSettingC [LcSettingC::SetStringElem $setting idx:int32 value:string]"
 
#define Exists_doc   "bool [LcSettingC::Exists $setting name:string]"
 
#define GetBool_doc   "bool [LcSettingC::GetBool $setting] (const)"
 
#define GetBoolElem_doc   "bool [LcSettingC::GetBoolElem $setting idx:int32] (const)"
 
#define GetFloat_doc   "double [LcSettingC::GetFloat $setting] (const)"
 
#define GetFloatElem_doc   "double [LcSettingC::GetFloatElem $setting idx:int32] (const)"
 
#define GetFormat_doc   "LcConfigFormatE [LcSettingC::GetFormat $setting] (const)"
 
#define GetInt_doc   "int32 [LcSettingC::GetInt $setting] (const)"
 
#define GetInt64_doc   "int64 [LcSettingC::GetInt64 $setting] (const)"
 
#define GetInt64Elem_doc   "int64 [LcSettingC::GetInt64Elem $setting idx:int32] (const)"
 
#define GetIntElem_doc   "int32 [LcSettingC::GetIntElem $setting idx:int32] (const)"
 
#define GetString_doc   "string [LcSettingC::GetString $setting] (const)"
 
#define GetStringElem_doc   "string [LcSettingC::GetStringElem $setting idx:int32] (const)"
 
#define Index_doc   "int32 [LcSettingC::Index $setting] (const)"
 
#define IsAggregate_doc   "bool [LcSettingC::IsAggregate $setting] (const)"
 
#define IsArray_doc   "bool [LcSettingC::IsArray $setting] (const)"
 
#define IsGroup_doc   "bool [LcSettingC::IsGroup $setting] (const)"
 
#define IsList_doc   "bool [LcSettingC::IsList $setting] (const)"
 
#define IsNumber_doc   "bool [LcSettingC::IsNumber $setting] (const)"
 
#define IsRoot_doc   "bool [LcSettingC::IsRoot $setting] (const)"
 
#define IsScalar_doc   "bool [LcSettingC::IsScalar $setting] (const)"
 
#define Length_doc   "int32 [LcSettingC::Length $setting] (const)"
 
#define Name_doc   "string [LcSettingC::Name $setting] (const)"
 
#define Remove_doc   "LcSettingC::Remove $parent name:string"
 
#define RemoveElem_doc   "LcSettingC::RemoveElem $parent idx:int32"
 
#define SetBool_doc   "LcSettingC::SetBool $setting value:bool"
 
#define SetFloat_doc   "LcSettingC::SetFloat $setting value:double"
 
#define SetFormat_doc   "LcSettingC::SetFormat $setting format:LcConfigFormatE"
 
#define SetInt_doc   "LcSettingC::SetInt $setting value:int32"
 
#define SetInt64_doc   "LcSettingC::SetInt64 $setting value:int64"
 
#define SetString_doc   "LcSettingC::SetString $setting value:string"
 
#define SourceFile_doc   "string [LcSettingC::SourceFile $setting] (const)"
 
#define SourceLine_doc   "int32 [LcSettingC::SourceLine $setting] (const)"
 
#define Type_doc   "LcConfigTypeE [LcSettingC::Type $setting] (const)"
 
#define LookupBool_doc   "bool [LcSettingC::LookupBool $setting name:string] (const)"
 
#define LookupFloat_doc   "double [LcSettingC::LookupFloat $setting name:string] (const)"
 
#define LookupInt_doc   "int32 [LcSettingC::LookupInt $setting name:string] (const)"
 
#define LookupInt64_doc   "int64 [LcSettingC::LookupInt64 $setting name:string] (const)"
 
#define LookupString_doc   "string [LcSettingC::LookupString $setting name:string] (const)"
 

Functions

static MK_PTR atllcconfig_LcSettingC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void atllcconfig_LcSettingC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void atllcconfig_LcSettingC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static OT_ProcRet atllcconfig_LcSettingC_HandleResolve (OtClass_ARGS)
  Atl: (static) LcSettingC [LcSettingC::HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a LcSettingC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atllcconfig_LcSettingC_HandleGet (LcSettingC_ARGS)
 
static OT_ProcRet atllcconfig_LcSettingC_Next (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::Next $cfs] C-API
get next instance from linked-list of LcSettingS type
 
static OT_ProcRet atllcconfig_LcSettingC_Prev (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::Prev $cfs] C-API
get previous instance from linked-list of LcSettingS type
 
static OT_ProcRet atllcconfig_LcSettingC_Instances (OtClass_ARGS)
  Atl: (static) LcSettingC [LcSettingC::Instances] C-API
get head-instance from linked-list of LcSettingS type …
 
static OT_ProcRet atllcconfig_LcSettingC_GetNull (OtClass_ARGS)
  Atl: (static) LcSettingC [LcSettingC::GetNull] C-API
Null-Slot - return a LcSettingC typed NULL instance …
 
static OT_ProcRet atllcconfig_LcSettingC_GetElem (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::GetElem $setting 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 atllcconfig_LcSettingC_GetMember (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::GetMember $setting name:string] C-API
This function fetches the child setting named name from the group setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetBool (LcSettingC_ARGS)
  Atl: bool [LcSettingC::GetBool $setting] C-API
These functions return the value of the given setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetBoolElem (LcSettingC_ARGS)
  Atl: bool [LcSettingC::GetBoolElem $setting idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetFloat (LcSettingC_ARGS)
  Atl: double [LcSettingC::GetFloat $setting] C-API
These functions return the value of the given setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetFloatElem (LcSettingC_ARGS)
  Atl: double [LcSettingC::GetFloatElem $setting idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetFormat (LcSettingC_ARGS)
  Atl: LcConfigFormatE [LcSettingC::GetFormat $setting] C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetInt (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::GetInt $setting] C-API
These functions return the value of the given setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetInt64 (LcSettingC_ARGS)
  Atl: int64 [LcSettingC::GetInt64 $setting] C-API
These functions return the value of the given setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetInt64Elem (LcSettingC_ARGS)
  Atl: int64 [LcSettingC::GetInt64Elem $setting idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetIntElem (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::GetIntElem $setting idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetString (LcSettingC_ARGS)
  Atl: string [LcSettingC::GetString $setting] C-API
These functions return the value of the given setting
 
static OT_ProcRet atllcconfig_LcSettingC_GetStringElem (LcSettingC_ARGS)
  Atl: string [LcSettingC::GetStringElem $setting idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_IsAggregate (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsAggregate $setting] 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 atllcconfig_LcSettingC_IsArray (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsArray $setting] C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet atllcconfig_LcSettingC_IsGroup (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsGroup $setting] C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet atllcconfig_LcSettingC_IsList (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsList $setting] C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet atllcconfig_LcSettingC_IsNumber (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsNumber $setting] 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 atllcconfig_LcSettingC_IsRoot (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsRoot $setting] C-API
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise …
 
static OT_ProcRet atllcconfig_LcSettingC_IsScalar (LcSettingC_ARGS)
  Atl: bool [LcSettingC::IsScalar $setting] 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 atllcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::Lookup $setting path:string] C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Atl: MkBufferListC [LcSettingC::LookupAll $setting] C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet atllcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Atl: bool [LcSettingC::LookupBool $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Atl: double [LcSettingC::LookupFloat $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::LookupInt $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Atl: int64 [LcSettingC::LookupInt64 $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Atl: string [LcSettingC::LookupString $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_AddIfNotExists (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::AddIfNotExists $setting name:string cfgtype:LcConfigTypeE] C-API
addon - add name with type only if not exists in the setting
 
static OT_ProcRet atllcconfig_LcSettingC_Parent (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::Parent $setting] C-API
This function returns the parent setting of the given setting, or NULL if setting is the root setting …
 
static OT_ProcRet atllcconfig_LcSettingC_Exists (LcSettingC_ARGS)
  Atl: bool [LcSettingC::Exists $setting name:string] C-API
addon - return true if name exists in the setting otherwise false
 
static OT_ProcRet atllcconfig_LcSettingC_Index (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::Index $setting] C-API
This function returns the index of the given setting within its parent setting …
 
static OT_ProcRet atllcconfig_LcSettingC_Length (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::Length $setting] 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 atllcconfig_LcSettingC_Log (LcSettingC_ARGS)
 
static OT_ProcRet atllcconfig_LcSettingC_Name (LcSettingC_ARGS)
  Atl: string [LcSettingC::Name $setting] C-API
This function returns the name of the given setting, or NULL if the setting has no name …
 
static OT_ProcRet atllcconfig_LcSettingC_Remove (LcSettingC_ARGS)
  Atl: LcSettingC::Remove $parent 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 atllcconfig_LcSettingC_RemoveElem (LcSettingC_ARGS)
  Atl: LcSettingC::RemoveElem $parent 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 atllcconfig_LcSettingC_SourceFile (LcSettingC_ARGS)
  Atl: string [LcSettingC::SourceFile $setting] 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 atllcconfig_LcSettingC_SourceLine (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::SourceLine $setting] 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 atllcconfig_LcSettingC_Type (LcSettingC_ARGS)
  Atl: LcConfigTypeE [LcSettingC::Type $setting] C-API
This function returns the type of the given setting
 
static OT_ProcRet atllcconfig_LcSettingC_SetBoolElem (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::SetBoolElem $setting 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 atllcconfig_LcSettingC_SetFloatElem (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::SetFloatElem $setting 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 atllcconfig_LcSettingC_SetInt64Elem (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::SetInt64Elem $setting 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 atllcconfig_LcSettingC_SetIntElem (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::SetIntElem $setting 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 atllcconfig_LcSettingC_SetStringElem (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::SetStringElem $setting 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 atllcconfig_LcSettingC_SetBool (LcSettingC_ARGS)
  Atl: LcSettingC::SetBool $setting value:bool C-API
These functions set the value of the given setting to value
 
static OT_ProcRet atllcconfig_LcSettingC_SetFloat (LcSettingC_ARGS)
  Atl: LcSettingC::SetFloat $setting value:double C-API
These functions set the value of the given setting to value
 
static OT_ProcRet atllcconfig_LcSettingC_SetFormat (LcSettingC_ARGS)
  Atl: LcSettingC::SetFormat $setting format:LcConfigFormatE C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_SetInt (LcSettingC_ARGS)
  Atl: LcSettingC::SetInt $setting value:int32 C-API
These functions set the value of the given setting to value
 
static OT_ProcRet atllcconfig_LcSettingC_SetInt64 (LcSettingC_ARGS)
  Atl: LcSettingC::SetInt64 $setting value:int64 C-API
These functions set the value of the given setting to value
 
static OT_ProcRet atllcconfig_LcSettingC_SetString (LcSettingC_ARGS)
  Atl: LcSettingC::SetString $setting value:string C-API
These functions set the value of the given setting to value
 
static OT_ProcRet atllcconfig_LcSettingC_Add (LcSettingC_ARGS)
  Atl: (constructor) LcSettingC [LcSettingC::Add $parent 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 atllcconfig_LcSettingC_GetConfig (LcSettingC_ARGS)
  Atl: LcConfigC [LcSettingC::GetConfig $setting] C-API
addon - return the LcConfigC from the LcSettingC
 
int atllcconfig_pLcSettingC_Init (OT_LC_ARGS OT_NS_T ns)
 

Variables

static const OtObjProcDefS atllcconfig_sOtClassDef []
 
static const OtObjProcDefS atllcconfig_sInstanceDef []
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcSettingC_atl.c.

Macro Definition Documentation

◆ Add_doc

#define Add_doc   "LcSettingC [LcSettingC::Add $parent name:string __type:LcConfigTypeE]"

Definition at line 99 of file LcSettingC_atl.c.

◆ AddIfNotExists_doc

#define AddIfNotExists_doc   "LcSettingC [LcSettingC::AddIfNotExists $setting name:string cfgtype:LcConfigTypeE]"

Definition at line 102 of file LcSettingC_atl.c.

◆ ClassInit

#define ClassInit

Definition at line 57 of file LcSettingC_atl.c.

57#define ClassInit \
58 /* if not already done, initialize NEW META type */ \
59 if (LcSettingCTT == NULL) LcSettingCTT = LcSettingSTT; \
60 \
61 /* protect against double call */ \
62 if (LcSettingCTT->selfCreate == NS(LcSettingC_selfCreate)) return MK_OK; \
63 \
64 /* add "selfCreate" and "selfDelete" feature to the META-Class */ \
65 LcSettingCTT->selfCreate = NS(LcSettingC_selfCreate); \
66 LcSettingCTT->selfDelete = NS(LcSettingC_selfDelete); \
67 LcSettingCTT->selfUnlink = NS(LcSettingC_selfUnlink); \
68 \
69 /* create the ATL-class */ \
70 OT_CLASS = AltClassDef(LcSettingCTT,&alcrt->AtlLcSettingC_NS); \
71 if (OT_CLASS == NULL) goto error; \
72 OT_REF_INCR(OT_CLASS); \
73 \
74 /* create the ATL static Methods */ \
75 check_LNG(AtlUnknownSetup (NS(sOtClassDef),alcrt)) goto error; \
76 \
77 /* create the ATL instance Methods */ \
78 check_LNG(AtlUnknownSetup (NS(sInstanceDef),alcrt)) goto error; \
79 \
80 /* after class was modified, recompile the class */ \
81 RL_init(2, recompile, RL_T(0,RecompileN)); RL_O(1,OT_CLASS) ; \
82 int retI = RL_EvalEx(0); \
83 if (retI != TCL_OK) return retI; \
84 \
85 /* define the "NULL" object */ \
86 OT_NULL = AtomCreateNULL(OT_CLASS, "::LcSettingC::MK_NULL", (MK_PTR)alcrt); \
87 if (OT_NULL == NULL) goto error; \
88 OT_REF_INCR(OT_NULL);

◆ Exists_doc

#define Exists_doc   "bool [LcSettingC::Exists $setting name:string]"

Definition at line 118 of file LcSettingC_atl.c.

◆ GetBool_doc

#define GetBool_doc   "bool [LcSettingC::GetBool $setting] (const)"

Definition at line 119 of file LcSettingC_atl.c.

◆ GetBoolElem_doc

#define GetBoolElem_doc   "bool [LcSettingC::GetBoolElem $setting idx:int32] (const)"

Definition at line 120 of file LcSettingC_atl.c.

◆ GetConfig_doc

#define GetConfig_doc   "LcConfigC [LcSettingC::GetConfig $setting] (const)"

Definition at line 103 of file LcSettingC_atl.c.

◆ GetElem_doc

#define GetElem_doc   "LcSettingC [LcSettingC::GetElem $setting idx:int32] (const)"

Definition at line 104 of file LcSettingC_atl.c.

◆ GetFloat_doc

#define GetFloat_doc   "double [LcSettingC::GetFloat $setting] (const)"

Definition at line 121 of file LcSettingC_atl.c.

◆ GetFloatElem_doc

#define GetFloatElem_doc   "double [LcSettingC::GetFloatElem $setting idx:int32] (const)"

Definition at line 122 of file LcSettingC_atl.c.

◆ GetFormat_doc

#define GetFormat_doc   "LcConfigFormatE [LcSettingC::GetFormat $setting] (const)"

Definition at line 123 of file LcSettingC_atl.c.

◆ GetInt64_doc

#define GetInt64_doc   "int64 [LcSettingC::GetInt64 $setting] (const)"

Definition at line 125 of file LcSettingC_atl.c.

◆ GetInt64Elem_doc

#define GetInt64Elem_doc   "int64 [LcSettingC::GetInt64Elem $setting idx:int32] (const)"

Definition at line 126 of file LcSettingC_atl.c.

◆ GetInt_doc

#define GetInt_doc   "int32 [LcSettingC::GetInt $setting] (const)"

Definition at line 124 of file LcSettingC_atl.c.

◆ GetIntElem_doc

#define GetIntElem_doc   "int32 [LcSettingC::GetIntElem $setting idx:int32] (const)"

Definition at line 127 of file LcSettingC_atl.c.

◆ GetMember_doc

#define GetMember_doc   "LcSettingC [LcSettingC::GetMember $setting name:string] (const)"

Definition at line 105 of file LcSettingC_atl.c.

◆ GetNull_doc

#define GetNull_doc   "LcSettingC [LcSettingC::GetNull]"

Definition at line 94 of file LcSettingC_atl.c.

◆ GetString_doc

#define GetString_doc   "string [LcSettingC::GetString $setting] (const)"

Definition at line 128 of file LcSettingC_atl.c.

◆ GetStringElem_doc

#define GetStringElem_doc   "string [LcSettingC::GetStringElem $setting idx:int32] (const)"

Definition at line 129 of file LcSettingC_atl.c.

◆ HandleResolve_doc

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

Definition at line 95 of file LcSettingC_atl.c.

◆ Index_doc

#define Index_doc   "int32 [LcSettingC::Index $setting] (const)"

Definition at line 131 of file LcSettingC_atl.c.

◆ Instances_doc

#define Instances_doc   "LcSettingC [LcSettingC::Instances]"

Definition at line 96 of file LcSettingC_atl.c.

◆ IsAggregate_doc

#define IsAggregate_doc   "bool [LcSettingC::IsAggregate $setting] (const)"

Definition at line 132 of file LcSettingC_atl.c.

◆ IsArray_doc

#define IsArray_doc   "bool [LcSettingC::IsArray $setting] (const)"

Definition at line 133 of file LcSettingC_atl.c.

◆ IsGroup_doc

#define IsGroup_doc   "bool [LcSettingC::IsGroup $setting] (const)"

Definition at line 134 of file LcSettingC_atl.c.

◆ IsList_doc

#define IsList_doc   "bool [LcSettingC::IsList $setting] (const)"

Definition at line 135 of file LcSettingC_atl.c.

◆ IsNumber_doc

#define IsNumber_doc   "bool [LcSettingC::IsNumber $setting] (const)"

Definition at line 136 of file LcSettingC_atl.c.

◆ IsRoot_doc

#define IsRoot_doc   "bool [LcSettingC::IsRoot $setting] (const)"

Definition at line 137 of file LcSettingC_atl.c.

◆ IsScalar_doc

#define IsScalar_doc   "bool [LcSettingC::IsScalar $setting] (const)"

Definition at line 138 of file LcSettingC_atl.c.

◆ Length_doc

#define Length_doc   "int32 [LcSettingC::Length $setting] (const)"

Definition at line 139 of file LcSettingC_atl.c.

◆ Lookup_doc

#define Lookup_doc   "LcSettingC [LcSettingC::Lookup $setting path:string]"

Definition at line 106 of file LcSettingC_atl.c.

◆ LookupAll_doc

#define LookupAll_doc   "MkBufferListC [LcSettingC::LookupAll $setting] (const)"

Definition at line 107 of file LcSettingC_atl.c.

◆ LookupBool_doc

#define LookupBool_doc   "bool [LcSettingC::LookupBool $setting name:string] (const)"

Definition at line 155 of file LcSettingC_atl.c.

◆ LookupFloat_doc

#define LookupFloat_doc   "double [LcSettingC::LookupFloat $setting name:string] (const)"

Definition at line 156 of file LcSettingC_atl.c.

◆ LookupInt64_doc

#define LookupInt64_doc   "int64 [LcSettingC::LookupInt64 $setting name:string] (const)"

Definition at line 158 of file LcSettingC_atl.c.

◆ LookupInt_doc

#define LookupInt_doc   "int32 [LcSettingC::LookupInt $setting name:string] (const)"

Definition at line 157 of file LcSettingC_atl.c.

◆ LookupString_doc

#define LookupString_doc   "string [LcSettingC::LookupString $setting name:string] (const)"

Definition at line 159 of file LcSettingC_atl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "LcSettingC_atl.c"

Definition at line 11 of file LcSettingC_atl.c.

◆ Name_doc

#define Name_doc   "string [LcSettingC::Name $setting] (const)"

Definition at line 141 of file LcSettingC_atl.c.

◆ Next_doc

#define Next_doc   "LcSettingC [LcSettingC::Next $cfs]"

Definition at line 108 of file LcSettingC_atl.c.

◆ OT_CLASS

#define OT_CLASS   alcrt->AtlLcSettingC

Definition at line 15 of file LcSettingC_atl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "LcSettingC"

Definition at line 17 of file LcSettingC_atl.c.

◆ OT_NULL

#define OT_NULL   alcrt->AtlLcSettingC_MK_NULL

Definition at line 16 of file LcSettingC_atl.c.

◆ OT_retObj_CONSTR

#define OT_retObj_CONSTR ( x)
Value:
#define OT_SELF
#define AtomInit(...)
#define OT_retObj_SET(val)
#define LcSettingC_X2obj(x)

Definition at line 54 of file LcSettingC_atl.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(LC_CFS)

Definition at line 47 of file LcSettingC_atl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(LC_CFS)

Definition at line 48 of file LcSettingC_atl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr   SetupHdlConstr(LcSettingC)

Definition at line 50 of file LcSettingC_atl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(LC_CFS)

Definition at line 49 of file LcSettingC_atl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static   SetupHdlStatic(LcSettingC)

Definition at line 52 of file LcSettingC_atl.c.

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 51 of file LcSettingC_atl.c.

◆ Parent_doc

#define Parent_doc   "LcSettingC [LcSettingC::Parent $setting] (const)"

Definition at line 109 of file LcSettingC_atl.c.

◆ Prev_doc

#define Prev_doc   "LcSettingC [LcSettingC::Prev $cfs]"

Definition at line 110 of file LcSettingC_atl.c.

◆ Remove_doc

#define Remove_doc   "LcSettingC::Remove $parent name:string"

Definition at line 142 of file LcSettingC_atl.c.

◆ RemoveElem_doc

#define RemoveElem_doc   "LcSettingC::RemoveElem $parent idx:int32"

Definition at line 143 of file LcSettingC_atl.c.

◆ SELF2HDL

#define SELF2HDL ( 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 19 of file LcSettingC_atl.c.

◆ SetBool_doc

#define SetBool_doc   "LcSettingC::SetBool $setting value:bool"

Definition at line 144 of file LcSettingC_atl.c.

◆ SetBoolElem_doc

#define SetBoolElem_doc   "LcSettingC [LcSettingC::SetBoolElem $setting idx:int32 value:int32]"

Definition at line 111 of file LcSettingC_atl.c.

◆ SetFloat_doc

#define SetFloat_doc   "LcSettingC::SetFloat $setting value:double"

Definition at line 145 of file LcSettingC_atl.c.

◆ SetFloatElem_doc

#define SetFloatElem_doc   "LcSettingC [LcSettingC::SetFloatElem $setting idx:int32 value:double]"

Definition at line 112 of file LcSettingC_atl.c.

◆ SetFormat_doc

#define SetFormat_doc   "LcSettingC::SetFormat $setting format:LcConfigFormatE"

Definition at line 146 of file LcSettingC_atl.c.

◆ SetInt64_doc

#define SetInt64_doc   "LcSettingC::SetInt64 $setting value:int64"

Definition at line 148 of file LcSettingC_atl.c.

◆ SetInt64Elem_doc

#define SetInt64Elem_doc   "LcSettingC [LcSettingC::SetInt64Elem $setting idx:int32 value:int64]"

Definition at line 113 of file LcSettingC_atl.c.

◆ SetInt_doc

#define SetInt_doc   "LcSettingC::SetInt $setting value:int32"

Definition at line 147 of file LcSettingC_atl.c.

◆ SetIntElem_doc

#define SetIntElem_doc   "LcSettingC [LcSettingC::SetIntElem $setting idx:int32 value:int32]"

Definition at line 114 of file LcSettingC_atl.c.

◆ SetString_doc

#define SetString_doc   "LcSettingC::SetString $setting value:string"

Definition at line 149 of file LcSettingC_atl.c.

◆ SetStringElem_doc

#define SetStringElem_doc   "LcSettingC [LcSettingC::SetStringElem $setting idx:int32 value:string]"

Definition at line 115 of file LcSettingC_atl.c.

◆ SourceFile_doc

#define SourceFile_doc   "string [LcSettingC::SourceFile $setting] (const)"

Definition at line 150 of file LcSettingC_atl.c.

◆ SourceLine_doc

#define SourceLine_doc   "int32 [LcSettingC::SourceLine $setting] (const)"

Definition at line 151 of file LcSettingC_atl.c.

◆ Type_doc

#define Type_doc   "LcConfigTypeE [LcSettingC::Type $setting] (const)"

Definition at line 152 of file LcSettingC_atl.c.

Function Documentation

◆ atllcconfig_LcSettingC_selfCreate()

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

Definition at line 28 of file LcSettingC_atl.c.

28 {
29 SETUP_alcrt(env);
30 return AtomMake(obj,OT_CLASS,NULL,NULL,env);
31}
#define OT_CLASS
#define SETUP_alcrt(r)
#define AtomMake(...)

◆ atllcconfig_LcSettingC_selfDelete()

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

Definition at line 34 of file LcSettingC_atl.c.

34 {
35 OT_SELF_T selfO = selfP;
36 SETUP_alcrt(env);
37 MK(AtomDeleteHard) (OT_MK_CALL selfO);
38}
#define MK(n)
MOX_OBJ_T OT_SELF_T
#define OT_MK_CALL

◆ atllcconfig_LcSettingC_selfUnlink()

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

Definition at line 41 of file LcSettingC_atl.c.

41 {
42 OT_SELF_T selfO = selfP;
43 SETUP_alcrt(env);
44 return MK(AtomUnlink) (OT_MK_CALL selfO);
45}

◆ atllcconfig_pLcSettingC_Init()

int atllcconfig_pLcSettingC_Init ( OT_LC_ARGS OT_NS_T ns)

Public API

Definition at line 1252 of file LcSettingC_atl.c.

1253{
1254 ClassInit
1255
1256 return TCL_OK;
1257error:
1258 return TCL_ERROR;
1259}
#define ClassInit

Variable Documentation

◆ atllcconfig_sInstanceDef

const OtObjProcDefS atllcconfig_sInstanceDef[]
static

Definition at line 1176 of file LcSettingC_atl.c.

1176 {
1177 // BEGIN-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1178
1179 // doc-key: LcSettingC,LcSetting,oC_
1180 { "::LcSettingC::Add" , NS(LcSettingC_Add) },
1181
1182 // doc-key: LcSettingC,LcSetting,oc_
1183 { "::LcSettingC::AddIfNotExists" , NS(LcSettingC_AddIfNotExists) },
1184 { "::LcSettingC::GetConfig" , NS(LcSettingC_GetConfig) },
1185 { "::LcSettingC::GetElem" , NS(LcSettingC_GetElem) },
1186 { "::LcSettingC::GetMember" , NS(LcSettingC_GetMember) },
1187 { "::LcSettingC::Lookup" , NS(LcSettingC_Lookup) },
1188 { "::LcSettingC::LookupAll" , NS(LcSettingC_LookupAll) },
1189 { "::LcSettingC::Next" , NS(LcSettingC_Next) },
1190 { "::LcSettingC::Parent" , NS(LcSettingC_Parent) },
1191 { "::LcSettingC::Prev" , NS(LcSettingC_Prev) },
1192 { "::LcSettingC::SetBoolElem" , NS(LcSettingC_SetBoolElem) },
1193 { "::LcSettingC::SetFloatElem" , NS(LcSettingC_SetFloatElem) },
1194 { "::LcSettingC::SetInt64Elem" , NS(LcSettingC_SetInt64Elem) },
1195 { "::LcSettingC::SetIntElem" , NS(LcSettingC_SetIntElem) },
1196 { "::LcSettingC::SetStringElem" , NS(LcSettingC_SetStringElem) },
1197
1198 // doc-key: LcSettingC,LcSetting,om_
1199 { "::LcSettingC::Exists" , NS(LcSettingC_Exists) },
1200 { "::LcSettingC::GetBool" , NS(LcSettingC_GetBool) },
1201 { "::LcSettingC::GetBoolElem" , NS(LcSettingC_GetBoolElem) },
1202 { "::LcSettingC::GetFloat" , NS(LcSettingC_GetFloat) },
1203 { "::LcSettingC::GetFloatElem" , NS(LcSettingC_GetFloatElem) },
1204 { "::LcSettingC::GetFormat" , NS(LcSettingC_GetFormat) },
1205 { "::LcSettingC::GetInt" , NS(LcSettingC_GetInt) },
1206 { "::LcSettingC::GetInt64" , NS(LcSettingC_GetInt64) },
1207 { "::LcSettingC::GetInt64Elem" , NS(LcSettingC_GetInt64Elem) },
1208 { "::LcSettingC::GetIntElem" , NS(LcSettingC_GetIntElem) },
1209 { "::LcSettingC::GetString" , NS(LcSettingC_GetString) },
1210 { "::LcSettingC::GetStringElem" , NS(LcSettingC_GetStringElem) },
1211 // skip class-overload: HandleGet → MkObjectHandleGet
1212 { "::LcSettingC::Index" , NS(LcSettingC_Index) },
1213 { "::LcSettingC::IsAggregate" , NS(LcSettingC_IsAggregate) },
1214 { "::LcSettingC::IsArray" , NS(LcSettingC_IsArray) },
1215 { "::LcSettingC::IsGroup" , NS(LcSettingC_IsGroup) },
1216 { "::LcSettingC::IsList" , NS(LcSettingC_IsList) },
1217 { "::LcSettingC::IsNumber" , NS(LcSettingC_IsNumber) },
1218 { "::LcSettingC::IsRoot" , NS(LcSettingC_IsRoot) },
1219 { "::LcSettingC::IsScalar" , NS(LcSettingC_IsScalar) },
1220 { "::LcSettingC::Length" , NS(LcSettingC_Length) },
1221 // skip class-overload: Log → MkObjectLog
1222 { "::LcSettingC::Name" , NS(LcSettingC_Name) },
1223 { "::LcSettingC::Remove" , NS(LcSettingC_Remove) },
1224 { "::LcSettingC::RemoveElem" , NS(LcSettingC_RemoveElem) },
1225 { "::LcSettingC::SetBool" , NS(LcSettingC_SetBool) },
1226 { "::LcSettingC::SetFloat" , NS(LcSettingC_SetFloat) },
1227 { "::LcSettingC::SetFormat" , NS(LcSettingC_SetFormat) },
1228 { "::LcSettingC::SetInt" , NS(LcSettingC_SetInt) },
1229 { "::LcSettingC::SetInt64" , NS(LcSettingC_SetInt64) },
1230 { "::LcSettingC::SetString" , NS(LcSettingC_SetString) },
1231 { "::LcSettingC::SourceFile" , NS(LcSettingC_SourceFile) },
1232 { "::LcSettingC::SourceLine" , NS(LcSettingC_SourceLine) },
1233 { "::LcSettingC::Type" , NS(LcSettingC_Type) },
1234
1235 // doc-key: LcSettingC,LcSetting,omo
1236 { "::LcSettingC::LookupBool" , NS(LcSettingC_LookupBool) },
1237 { "::LcSettingC::LookupFloat" , NS(LcSettingC_LookupFloat) },
1238 { "::LcSettingC::LookupInt" , NS(LcSettingC_LookupInt) },
1239 { "::LcSettingC::LookupInt64" , NS(LcSettingC_LookupInt64) },
1240 { "::LcSettingC::LookupString" , NS(LcSettingC_LookupString) },
1241
1242 // END-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1243 { NULL }
1244};
#define NS(n)

◆ atllcconfig_sOtClassDef

const OtObjProcDefS atllcconfig_sOtClassDef[]
static
Initial value:
= {
{ "::LcSettingC::GetNull" , atllcconfig_LcSettingC_GetNull },
{ "::LcSettingC::HandleResolve" , atllcconfig_LcSettingC_HandleResolve },
{ "::LcSettingC::Instances" , atllcconfig_LcSettingC_Instances },
{ NULL }
}
static OT_ProcRet atllcconfig_LcSettingC_HandleResolve(OtClass_ARGS)
Atl: (static) LcSettingC [LcSettingC::HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot -...
static OT_ProcRet atllcconfig_LcSettingC_GetNull(OtClass_ARGS)
Atl: (static) LcSettingC [LcSettingC::GetNull] → C-API Null-Slot - return a LcSettingC typed NUL...
static OT_ProcRet atllcconfig_LcSettingC_Instances(OtClass_ARGS)
Atl: (static) LcSettingC [LcSettingC::Instances] → C-API get head-instance from linked-list of L...

Definition at line 1162 of file LcSettingC_atl.c.

1162 {
1163 // BEGIN-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1164
1165 // doc-key: LcSettingC,LcSetting,sc_
1166 { "::LcSettingC::GetNull" , NS(LcSettingC_GetNull) },
1167 { "::LcSettingC::HandleResolve" , NS(LcSettingC_HandleResolve) },
1168 { "::LcSettingC::Instances" , NS(LcSettingC_Instances) },
1169
1170 // END-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1171 { NULL }
1172};