theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Set_ATL_API

LcConfigC - various functions to set config-dataMore...

+ Collaboration diagram for LcConfigC_Set_ATL_API:

Functions

static OT_ProcRet atllcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS)
  Atl: LcConfigC::SetDefaultFormat $config 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 atllcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS)
  Atl: LcConfigC::SetFloatPrecision $config 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 atllcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS)
  Atl: LcConfigC::SetIncludeDir $config 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 atllcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS)
  Atl: LcConfigC::SetIncludeFunc $cfg ?fConfigIncludeData:LC_CBP=NULL? C-API
set the __parser__(callback-name) for the include-config-file
 
static OT_ProcRet atllcconfig_LcConfigC_SetOption (LcConfigC_ARGS)
  Atl: LcConfigC::SetOption $config option:LcConfigOptionsEF flag:bool C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_SetOptions (LcConfigC_ARGS)
  Atl: LcConfigC::SetOptions $config options:LcConfigOptionsEF C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS)
  Atl: LcConfigC::SetSettingDeleteFunc $cfg ?fSettingDeleteData:LC_CBP=NULL? C-API
set the callback-name for the setting-delete
 
static OT_ProcRet atllcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS)
  Atl: LcConfigC::SetTabWidth $config width:int16 C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 

Detailed Description

LcConfigC - various functions to set config-data

Function Documentation

◆ atllcconfig_LcConfigC_SetDefaultFormat()

static OT_ProcRet atllcconfig_LcConfigC_SetDefaultFormat ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetDefaultFormat $config format:LcConfigFormatE C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config

Definition at line 628 of file LcConfigC_atl.c.

