cclcconfig 9.0
Loading...
Searching...
No Matches
cclcconfig

The liblcconfig Project.

SYNOPSIS

The cclcconfig package is a library for processing configuration files

link: -Lpath -lcclcconfig or automake: LDADD = libcclcconfig.la

The cclcconfig package is a composition of multiple classes defining the Programming-Language-Micro-Kernel:

object description
cclcconfig the namespace with all cclcconfig specific definitions
cclcconfig::Attribute the interface to access the package specific attribute
cclcconfig::LcClassC.Attribute the interface to access the class specific attribute
Instance.Attribute the interface to access the instance specific attribute

To access all features without cclcconfig prefix use:

include LibLcConfig_cc.h
using namespace cclcconfig;

Using the cclcconfig package …
Using automake/libtool the MkKernel library have to be linked with the executable/library, this is done with:

‍LDADD = path/to/libccmkkernel.la

or

‍mylib_la_LIBADD = path/to/libccmkkernel.la

Example from example/cc/Makefile.am using libccmqmsgque.la (also load libccmkkernel.la and others
noinst_PROGRAMS += ConfigServer
ConfigServer_SOURCES = ConfigServer.cc
ConfigServer_CPPFLAGS = $(libmqmsgque_addon_CPPFLAGS) $(liblcconfig_addon_CPPFLAGS) -I$(theKernel_SRCDIR)/ccmsgque -I$(theLink_SRCDIR)/ccmsgque -I$(theConfig_SRCDIR)/ccmsgque
ConfigServer_CXXFLAGS = $(libmqmsgque_CXXFLAGS) -DMETA_IGNORE_EXTERN
ConfigServer_LDADD = $(theLink_BUILDDIR)/ccmsgque/libccmqmsgque.la $(theConfig_BUILDDIR)/ccmsgque/libcclcconfig.la
if ENABLE_STATIC
ConfigServer_LDFLAGS = $(UBSAN) -static -no-undefined
ConfigServer_LDADD += $(libmqmsgque_addon_LIBADD) $(liblcconfig_addon_LIBADD) $(libmkkernel_addon_LIBADD)
else
ConfigServer_LDFLAGS = $(UBSAN) -no-undefined
endif

INDEX

PACKAGE
Philosophy ,
CLASS
LcConfig PACKAGE , LcConfigC , LcSettingC ,
MISC
Examples

INTRODUCTION

C-API: LC_C_API -


LcConfig PACKAGE

LcConfig ENUM

enum liblcconfig::LcConfigFormatEset the format of a LcSettingC
ConfigFormatE_FromIntreturn the liblcconfig::LcConfigFormatE from integer …
ConfigFormatE_ToIntreturn the liblcconfig::LcConfigFormatE as integer …
ConfigFormatE_ToStringreturn the liblcconfig::LcConfigFormatE as string …
enum liblcconfig::LcConfigOptionsEFconfiguration options for config-file-layout
ConfigOptionsEF_FromIntreturn the liblcconfig::LcConfigOptionsEF from integer …
ConfigOptionsEF_ToIntreturn the liblcconfig::LcConfigOptionsEF as integer …
ConfigOptionsEF_ToStringBEGIN-LcConfigOptionsEF - created by 'c_MqS.tcl -i NHI1_HOME/theConfig/liblcconfig/.liblcconfig.meta' - DO NOT change.
enum liblcconfig::LcConfigTypeE
ConfigTypeE_FromIntreturn the liblcconfig::LcConfigTypeE from integer …
ConfigTypeE_ToIntreturn the liblcconfig::LcConfigTypeE as integer …
ConfigTypeE_ToStringreturn the liblcconfig::LcConfigTypeE as string …
enum liblcconfig::LcErrorESignals an error and is used as the return value of a function …
ErrorE_FromIntreturn the liblcconfig::LcErrorE from integer …
ErrorE_ToIntreturn the liblcconfig::LcErrorE as integer …
ErrorE_ToStringreturn the liblcconfig::LcErrorE as string …
enum liblcconfig::LcErrorTypeE
ErrorTypeE_FromIntreturn the liblcconfig::LcErrorTypeE from integer …
ErrorTypeE_ToIntreturn the liblcconfig::LcErrorTypeE as integer …
ErrorTypeE_ToString

return the liblcconfig::LcErrorTypeE as string …

LcConfig SETUP

Cleanupcleanup cclcconfig internal memory …
Setup

setup cclcconfig internal memory …

LcConfig DETAIL

C-API: LcConfig_C_API - The package is the toplevel structure of the Programming-Language-Micro-Kernel

The cclcconfig package is loaded with:

link: -Lpath -lcclcconfig or automake: LDADD = libcclcconfig.la

and is a composition of one or more package-item and exact one package-main.

The cclcconfig package add the following classes into MkObjectC_C_API :

Object C-Short Description
LcConfigC liblcconfig::LC_CFG The LcConfigC object known as cfg or config is the main data structure …
LcSettingC liblcconfig::LC_CFS The LcSettingC object known as cfs or setting is the main data structure.

The cclcconfig package add the following types into MkObjectC_C_API :

    ABSTRACT: MkTypeSTT (TypeTypeType = type of a TypeType)
    |
    |- ABSTRACT: MkDefTypeSTT (TypeType = type of a Type)
       |
       |- LcConfigST, LcSettingT

LcConfig ENUM

C-API: LcConfig_Enum_C_API -

enum liblcconfig::LcConfigFormatE

TOP

set the format of a LcSettingC … → API: liblcconfig::LcConfigFormatE

[static] LcConfigFormatE LcConfig::ConfigFormatE_FromInt(MK_INT value)

TOP

return the liblcconfig::LcConfigFormatE from integer … → API: cclcconfig::LcConfig::ConfigFormatE_FromInt

[static] MK_INT LcConfig::ConfigFormatE_ToInt(LcConfigFormatE value)

TOP

return the liblcconfig::LcConfigFormatE as integer … → API: cclcconfig::LcConfig::ConfigFormatE_ToInt

[static] MK_STRN LcConfig::ConfigFormatE_ToString(LcConfigFormatE value)

TOP

return the liblcconfig::LcConfigFormatE as string … → API: cclcconfig::LcConfig::ConfigFormatE_ToString


enum liblcconfig::LcConfigOptionsEF

TOP

configuration options for config-file-layout → API: liblcconfig::LcConfigOptionsEF

[static] LcConfigOptionsEF LcConfig::ConfigOptionsEF_FromInt(MK_INT value)

TOP

return the liblcconfig::LcConfigOptionsEF from integer … → API: cclcconfig::LcConfig::ConfigOptionsEF_FromInt

[static] MK_INT LcConfig::ConfigOptionsEF_ToInt(LcConfigOptionsEF value)

TOP

return the liblcconfig::LcConfigOptionsEF as integer … → API: cclcconfig::LcConfig::ConfigOptionsEF_ToInt

[static] MK_STRN LcConfig::ConfigOptionsEF_ToString(LcConfigOptionsEF value)

TOP

BEGIN-LcConfigOptionsEF - created by 'c_MqS.tcl -i NHI1_HOME/theConfig/liblcconfig/.liblcconfig.meta' - DO NOT change. → API: cclcconfig::LcConfig::ConfigOptionsEF_ToString

return the liblcconfig::LcConfigOptionsEF as string …

enum liblcconfig::LcConfigTypeE

TOP

→ API: liblcconfig::LcConfigTypeE

[static] LcConfigTypeE LcConfig::ConfigTypeE_FromInt(MK_INT value)

TOP

return the liblcconfig::LcConfigTypeE from integer … → API: cclcconfig::LcConfig::ConfigTypeE_FromInt

[static] MK_INT LcConfig::ConfigTypeE_ToInt(LcConfigTypeE value)

TOP

return the liblcconfig::LcConfigTypeE as integer … → API: cclcconfig::LcConfig::ConfigTypeE_ToInt

[static] MK_STRN LcConfig::ConfigTypeE_ToString(LcConfigTypeE value)

TOP

return the liblcconfig::LcConfigTypeE as string … → API: cclcconfig::LcConfig::ConfigTypeE_ToString


enum liblcconfig::LcErrorE

TOP

Signals an error and is used as the return value of a function … → API: liblcconfig::LcErrorE

[static] LcErrorE LcConfig::ErrorE_FromInt(MK_INT value)

TOP

return the liblcconfig::LcErrorE from integer … → API: cclcconfig::LcConfig::ErrorE_FromInt

[static] MK_INT LcConfig::ErrorE_ToInt(LcErrorE value)

TOP

return the liblcconfig::LcErrorE as integer … → API: cclcconfig::LcConfig::ErrorE_ToInt

[static] MK_STRN LcConfig::ErrorE_ToString(LcErrorE value)

TOP

return the liblcconfig::LcErrorE as string … → API: cclcconfig::LcConfig::ErrorE_ToString


enum liblcconfig::LcErrorTypeE

TOP

→ API: liblcconfig::LcErrorTypeE

[static] LcErrorTypeE LcConfig::ErrorTypeE_FromInt(MK_INT value)

TOP

return the liblcconfig::LcErrorTypeE from integer … → API: cclcconfig::LcConfig::ErrorTypeE_FromInt

[static] MK_INT LcConfig::ErrorTypeE_ToInt(LcErrorTypeE value)

TOP

return the liblcconfig::LcErrorTypeE as integer … → API: cclcconfig::LcConfig::ErrorTypeE_ToInt

[static] MK_STRN LcConfig::ErrorTypeE_ToString(LcErrorTypeE value)

TOP

return the liblcconfig::LcErrorTypeE as string … → API: cclcconfig::LcConfig::ErrorTypeE_ToString

LcConfig SETUP

C-API: LcConfig_Setup_C_API - Setup und Cleanup the cclcconfig

For details about Setup and Cleanup usage refer to MkKernel_Setup_C_API

[static] LcConfig::Cleanup()

TOP

cleanup cclcconfig internal memory … → API: cclcconfig::LcConfig::Cleanup

MkCleanup can only be called once and will be ignored if not called in the same thread as liblcconfig::LcSetup. after a call to liblcconfig::LcSetup the call to MkCleanup is possible again.

Attention
during cleanup objects will be deleted too -> the language interpreter have to be active

[static] LcConfig::Setup()

TOP

setup cclcconfig internal memory … → API: cclcconfig::LcConfig::Setup

liblcconfig::LcSetup can only be called once, additional call's will be ignored until a liblcconfig::LcCleanup is called.


LcConfigC

LcConfigC ERROR

ErrorType

LcConfigC GET

GetDefaultFormat
GetFloatPrecision
GetIncludeDir
GetOption
GetOptions
GetTabWidth

LcConfigC INTROSPECTION

Instancesget head-instance from linked-list of liblcconfig::LcConfigS type …
Nextget next instance from linked-list of liblcconfig::LcConfigS type
Prev

get previous instance from linked-list of liblcconfig::LcConfigS type

LcConfigC LOOKUP

Lookup
LookupBool
LookupFloat
LookupInt
LookupInt64
LookupString

LcConfigC MISC

Clear
Loglog the config
ReadFile
ReadString
RootSetting
WriteFile
WriteString

read the entire configuration cfg into the string val_out

LcConfigC SET

SetDefaultFormat
SetFloatPrecision
SetIncludeDir
SetIncludeFunc
SetOption
SetOptions
SetSettingDeleteFunccallback called on delete a setting, used to cleanup user data…
SetTabWidth

LcConfigC TOR

Createcreate a LcConfigC instance …
FromHandlereturn a LcConfigC from exporthdl
Delete

delete a LcConfigC instance …

LcConfigC DETAIL

C-API: LcConfigC_C_API - The LcConfigC object known as cfg or config is the main data structure …

LcConfigC ERROR

C-API: LcConfigC_Error_C_API -

LcErrorTypeE config.ErrorType()

TOP

→ API: cclcconfig::LcConfigC::ErrorType

LcConfigC GET

C-API: LcConfigC_Get_C_API -

LcConfigFormatE config.GetDefaultFormat()

TOP

→ API: cclcconfig::LcConfigC::GetDefaultFormat

MK_SRT config.GetFloatPrecision()

TOP

→ API: cclcconfig::LcConfigC::GetFloatPrecision

MK_STRN config.GetIncludeDir()

TOP

→ API: cclcconfig::LcConfigC::GetIncludeDir

MK_BOOL config.GetOption(LcConfigOptionsEF option)

TOP

→ API: cclcconfig::LcConfigC::GetOption

LcConfigOptionsEF config.GetOptions()

TOP

→ API: cclcconfig::LcConfigC::GetOptions

MK_SRT config.GetTabWidth()

TOP

→ API: cclcconfig::LcConfigC::GetTabWidth

LcConfigC INTROSPECTION

C-API: LcConfigC_Introspection_C_API - Get information about all instances created by class

[static] LcConfigC* LcConfigC::Instances()

TOP

get head-instance from linked-list of liblcconfig::LcConfigS type … → API: cclcconfig::LcConfigC::Instances

The head-instance is the last instance created.

LcConfigC* cfg.Next()

TOP

get next instance from linked-list of liblcconfig::LcConfigS type → API: cclcconfig::LcConfigC::Next

LcConfigC* cfg.Prev()

TOP

get previous instance from linked-list of liblcconfig::LcConfigS type → API: cclcconfig::LcConfigC::Prev

LcConfigC LOOKUP

C-API: LcConfigC_Lookup_C_API -

LcSettingC* config.Lookup(MK_STRN path)

TOP

→ API: cclcconfig::LcConfigC::Lookup

MK_BOOL config.LookupBool(MK_STRN path)

TOP

→ API: cclcconfig::LcConfigC::LookupBool

MK_DBL config.LookupFloat(MK_STRN path)

TOP

→ API: cclcconfig::LcConfigC::LookupFloat

MK_INT config.LookupInt(MK_STRN path)

TOP

→ API: cclcconfig::LcConfigC::LookupInt

MK_WID config.LookupInt64(MK_STRN path)

TOP

→ API: cclcconfig::LcConfigC::LookupInt64

MK_STRN config.LookupString(MK_STRN path)

TOP

→ API: cclcconfig::LcConfigC::LookupString

LcConfigC MISC

C-API: LcConfigC_Misc_C_API -

config.Clear()

TOP

→ API: cclcconfig::LcConfigC::Clear

cfg.Log(const MkObjectC* fmtobj = NULL, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_INT lvl = 0)

TOP

log the config … → API: cclcconfig::LcConfigC::Log

Parameters
[in]mkrtthe libmkkernel::MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]cfgProgramming-Language-Micro-Kernel instance from config_t
[in]fmtobjmanaged object used to format the log-message (default=NULL = use default format)
[in]debugthe debug level from libmkkernel::MkRuntimeS::debug, use 0 <= debug <= 9 (default=0)
[in]callfunca user-defined postfix to identify the calling function or the environment (default=name-of-function)
[in]lvla user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0)

config.ReadFile(MK_STRN filename)

TOP

→ API: cclcconfig::LcConfigC::ReadFile

config.ReadString(MK_STRN str)

TOP

→ API: cclcconfig::LcConfigC::ReadString

LcSettingC* config.RootSetting()

TOP

→ API: cclcconfig::LcConfigC::RootSetting

config.WriteFile(MK_STRN filename)

TOP

→ API: cclcconfig::LcConfigC::WriteFile

MK_STRN cfg.WriteString()

TOP

read the entire configuration cfg into the string val_out … → API: cclcconfig::LcConfigC::WriteString

Parameters
[in]mkrtthe libmkkernel::MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]cfgProgramming-Language-Micro-Kernel instance from config_t
[out]val_outthe entire configuration as string - value owed by MK_STRN cfg.WriteString() .
Returns
set the MkErrorC to the status libmkkernel::MK_OK, libmkkernel::MK_CONTINUE or libmkkernel::MK_ERROR

LcConfigC SET

C-API: LcConfigC_Set_C_API -

config.SetDefaultFormat(LcConfigFormatE format)

TOP

→ API: cclcconfig::LcConfigC::SetDefaultFormat

config.SetFloatPrecision(MK_SRT digits)

TOP

→ API: cclcconfig::LcConfigC::SetFloatPrecision

