theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_TOR_C_API

LcSettingC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for LcSettingC_TOR_C_API:

Functions

static LC_CFS liblcconfig::LcSettingAdd (LC_CFS parent, MK_STRN name, enum LcConfigTypeE __type)
 This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 

Detailed Description

LcSettingC - various functions to create, initialize and destroy …

Function Documentation

◆ LcSettingAdd()

static LC_CFS liblcconfig::LcSettingAdd ( LC_CFS parent,
MK_STRN name,
enum LcConfigTypeE __type )
inlinestatic

This function adds a new child setting or element to the setting parent, which must be a group, array, or list …

If parent is an array or list, the name parameter is ignored and may be NULL.

The function returns the new setting on success, or NULL if parent is not a group, array, or list; or if there is already a child setting of parent named name; or if type is invalid. If type is a scalar type, the new setting will have a default value of 0, 0.0, false, or NULL, as appropriate.

Definition at line 459 of file LcSettingC_lc.h.

459 {
460 LC_INSTANCE_HDL(parent);
461 return LcSettingC_ObjCreate(config_setting_add(parent->nat, name, __type));
462 }
#define LC_INSTANCE_HDL(x)
LIBCONFIG_API config_setting_t * config_setting_add(config_setting_t *parent, const char *name, int __type)
+ Here is the caller graph for this function: