theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Set_TCL_API

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

+ Collaboration diagram for LcConfigC_Set_TCL_API:

Functions

static OT_ProcRet tcllcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS)
  Tcl: $config SetDefaultFormat format:LcConfigFormatE C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS)
  Tcl: $config SetFloatPrecision digits:int16 C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS)
  Tcl: $config SetIncludeDir include_dir:string C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS)
  Tcl: $cfg SetIncludeFunc ?fConfigIncludeData:LC_CBP="MK_NULL"? C-API
set the __parser__(callback-name) for the include-config-file
 
static OT_ProcRet tcllcconfig_LcConfigC_SetOption (LcConfigC_ARGS)
  Tcl: $config SetOption option:LcConfigOptionsEF flag:bool C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetOptions (LcConfigC_ARGS)
  Tcl: $config SetOptions options:LcConfigOptionsEF C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS)
  Tcl: $cfg SetSettingDeleteFunc ?fSettingDeleteData:LC_CBP="MK_NULL"? C-API
set the callback-name for the setting-delete
 
static OT_ProcRet tcllcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS)
  Tcl: $config SetTabWidth 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

◆ tcllcconfig_LcConfigC_SetDefaultFormat()

static OT_ProcRet tcllcconfig_LcConfigC_SetDefaultFormat ( LcConfigC_ARGS )
static

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

Definition at line 649 of file LcConfigC_tcl.c.

649 {
652 enum LcConfigFormatE format = 0;
655 LcConfigSetDefaultFormat (hdl, format);
657 goto end;
658 error:
660 end:
662}
#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

◆ tcllcconfig_LcConfigC_SetFloatPrecision()

static OT_ProcRet tcllcconfig_LcConfigC_SetFloatPrecision ( LcConfigC_ARGS )
static

Tcl: $config SetFloatPrecision digits:int16 C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …

Definition at line 665 of file LcConfigC_tcl.c.

665 {
668 MK_I16 digits = 0;
671 LcConfigSetFloatPrecision (hdl, digits);
673 goto end;
674 error:
676 end:
678}
#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

◆ tcllcconfig_LcConfigC_SetIncludeDir()

static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeDir ( LcConfigC_ARGS )
static

Tcl: $config SetIncludeDir include_dir:string C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config

Definition at line 681 of file LcConfigC_tcl.c.

681 {
684 MK_STRN include_dir = 0;
685 OT_CHECK_REQUIRED(OT_CHECK_STRN (include_dir))
687 LcConfigSetIncludeDir (hdl, include_dir);
689 goto end;
690 error:
692 end:
694}
#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

◆ tcllcconfig_LcConfigC_SetIncludeFunc()

static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeFunc ( LcConfigC_ARGS )
static

Tcl: $cfg SetIncludeFunc ?fConfigIncludeData:LC_CBP="MK_NULL"? C-API
set the __parser__(callback-name) for the include-config-file

Definition at line 697 of file LcConfigC_tcl.c.

697 {
700 OT_SETUP_CALLABLE(fConfigIncludeData)
701 OT_CHECK_OPTIONAL(OT_CHECK_CALLABLE(fConfigIncludeData))
703 LcConfigIncludeCallF fConfigIncludeCall = (fConfigIncludeData == NULL ? NULL : NS(ConfigIncludeCall));
704 MkErrorC_Check(hdl,LcConfigSetIncludeFunc (hdl, fConfigIncludeCall, fConfigIncludeData, NS(ConfigIncludeFree)));
706 goto end;
707 error:
709 end:
710 OT_CLEANUP_CALLABLE(fConfigIncludeData)
712}
#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)

◆ tcllcconfig_LcConfigC_SetOption()

static OT_ProcRet tcllcconfig_LcConfigC_SetOption ( LcConfigC_ARGS )
static

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

Definition at line 715 of file LcConfigC_tcl.c.

715 {
718 enum LcConfigOptionsEF option = 0;
720 MK_BOOL flag = 0;
723 LcConfigSetOption (hdl, option, flag);
725 goto end;
726 error:
728 end:
730}
#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

◆ tcllcconfig_LcConfigC_SetOptions()

static OT_ProcRet tcllcconfig_LcConfigC_SetOptions ( LcConfigC_ARGS )
static

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

Definition at line 733 of file LcConfigC_tcl.c.

733 {
736 enum LcConfigOptionsEF options = 0;
739 LcConfigSetOptions (hdl, options);
741 goto end;
742 error:
744 end:
746}
#define SetOptions_doc
static void LcConfigSetOptions(LC_CFG config, enum LcConfigOptionsEF options)
These functions get and set the options for the configuration config …

◆ tcllcconfig_LcConfigC_SetSettingDeleteFunc()

static OT_ProcRet tcllcconfig_LcConfigC_SetSettingDeleteFunc ( LcConfigC_ARGS )
static

Tcl: $cfg SetSettingDeleteFunc ?fSettingDeleteData:LC_CBP="MK_NULL"? C-API
set the callback-name for the setting-delete

Definition at line 749 of file LcConfigC_tcl.c.

749 {
752 OT_SETUP_CALLABLE(fSettingDeleteData)
753 OT_CHECK_OPTIONAL(OT_CHECK_CALLABLE(fSettingDeleteData))
755 LcSettingDeleteCallF fSettingDeleteCall = (fSettingDeleteData == NULL ? NULL : NS(SettingDeleteCall));
756 MkErrorC_Check(hdl,LcConfigSetSettingDeleteFunc (hdl, fSettingDeleteCall, fSettingDeleteData, NS(SettingDeleteFree)));
758 goto end;
759 error:
761 end:
762 OT_CLEANUP_CALLABLE(fSettingDeleteData)
764}
#define SetSettingDeleteFunc_doc
enum MkErrorE(* LcSettingDeleteCallF)(LcSettingDeleteCallF_ARGS)
#define LcConfigSetSettingDeleteFunc(...)

◆ tcllcconfig_LcConfigC_SetTabWidth()

static OT_ProcRet tcllcconfig_LcConfigC_SetTabWidth ( LcConfigC_ARGS )
static

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

Definition at line 767 of file LcConfigC_tcl.c.

767 {
770 MK_I16 width = 0;
773 LcConfigSetTabWidth (hdl, width);
775 goto end;
776 error:
778 end:
780}
#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...