config.SetIncludeDir(MK_STRN include_dir)

TOP

→ API: cclcconfig::LcConfigC::SetIncludeDir

cfg.SetIncludeFunc(LcConfigIncludeCB LcConfigIncludeIF* fConfigIncludeData)

TOP

→ API: cclcconfig::LcConfigC::SetIncludeFunc

config.SetOption(LcConfigOptionsEF option, MK_BOOL flag)

TOP

→ API: cclcconfig::LcConfigC::SetOption

config.SetOptions(LcConfigOptionsEF options)

TOP

→ API: cclcconfig::LcConfigC::SetOptions

cfg.SetSettingDeleteFunc(LcSettingDeleteCB LcSettingDeleteIF* fSettingDeleteData)

TOP

callback called on delete a setting, used to cleanup user data… → API: cclcconfig::LcConfigC::SetSettingDeleteFunc

config.SetTabWidth(MK_SRT width)

TOP

→ API: cclcconfig::LcConfigC::SetTabWidth

LcConfigC TOR

C-API: LcConfigC_TOR_C_API -

[constructor] LcConfigC::Create()

TOP

create a LcConfigC instance … → API: cclcconfig::LcConfigC::Create

Parameters
[in]typethe libmkkernel::MkTypeS instance to work on - class-type with base liblcconfig::LcConfigS - (default = NULL = liblcconfig::LcConfigS)
[in]natexternal nat pointer - (default: NULL = internal)
Returns
instance of LcConfigC or NULL if setup failed