628 {
631 enum LcConfigFormatE format = 0;
634 LcConfigSetDefaultFormat (hdl, format);
636 goto end;
637 error:
639 end:
641}
#define OT_SETUP_hdl
#define SetDefaultFormat_doc
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_CHECK_ENUM(ename, val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
static void LcConfigSetDefaultFormat(LC_CFG config, enum LcConfigFormatE format)
These functions, which are implemented as macros, get and set the default external format for setting...
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:30

◆ atllcconfig_LcConfigC_SetFloatPrecision()

static OT_ProcRet atllcconfig_LcConfigC_SetFloatPrecision ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetFloatPrecision $config 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 …

Definition at line 644 of file LcConfigC_atl.c.

644 {
647 MK_I16 digits = 0;
650 LcConfigSetFloatPrecision (hdl, digits);
652 goto end;
653 error:
655 end:
657}
#define SetFloatPrecision_doc
#define OT_CHECK_NI2(val)
static void LcConfigSetFloatPrecision(LC_CFG config, MK_I16 digits)
Since v1.6 These functions get and set the number of decimal digits to output after the radix charact...
signed short int MK_I16

◆ atllcconfig_LcConfigC_SetIncludeDir()

static OT_ProcRet atllcconfig_LcConfigC_SetIncludeDir ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetIncludeDir $config 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

Definition at line 660 of file LcConfigC_atl.c.

660 {
663 MK_STRN include_dir = 0;
664 OT_CHECK_REQUIRED(OT_CHECK_STRN (include_dir))
666 LcConfigSetIncludeDir (hdl, include_dir);
668 goto end;
669 error:
671 end:
673}
#define SetIncludeDir_doc
#define OT_CHECK_STRN(val)
static void LcConfigSetIncludeDir(LC_CFG config, MK_STRN include_dir)
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specifi...
const MK_STRB * MK_STRN

◆ atllcconfig_LcConfigC_SetIncludeFunc()

static OT_ProcRet atllcconfig_LcConfigC_SetIncludeFunc ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetIncludeFunc $cfg ?fConfigIncludeData:LC_CBP=NULL? C-API
set the __parser__(callback-name) for the include-config-file

Definition at line 676 of file LcConfigC_atl.c.

676 {
679 OT_SETUP_CALLABLE(fConfigIncludeData)
680 OT_CHECK_OPTIONAL(OT_CHECK_CALLABLE(fConfigIncludeData))
682 LcConfigIncludeCallF fConfigIncludeCall = (fConfigIncludeData == NULL ? NULL : NS(ConfigIncludeCall));
683 MkErrorC_Check(hdl,LcConfigSetIncludeFunc (hdl, fConfigIncludeCall, fConfigIncludeData, NS(ConfigIncludeFree)));
685 goto end;
686 error:
688 end:
689 OT_CLEANUP_CALLABLE(fConfigIncludeData)
691}
#define SetIncludeFunc_doc
#define NS(n)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define MkErrorC_Check(mng, PROC)
enum MkErrorE(* LcConfigIncludeCallF)(LcConfigIncludeCallF_ARGS)
#define LcConfigSetIncludeFunc(...)
#define OT_CHECK_CALLABLE(val)
#define OT_CLEANUP_CALLABLE(val)
#define OT_SETUP_CALLABLE(val)

◆ atllcconfig_LcConfigC_SetOption()

static OT_ProcRet atllcconfig_LcConfigC_SetOption ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetOption $config option:LcConfigOptionsEF flag:bool C-API
Since v1.7 These functions get and set the given option of the configuration config

Definition at line 694 of file LcConfigC_atl.c.

694 {
697 enum LcConfigOptionsEF option = 0;
699 MK_BOOL flag = 0;
702 LcConfigSetOption (hdl, option, flag);
704 goto end;
705 error:
707 end:
709}
#define SetOption_doc
#define OT_CHECK_bool(val)
static void LcConfigSetOption(LC_CFG config, enum LcConfigOptionsEF option, MK_BOOL flag)
Since v1.7 These functions get and set the given option of the configuration config …
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
Definition LcEnum_lc.h:134
bool MK_BOOL

◆ atllcconfig_LcConfigC_SetOptions()

static OT_ProcRet atllcconfig_LcConfigC_SetOptions ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetOptions $config options:LcConfigOptionsEF C-API
These functions get and set the options for the configuration config

Definition at line 712 of file LcConfigC_atl.c.

712 {
715 enum LcConfigOptionsEF options = 0;
718 LcConfigSetOptions (hdl, options);
720 goto end;
721 error:
723 end:
725}
#define SetOptions_doc
static void LcConfigSetOptions(LC_CFG config, enum LcConfigOptionsEF options)
These functions get and set the options for the configuration config …

◆ atllcconfig_LcConfigC_SetSettingDeleteFunc()

static OT_ProcRet atllcconfig_LcConfigC_SetSettingDeleteFunc ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetSettingDeleteFunc $cfg ?fSettingDeleteData:LC_CBP=NULL? C-API
set the callback-name for the setting-delete

Definition at line 728 of file LcConfigC_atl.c.

728 {
731 OT_SETUP_CALLABLE(fSettingDeleteData)
732 OT_CHECK_OPTIONAL(OT_CHECK_CALLABLE(fSettingDeleteData))
734 LcSettingDeleteCallF fSettingDeleteCall = (fSettingDeleteData == NULL ? NULL : NS(SettingDeleteCall));
735 MkErrorC_Check(hdl,LcConfigSetSettingDeleteFunc (hdl, fSettingDeleteCall, fSettingDeleteData, NS(SettingDeleteFree)));
737 goto end;
738 error:
740 end:
741 OT_CLEANUP_CALLABLE(fSettingDeleteData)
743}
#define SetSettingDeleteFunc_doc
enum MkErrorE(* LcSettingDeleteCallF)(LcSettingDeleteCallF_ARGS)
#define LcConfigSetSettingDeleteFunc(...)

◆ atllcconfig_LcConfigC_SetTabWidth()

static OT_ProcRet atllcconfig_LcConfigC_SetTabWidth ( LcConfigC_ARGS )
static

Atl: LcConfigC::SetTabWidth $config width:int16 C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config

Definition at line 746 of file LcConfigC_atl.c.

746 {
749 MK_I16 width = 0;
752 LcConfigSetTabWidth (hdl, width);
754 goto end;
755 error:
757 end:
759}
#define SetTabWidth_doc
static void LcConfigSetTabWidth(LC_CFG config, MK_I16 width)
These functions, which are implemented as macros, get and set the tab width for the configuration con...