theConfig 10.0
|
tag: nhi1-release-250425 More...
#include "LibLcConfig_private_py.h"
Go to the source code of this file.
Macros | |
#define | META_FILE_NAME "LcConfigC_py.c" |
#define | OT_CLASS (&NS(LcConfigCR)) |
#define | OT_CLASS_NAME "LcConfigC" |
#define | OT_LNG2META(O) |
#define | OT_retObj_CONSTR(mng) |
#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 | LcConfigCTT LC(LcConfigThreadState).LcConfigCTT |
#define | ClassInit |
#define | META_CONTEXT_S MK_ERROR_DEFAULT |
#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=None?, ?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=None?)" |
#define | SetOption_doc "config.SetOption(option:LcConfigOptionsEF, flag:bool)" |
#define | SetOptions_doc "config.SetOptions(options:LcConfigOptionsEF)" |
#define | SetSettingDeleteFunc_doc "cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=None?)" |
#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 OT_OBJ_T | pylcconfig_LcConfigC_CTOR (MK_RT mkrt, OT_CLS_T type, LC_CFG hdl) |
static MK_PTR | pylcconfig_LcConfigC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env) |
static void | pylcconfig_LcConfigC_selfDelete (MK_RT mkrt, MK_PTR self, MK_PTR const env) |
static void | pylcconfig_LcConfigC_selfUnlink (MK_RT mkrt, MK_PTR self, MK_PTR const env) |
static OT_ProcRet | pylcconfig_LcConfigC_HandleResolve (OtClass_ARGS) |
Python: → C-API Handle-Resolve-Slot - return a LcConfigC from netHdl or None if invalid… | |
MK_DEPRECATED static MK_UNUSED OT_ProcRet | pylcconfig_LcConfigC_HandleGet (LcConfigC_ARGS) |
static OT_ProcRet | pylcconfig_LcConfigC_Next (LcConfigC_ARGS) |
Python: → C-API get next instance from linked-list of LcConfigS type | |
static OT_ProcRet | pylcconfig_LcConfigC_Prev (LcConfigC_ARGS) |
Python: → C-API get previous instance from linked-list of LcConfigS type | |
static OT_ProcRet | pylcconfig_LcConfigC_Instances (OtClass_ARGS) |
Python: → C-API get head-instance from linked-list of LcConfigS type … | |
static OT_ProcRet | pylcconfig_LcConfigC_GetNull (OtClass_ARGS) |
Python: → C-API Null-Slot - return a LcConfigC typed NULL instance … | |
static OT_ProcRet | pylcconfig_LcConfigC_ErrorType (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_GetDefaultFormat (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_GetFloatPrecision (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_GetIncludeDir (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_GetOption (LcConfigC_ARGS) |
Python: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_GetOptions (LcConfigC_ARGS) |
Python: → C-API These functions get and set the options for the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_GetTabWidth (LcConfigC_ARGS) |
Python: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_Lookup (LcConfigC_ARGS) |
Python: → C-API This function locates the setting in the configuration config specified by the path path … | |
static OT_ProcRet | pylcconfig_LcConfigC_LookupBool (LcConfigC_ARGS) |
Python: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | pylcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS) |
Python: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | pylcconfig_LcConfigC_LookupInt (LcConfigC_ARGS) |
Python: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | pylcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS) |
Python: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | pylcconfig_LcConfigC_LookupString (LcConfigC_ARGS) |
Python: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | pylcconfig_LcConfigC_RootSetting (LcConfigC_ARGS) |
Python: → C-API This function, which is implemented as a macro, returns the root setting for the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_Clear (LcConfigC_ARGS) |
Python: → C-API Since v1.7 This function clears the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_Log (LcConfigC_ARGS) |
Python: → C-API log the config … | |
static OT_ProcRet | pylcconfig_LcConfigC_ReadFile (LcConfigC_ARGS) |
Python: → C-API This function reads and parses a configuration from the file named filename into the configuration object config … | |
static OT_ProcRet | pylcconfig_LcConfigC_ReadString (LcConfigC_ARGS) |
Python: → C-API This function reads and parses a configuration from the string str into the configuration object config … | |
static OT_ProcRet | pylcconfig_LcConfigC_WriteFile (LcConfigC_ARGS) |
Python: → C-API This function writes the configuration config to the file named filename … | |
static OT_ProcRet | pylcconfig_LcConfigC_WriteString (LcConfigC_ARGS) |
Python: → C-API read the entire configuration cfg into the string val_out … | |
static OT_ProcRet | pylcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS) |
Python: → 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 | pylcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS) |
Python: → C-API set the __parser__(callback-name) for the include-config-file … | |
static OT_ProcRet | pylcconfig_LcConfigC_SetOption (LcConfigC_ARGS) |
Python: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_SetOptions (LcConfigC_ARGS) |
Python: → C-API These functions get and set the options for the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS) |
Python: → C-API set the callback-name for the setting-delete … | |
static OT_ProcRet | pylcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS) |
Python: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
static OT_ProcRet | pylcconfig_LcConfigC_Create (OtClass_ARGS) |
Python: → C-API create a LcConfigC instance … | |
static OT_ProcRet | pylcconfig_LcConfigC_new (CONSTR_ARGS) |
Python: → C-API create a LcConfigC instance … | |
int | pylcconfig_pLcConfigC_Init (MK_RT mkrt, PyObject *m) |
Variables | |
static PyMethodDef | LcConfigC_Methods [] |
OT_CLASS_TYPE_REF | pylcconfig_LcConfigCR |
tag: nhi1-release-250425
Definition in file LcConfigC_py.c.
#define ClassInit |
Definition at line 65 of file LcConfigC_py.c.
#define Clear_doc "config.Clear()" |
Definition at line 114 of file LcConfigC_py.c.
#define Create_doc "LcConfigC LcConfigC.Create()" |
doc definition
Definition at line 99 of file LcConfigC_py.c.
#define ErrorType_doc "LcErrorTypeE config.ErrorType() (const)" |
Definition at line 115 of file LcConfigC_py.c.
#define GetDefaultFormat_doc "LcConfigFormatE config.GetDefaultFormat() (const)" |
Definition at line 116 of file LcConfigC_py.c.
#define GetFloatPrecision_doc "int16 config.GetFloatPrecision() (const)" |
Definition at line 117 of file LcConfigC_py.c.
#define GetIncludeDir_doc "string config.GetIncludeDir() (const)" |
Definition at line 118 of file LcConfigC_py.c.
#define GetNull_doc "LcConfigC LcConfigC.GetNull()" |
Definition at line 103 of file LcConfigC_py.c.
#define GetOption_doc "bool config.GetOption(option:LcConfigOptionsEF) (const)" |
Definition at line 119 of file LcConfigC_py.c.
#define GetOptions_doc "LcConfigOptionsEF config.GetOptions() (const)" |
Definition at line 120 of file LcConfigC_py.c.
#define GetTabWidth_doc "int16 config.GetTabWidth() (const)" |
Definition at line 121 of file LcConfigC_py.c.
#define HandleResolve_doc "LcConfigC LcConfigC.HandleResolve(netHdl:MK_HDL)" |
Definition at line 104 of file LcConfigC_py.c.
#define Instances_doc "LcConfigC LcConfigC.Instances()" |
Definition at line 105 of file LcConfigC_py.c.
#define LcConfigCTT LC(LcConfigThreadState).LcConfigCTT |
Definition at line 40 of file LcConfigC_py.c.
#define Log_doc "cfg.Log(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)" |
Definition at line 123 of file LcConfigC_py.c.
#define Lookup_doc "LcSettingC config.Lookup(path:string) (const)" |
Definition at line 108 of file LcConfigC_py.c.
#define LookupBool_doc "bool config.LookupBool(path:string) (const)" |
Definition at line 137 of file LcConfigC_py.c.
#define LookupFloat_doc "double config.LookupFloat(path:string) (const)" |
Definition at line 138 of file LcConfigC_py.c.
#define LookupInt64_doc "int64 config.LookupInt64(path:string) (const)" |
Definition at line 140 of file LcConfigC_py.c.
#define LookupInt_doc "int32 config.LookupInt(path:string) (const)" |
Definition at line 139 of file LcConfigC_py.c.
#define LookupString_doc "string config.LookupString(path:string) (const)" |
Definition at line 141 of file LcConfigC_py.c.
#define META_CONTEXT_S MK_ERROR_DEFAULT |
Definition at line 88 of file LcConfigC_py.c.
#define META_FILE_NAME "LcConfigC_py.c" |
Definition at line 11 of file LcConfigC_py.c.
#define new_doc "LcConfigC LcConfigC.new()" |
Definition at line 100 of file LcConfigC_py.c.
#define Next_doc "LcConfigC cfg.Next()" |
Definition at line 109 of file LcConfigC_py.c.
#define OT_CLASS (&NS(LcConfigCR)) |
Definition at line 16 of file LcConfigC_py.c.
#define OT_CLASS_NAME "LcConfigC" |
Definition at line 17 of file LcConfigC_py.c.
#define OT_LNG2META | ( | O | ) |
Definition at line 19 of file LcConfigC_py.c.
#define OT_retObj_CONSTR | ( | mng | ) |
Definition at line 21 of file LcConfigC_py.c.
#define OT_SETUP_hdl OT_SETUP_hdl_tmpl(LcConfigC) |
Definition at line 23 of file LcConfigC_py.c.
#define OT_SETUP_hdl__null_allow OT_SETUP_hdl_tmpl__null_allow(LcConfigC) |
Definition at line 24 of file LcConfigC_py.c.
#define OT_SETUP_hdl_constr |
Definition at line 25 of file LcConfigC_py.c.
#define OT_SETUP_hdl_destr OT_SETUP_hdl_tmpl__null_allow(LcConfigC) |
Definition at line 27 of file LcConfigC_py.c.
#define OT_SETUP_hdl_static |
Definition at line 28 of file LcConfigC_py.c.
#define OT_SETUP_hdl_static_constr OT_SETUP_hdl_static |
Definition at line 31 of file LcConfigC_py.c.
#define Prev_doc "LcConfigC cfg.Prev()" |
Definition at line 110 of file LcConfigC_py.c.
#define ReadFile_doc "config.ReadFile(filename:string)" |
Definition at line 124 of file LcConfigC_py.c.
#define ReadString_doc "config.ReadString(str:string)" |
Definition at line 125 of file LcConfigC_py.c.
#define RootSetting_doc "LcSettingC config.RootSetting() (const)" |
Definition at line 111 of file LcConfigC_py.c.
#define SetDefaultFormat_doc "config.SetDefaultFormat(format:LcConfigFormatE)" |
Definition at line 126 of file LcConfigC_py.c.
#define SetFloatPrecision_doc "config.SetFloatPrecision(digits:int16)" |
Definition at line 127 of file LcConfigC_py.c.
#define SetIncludeDir_doc "config.SetIncludeDir(include_dir:string)" |
Definition at line 128 of file LcConfigC_py.c.
#define SetIncludeFunc_doc "cfg.SetIncludeFunc(?fConfigIncludeData:LC_CBP=None?)" |
Definition at line 129 of file LcConfigC_py.c.
#define SetOption_doc "config.SetOption(option:LcConfigOptionsEF, flag:bool)" |
Definition at line 130 of file LcConfigC_py.c.
#define SetOptions_doc "config.SetOptions(options:LcConfigOptionsEF)" |
Definition at line 131 of file LcConfigC_py.c.
#define SetSettingDeleteFunc_doc "cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=None?)" |
Definition at line 132 of file LcConfigC_py.c.
#define SetTabWidth_doc "config.SetTabWidth(width:int16)" |
Definition at line 133 of file LcConfigC_py.c.
#define SetupRtFromObj_X | ( | hdl | ) |
Definition at line 34 of file LcConfigC_py.c.
#define SetupRtFromObj_XN | ( | hdl | ) |
Definition at line 35 of file LcConfigC_py.c.
#define WriteFile_doc "config.WriteFile(filename:string)" |
Definition at line 134 of file LcConfigC_py.c.
#define WriteString_doc "string cfg.WriteString() (const)" |
Definition at line 142 of file LcConfigC_py.c.
Definition at line 44 of file LcConfigC_py.c.
|
static |
Definition at line 51 of file LcConfigC_py.c.
Definition at line 55 of file LcConfigC_py.c.
Definition at line 59 of file LcConfigC_py.c.
int pylcconfig_pLcConfigC_Init | ( | MK_RT | mkrt, |
PyObject * | m ) |
Definition at line 894 of file LcConfigC_py.c.
|
static |
Type definition
Definition at line 818 of file LcConfigC_py.c.
OT_CLASS_TYPE_REF pylcconfig_LcConfigCR |
Public API
Definition at line 882 of file LcConfigC_py.c.