[static] LcConfigC* LcConfigC::FromHandle(MK_LONG exporthdl)

TOP

return a LcConfigC from exporthdl… → API: cclcconfig::LcConfigC::FromHandle

[destructor] cfg.Delete()

TOP

delete a LcConfigC instance … → API: liblcconfig::LcConfigDelete_RT


LcSettingC

LcSettingC GET

GetBool
GetBoolElem
GetConfigaddon - return the LcConfigC from the LcSettingC
GetElem
GetFloat
GetFloatElem
GetFormat
GetInt
GetInt64
GetInt64Elem
GetIntElem
GetMember
GetString
GetStringElem

LcSettingC INTROSPECTION

Instancesget head-instance from linked-list of liblcconfig::LcSettingS type …
Nextget next instance from linked-list of liblcconfig::LcSettingS type
Prev

get previous instance from linked-list of liblcconfig::LcSettingS type

LcSettingC IS

IsAggregate
IsArray
IsGroup
IsList
IsNumber
IsRoot
IsScalar

LcSettingC LOOKUP

Lookup
LookupAlladdon - read an entire configuration below setting into MkBufferListC
LookupBool
LookupFloat
LookupInt
LookupInt64
LookupString

LcSettingC MISC

AddIfNotExistsaddon - add name with type only if not exists in the setting
Existsaddon - return true if name exists in the setting otherwise false
Index
Length
Loglog the setting
Name
Parent
Remove
RemoveElem
SourceFile
SourceLine
Type

LcSettingC SET

SetBool
SetBoolElem
SetFloat
SetFloatElem
SetFormat
SetInt
SetInt64
SetInt64Elem
SetIntElem
SetString
SetStringElem

LcSettingC TOR

FromHandlereturn a LcSettingC from exporthdl
Add

LcSettingC DETAIL

C-API: LcSettingC_C_API - The LcSettingC object known as cfs or setting is the main data structure.

LcSettingC GET

C-API: LcSettingC_Get_C_API -

MK_BOOL setting.GetBool()

TOP

→ API: cclcconfig::LcSettingC::GetBool

MK_BOOL setting.GetBoolElem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::GetBoolElem

LcConfigC* setting.GetConfig()

TOP

addon - return the LcConfigC from the LcSettingC … → API: cclcconfig::LcSettingC::GetConfig

LcSettingC* setting.GetElem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::GetElem

MK_DBL setting.GetFloat()

TOP

→ API: cclcconfig::LcSettingC::GetFloat

MK_DBL setting.GetFloatElem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::GetFloatElem

LcConfigFormatE setting.GetFormat()

TOP

→ API: cclcconfig::LcSettingC::GetFormat

MK_INT setting.GetInt()

TOP

→ API: cclcconfig::LcSettingC::GetInt

MK_WID setting.GetInt64()

TOP

→ API: cclcconfig::LcSettingC::GetInt64

MK_WID setting.GetInt64Elem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::GetInt64Elem

MK_INT setting.GetIntElem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::GetIntElem

LcSettingC* setting.GetMember(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::GetMember

MK_STRN setting.GetString()

TOP

→ API: cclcconfig::LcSettingC::GetString

MK_STRN setting.GetStringElem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::GetStringElem

LcSettingC INTROSPECTION

C-API: LcSettingC_Introspection_C_API - Get information about all instances created by class

[static] LcSettingC* LcSettingC::Instances()

TOP

get head-instance from linked-list of liblcconfig::LcSettingS type … → API: cclcconfig::LcSettingC::Instances

The head-instance is the last instance created.

LcSettingC* cfs.Next()

TOP

get next instance from linked-list of liblcconfig::LcSettingS type → API: cclcconfig::LcSettingC::Next

LcSettingC* cfs.Prev()

TOP

get previous instance from linked-list of liblcconfig::LcSettingS type → API: cclcconfig::LcSettingC::Prev

LcSettingC IS

C-API: LcSettingC_Is_C_API -

MK_BOOL setting.IsAggregate()

TOP

→ API: cclcconfig::LcSettingC::IsAggregate

MK_BOOL setting.IsArray()

TOP

→ API: cclcconfig::LcSettingC::IsArray

MK_BOOL setting.IsGroup()

TOP

→ API: cclcconfig::LcSettingC::IsGroup

MK_BOOL setting.IsList()

TOP

→ API: cclcconfig::LcSettingC::IsList

MK_BOOL setting.IsNumber()

TOP

→ API: cclcconfig::LcSettingC::IsNumber

MK_BOOL setting.IsRoot()

TOP

→ API: cclcconfig::LcSettingC::IsRoot

MK_BOOL setting.IsScalar()

TOP

→ API: cclcconfig::LcSettingC::IsScalar

LcSettingC LOOKUP

C-API: LcSettingC_Lookup_C_API -

LcSettingC* setting.Lookup(MK_STRN path)

TOP

→ API: cclcconfig::LcSettingC::Lookup

MkBufferListC* setting.LookupAll()

TOP

addon - read an entire configuration below setting into MkBufferListC … → API: cclcconfig::LcSettingC::LookupAll

Returns
instand of MkBufferListC owned by MkBufferListC* setting.LookupAll()

MK_BOOL setting.LookupBool(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::LookupBool

MK_DBL setting.LookupFloat(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::LookupFloat

MK_INT setting.LookupInt(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::LookupInt

MK_WID setting.LookupInt64(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::LookupInt64

MK_STRN setting.LookupString(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::LookupString

LcSettingC MISC

C-API: LcSettingC_Misc_C_API -

LcSettingC* setting.AddIfNotExists(MK_STRN name, LcConfigTypeE cfgtype)

TOP

addon - add name with type only if not exists in the setting … → API: cclcconfig::LcSettingC::AddIfNotExists

MK_BOOL setting.Exists(MK_STRN name)

TOP

addon - return true if name exists in the setting otherwise false … → API: cclcconfig::LcSettingC::Exists

MK_INT setting.Index()

TOP

→ API: cclcconfig::LcSettingC::Index

MK_INT setting.Length()

TOP

→ API: cclcconfig::LcSettingC::Length

setting.Log(const MkObjectC* fmtobj = NULL, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_INT lvl = 0)

TOP

log the setting … → API: cclcconfig::LcSettingC::Log

Parameters
[in]mkrtthe libmkkernel::MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]settingsame as config_setting_t
[in]fmtobjmanaged object used to format the log-message (default=NULL = use default format)
[in]debugthe debug level from libmkkernel::MkRuntimeS::debug, use 0 <= debug <= 9 (default=0)
[in]callfunca user-defined postfix to identify the calling function or the environment (default=name-of-function)
[in]lvla user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0)

MK_STRN setting.Name()

TOP

→ API: cclcconfig::LcSettingC::Name

LcSettingC* setting.Parent()

TOP

→ API: cclcconfig::LcSettingC::Parent

parent.Remove(MK_STRN name)

TOP

→ API: cclcconfig::LcSettingC::Remove

parent.RemoveElem(MK_INT idx)

TOP

→ API: cclcconfig::LcSettingC::RemoveElem

MK_STRN setting.SourceFile()

TOP

→ API: cclcconfig::LcSettingC::SourceFile

MK_INT setting.SourceLine()

TOP

→ API: cclcconfig::LcSettingC::SourceLine

LcConfigTypeE setting.Type()

TOP

→ API: cclcconfig::LcSettingC::Type

LcSettingC SET

C-API: LcSettingC_Set_C_API -

setting.SetBool(MK_BOOL value)

TOP

→ API: cclcconfig::LcSettingC::SetBool

LcSettingC* setting.SetBoolElem(MK_INT idx, MK_INT value)

TOP

→ API: cclcconfig::LcSettingC::SetBoolElem

setting.SetFloat(MK_DBL value)

TOP

→ API: cclcconfig::LcSettingC::SetFloat

LcSettingC* setting.SetFloatElem(MK_INT idx, MK_DBL value)

TOP

→ API: cclcconfig::LcSettingC::SetFloatElem

setting.SetFormat(LcConfigFormatE format)

TOP

→ API: cclcconfig::LcSettingC::SetFormat

setting.SetInt(MK_INT value)

TOP

→ API: cclcconfig::LcSettingC::SetInt

setting.SetInt64(MK_WID value)

TOP

→ API: cclcconfig::LcSettingC::SetInt64

LcSettingC* setting.SetInt64Elem(MK_INT idx, MK_WID value)

TOP

→ API: cclcconfig::LcSettingC::SetInt64Elem

LcSettingC* setting.SetIntElem(MK_INT idx, MK_INT value)

TOP

→ API: cclcconfig::LcSettingC::SetIntElem

setting.SetString(MK_STRN value)

TOP

→ API: cclcconfig::LcSettingC::SetString

LcSettingC* setting.SetStringElem(MK_INT idx, MK_STRN value)

TOP

→ API: cclcconfig::LcSettingC::SetStringElem

LcSettingC TOR

C-API: LcSettingC_TOR_C_API -

[static] LcSettingC* LcSettingC::FromHandle(MK_LONG exporthdl)

TOP

return a LcSettingC from exporthdl… → API: cclcconfig::LcSettingC::FromHandle

[constructor] parent.Add(MK_STRN name, LcConfigTypeE __type)

TOP

→ API: cclcconfig::LcSettingC::Add


EXAMPLES


SEE ALSO

liblcconfig, cclcconfig, cslcconfig, javalcconfig, golcconfig, pylcconfig, rubylcconfig, tcllcconfig, perllcconfig, phplcconfig

KEYWORDS

C++, unix, libconfig