theConfig 10.0
Loading...
Searching...
No Matches
LcConfig_Enum_C_API

LcConfig PACKAGE - definition of the enum type … More...

+ Collaboration diagram for LcConfig_Enum_C_API:

LcConfigFormatE

enum  liblcconfig::LcConfigFormatE { liblcconfig::CONFIG_FORMAT_DEFAULT =0 , liblcconfig::CONFIG_FORMAT_HEX =1 }
 set the format of a LcSettingCMore...
 
typedef enum LcConfigFormatE liblcconfig::LcConfigFormatE
 define the number-format of a LcSettingC
 
MK_STRN liblcconfig::LcConfigFormatE_ToString (enum LcConfigFormatE value)
 return the LcConfigFormatE as string …
 
static MK_I32 liblcconfig::LcConfigFormatE_ToInt (enum LcConfigFormatE value)
 return the LcConfigFormatE as integer …
 
enum MkErrorE liblcconfig::LcConfigFormatE_FromInt (MK_I32 const value, enum LcConfigFormatE *value_out)
 return the LcConfigFormatE from integer …
 

LcConfigTypeE

enum  liblcconfig::LcConfigTypeE {
  liblcconfig::CONFIG_TYPE_NONE =0 , liblcconfig::CONFIG_TYPE_GROUP =1 , liblcconfig::CONFIG_TYPE_INT =2 , liblcconfig::CONFIG_TYPE_INT64 =3 ,
  liblcconfig::CONFIG_TYPE_FLOAT =4 , liblcconfig::CONFIG_TYPE_STRING =5 , liblcconfig::CONFIG_TYPE_BOOL =6 , liblcconfig::CONFIG_TYPE_ARRAY =7 ,
  liblcconfig::CONFIG_TYPE_LIST =8
}
 define the data-type of a LcSettingCMore...
 
typedef enum LcConfigTypeE liblcconfig::LcConfigTypeE
 define the data-type of a LcSettingC
 
MK_STRN liblcconfig::LcConfigTypeE_ToString (enum LcConfigTypeE value)
 return the LcConfigTypeE as string …
 
static MK_I32 liblcconfig::LcConfigTypeE_ToInt (enum LcConfigTypeE value)
 return the LcConfigTypeE as integer …
 
enum MkErrorE liblcconfig::LcConfigTypeE_FromInt (MK_I32 const value, enum LcConfigTypeE *value_out)
 return the LcConfigTypeE from integer …
 

LcConfigOptionsEF

enum  liblcconfig::LcConfigOptionsEF {
  liblcconfig::CONFIG_OPTION_NONE =0x0 , liblcconfig::CONFIG_OPTION_AUTOCONVERT =0x01 , liblcconfig::CONFIG_OPTION_SEMICOLON_SEPARATORS =0x02 , liblcconfig::CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS =0x04 ,
  liblcconfig::CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS =0x08 , liblcconfig::CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE =0x10 , liblcconfig::CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION =0x20 , liblcconfig::CONFIG_OPTION_FSYNC =0x40 ,
  liblcconfig::CONFIG_OPTION_ALLOW_OVERRIDES =0x80
}
 define the configuration-option of a LcConfigCMore...
 
typedef enum LcConfigOptionsEF liblcconfig::LcConfigOptionsEF
 define the configuration-option of a LcConfigC
 
MK_STRN liblcconfig::LcConfigOptionsEF_ToString (enum LcConfigOptionsEF value)
 return the LcConfigOptionsEF as string …
 
static MK_I32 liblcconfig::LcConfigOptionsEF_ToInt (enum LcConfigOptionsEF value)
 return the LcConfigOptionsEF as integer …
 
enum MkErrorE liblcconfig::LcConfigOptionsEF_FromInt (MK_I32 const value, enum LcConfigOptionsEF *value_out)
 return the LcConfigOptionsEF from integer …
 

LcErrorE

enum  liblcconfig::LcErrorE { liblcconfig::CONFIG_FALSE =0 , liblcconfig::CONFIG_TRUE =1 }
 Signals an error and is used as the return value of a function … More...
 
MK_STRN liblcconfig::LcErrorE_ToString (enum LcErrorE value)
 return the LcErrorE as string …
 
static MK_I32 liblcconfig::LcErrorE_ToInt (enum LcErrorE value)
 return the LcErrorE as integer …
 
enum MkErrorE liblcconfig::LcErrorE_FromInt (MK_I32 const value, enum LcErrorE *value_out)
 return the LcErrorE from integer …
 

LcErrorTypeE

enum  liblcconfig::LcErrorTypeE { liblcconfig::CONFIG_ERRROR_NONE = 0 , liblcconfig::CONFIG_ERRROR_FILE_IO = 1 , liblcconfig::CONFIG_ERRROR_PARSE = 2 }
 error types More...
 
MK_STRN liblcconfig::LcErrorTypeE_ToString (enum LcErrorTypeE value)
 return the LcErrorTypeE as string …
 
static MK_I32 liblcconfig::LcErrorTypeE_ToInt (enum LcErrorTypeE value)
 return the LcErrorTypeE as integer …
 
enum MkErrorE liblcconfig::LcErrorTypeE_FromInt (MK_I32 const value, enum LcErrorTypeE *value_out)
 return the LcErrorTypeE from integer …
 

LcConfig - LcConfig_Enum_C_API - overload

#define LcConfigFormatE_FromInt_E(...)
 
#define LcConfigFormatE_FromInt_C(...)
 
#define LcConfigFormatE_FromInt_e(...)
 
#define LcConfigOptionsEF_FromInt_E(...)
 
#define LcConfigOptionsEF_FromInt_C(...)
 
#define LcConfigOptionsEF_FromInt_e(...)
 
#define LcConfigTypeE_FromInt_E(...)
 
#define LcConfigTypeE_FromInt_C(...)
 
#define LcConfigTypeE_FromInt_e(...)
 
#define LcErrorE_FromInt_E(...)
 
#define LcErrorE_FromInt_C(...)
 
#define LcErrorE_FromInt_e(...)
 
#define LcErrorTypeE_FromInt_E(...)
 
#define LcErrorTypeE_FromInt_C(...)
 
#define LcErrorTypeE_FromInt_e(...)
 

Detailed Description

LcConfig PACKAGE - definition of the enum type …

read more at: MkKernel_Enum_C_API

Macro Definition Documentation

◆ LcConfigFormatE_FromInt_C

#define LcConfigFormatE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcConfigFormatE_FromInt(__VA_ARGS__)))

Definition at line 21 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_E

#define LcConfigFormatE_FromInt_E ( ...)
Value:
MkErrorCheck(LcConfigFormatE_FromInt(__VA_ARGS__))

Definition at line 20 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_e

#define LcConfigFormatE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcConfigFormatE,LcConfigFormatE_FromInt,__VA_ARGS__)

Definition at line 22 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_C

#define LcConfigOptionsEF_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcConfigOptionsEF_FromInt(__VA_ARGS__)))

Definition at line 24 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_E

#define LcConfigOptionsEF_FromInt_E ( ...)
Value:
MkErrorCheck(LcConfigOptionsEF_FromInt(__VA_ARGS__))

Definition at line 23 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_e

#define LcConfigOptionsEF_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcConfigOptionsEF,LcConfigOptionsEF_FromInt,__VA_ARGS__)

Definition at line 25 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_C

#define LcConfigTypeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcConfigTypeE_FromInt(__VA_ARGS__)))

Definition at line 27 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_E

#define LcConfigTypeE_FromInt_E ( ...)
Value:
MkErrorCheck(LcConfigTypeE_FromInt(__VA_ARGS__))

Definition at line 26 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_e

#define LcConfigTypeE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcConfigTypeE,LcConfigTypeE_FromInt,__VA_ARGS__)

Definition at line 28 of file config_overload_lc.h.

◆ LcErrorE_FromInt_C

#define LcErrorE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcErrorE_FromInt(__VA_ARGS__)))

Definition at line 30 of file config_overload_lc.h.

◆ LcErrorE_FromInt_E

#define LcErrorE_FromInt_E ( ...)
Value:
MkErrorCheck(LcErrorE_FromInt(__VA_ARGS__))

Definition at line 29 of file config_overload_lc.h.

◆ LcErrorE_FromInt_e

#define LcErrorE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcErrorE,LcErrorE_FromInt,__VA_ARGS__)

Definition at line 31 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_C

#define LcErrorTypeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcErrorTypeE_FromInt(__VA_ARGS__)))

Definition at line 33 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_E

#define LcErrorTypeE_FromInt_E ( ...)
Value:
MkErrorCheck(LcErrorTypeE_FromInt(__VA_ARGS__))

Definition at line 32 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_e

#define LcErrorTypeE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcErrorTypeE,LcErrorTypeE_FromInt,__VA_ARGS__)

Definition at line 34 of file config_overload_lc.h.

Typedef Documentation

◆ LcConfigFormatE

◆ LcConfigOptionsEF

◆ LcConfigTypeE

Enumeration Type Documentation

◆ LcConfigFormatE

set the format of a LcSettingC

Enumerator
CONFIG_FORMAT_DEFAULT 
CONFIG_FORMAT_HEX 

Definition at line 30 of file LcEnum_lc.h.

30 {
33};
#define CONFIG_FORMAT_DEFAULT
#define CONFIG_FORMAT_HEX

◆ LcConfigOptionsEF

define the configuration-option of a LcConfigC

Enumerator
CONFIG_OPTION_NONE 0x0 
CONFIG_OPTION_AUTOCONVERT 0x01 
CONFIG_OPTION_SEMICOLON_SEPARATORS 0x02 
CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS 0x04 
CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS 0x08 
CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE 0x10 
CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION 0x20 
CONFIG_OPTION_FSYNC 0x40 
CONFIG_OPTION_ALLOW_OVERRIDES 0x80 

Definition at line 134 of file LcEnum_lc.h.

134 {
144};
@ CONFIG_OPTION_NONE
Definition LcEnum_lc.h:135
#define CONFIG_OPTION_SEMICOLON_SEPARATORS
#define CONFIG_OPTION_FSYNC
#define CONFIG_OPTION_AUTOCONVERT
#define CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION
#define CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS
#define CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE
#define CONFIG_OPTION_ALLOW_OVERRIDES
#define CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS

◆ LcConfigTypeE

define the data-type of a LcSettingC

Enumerator
CONFIG_TYPE_NONE 
CONFIG_TYPE_GROUP 
CONFIG_TYPE_INT 
CONFIG_TYPE_INT64 
CONFIG_TYPE_FLOAT 
CONFIG_TYPE_STRING 
CONFIG_TYPE_BOOL 
CONFIG_TYPE_ARRAY 
CONFIG_TYPE_LIST 

Definition at line 78 of file LcEnum_lc.h.

78 {
88};
#define CONFIG_TYPE_STRING
#define CONFIG_TYPE_LIST
#define CONFIG_TYPE_INT
#define CONFIG_TYPE_ARRAY
#define CONFIG_TYPE_GROUP
#define CONFIG_TYPE_BOOL
#define CONFIG_TYPE_INT64
#define CONFIG_TYPE_NONE
#define CONFIG_TYPE_FLOAT

◆ LcErrorE

Signals an error and is used as the return value of a function …

Enumerator
CONFIG_FALSE 
CONFIG_TRUE 

Definition at line 188 of file LcEnum_lc.h.

188 {
189 CONFIG_FALSE=0,
190 CONFIG_TRUE=1,
191};
#define CONFIG_TRUE
#define CONFIG_FALSE

◆ LcErrorTypeE

error types

Enumerator
CONFIG_ERRROR_NONE 
CONFIG_ERRROR_FILE_IO 
CONFIG_ERRROR_PARSE 

Definition at line 228 of file LcEnum_lc.h.

228 {
232};
@ CONFIG_ERRROR_NONE
Definition LcEnum_lc.h:229
@ CONFIG_ERRROR_PARSE
Definition LcEnum_lc.h:231
@ CONFIG_ERRROR_FILE_IO
Definition LcEnum_lc.h:230

Function Documentation

◆ LcConfigFormatE_FromInt()

enum MkErrorE liblcconfig::LcConfigFormatE_FromInt ( MK_I32 const value,
enum LcConfigFormatE * value_out )

return the LcConfigFormatE from integer …

+ Here is the caller graph for this function:

◆ LcConfigFormatE_ToInt()

static MK_I32 liblcconfig::LcConfigFormatE_ToInt ( enum LcConfigFormatE value)
inlinestatic

return the LcConfigFormatE as integer …

Definition at line 55 of file LcEnum_lc.h.

55 {
56 return (MK_I32) value;
57}
+ Here is the caller graph for this function:

◆ LcConfigFormatE_ToString()

MK_STRN liblcconfig::LcConfigFormatE_ToString ( enum LcConfigFormatE value)

return the LcConfigFormatE as string …

+ Here is the caller graph for this function:

◆ LcConfigOptionsEF_FromInt()

enum MkErrorE liblcconfig::LcConfigOptionsEF_FromInt ( MK_I32 const value,
enum LcConfigOptionsEF * value_out )

return the LcConfigOptionsEF from integer …

+ Here is the caller graph for this function:

◆ LcConfigOptionsEF_ToInt()

static MK_I32 liblcconfig::LcConfigOptionsEF_ToInt ( enum LcConfigOptionsEF value)
inlinestatic

return the LcConfigOptionsEF as integer …

Definition at line 166 of file LcEnum_lc.h.

166 {
167 return (MK_I32) value;
168}
+ Here is the caller graph for this function:

◆ LcConfigOptionsEF_ToString()

MK_STRN liblcconfig::LcConfigOptionsEF_ToString ( enum LcConfigOptionsEF value)

return the LcConfigOptionsEF as string …

+ Here is the caller graph for this function:

◆ LcConfigTypeE_FromInt()

enum MkErrorE liblcconfig::LcConfigTypeE_FromInt ( MK_I32 const value,
enum LcConfigTypeE * value_out )

return the LcConfigTypeE from integer …

+ Here is the caller graph for this function:

◆ LcConfigTypeE_ToInt()

static MK_I32 liblcconfig::LcConfigTypeE_ToInt ( enum LcConfigTypeE value)
inlinestatic

return the LcConfigTypeE as integer …

Definition at line 110 of file LcEnum_lc.h.

110 {
111 return (MK_I32) value;
112}
+ Here is the caller graph for this function:

◆ LcConfigTypeE_ToString()

MK_STRN liblcconfig::LcConfigTypeE_ToString ( enum LcConfigTypeE value)

return the LcConfigTypeE as string …

+ Here is the caller graph for this function:

◆ LcErrorE_FromInt()

enum MkErrorE liblcconfig::LcErrorE_FromInt ( MK_I32 const value,
enum LcErrorE * value_out )

return the LcErrorE from integer …

+ Here is the caller graph for this function:

◆ LcErrorE_ToInt()

static MK_I32 liblcconfig::LcErrorE_ToInt ( enum LcErrorE value)
inlinestatic

return the LcErrorE as integer …

Definition at line 205 of file LcEnum_lc.h.

205 {
206 return (MK_I32) value;
207}
+ Here is the caller graph for this function:

◆ LcErrorE_ToString()

MK_STRN liblcconfig::LcErrorE_ToString ( enum LcErrorE value)

return the LcErrorE as string …

+ Here is the caller graph for this function:

◆ LcErrorTypeE_FromInt()

enum MkErrorE liblcconfig::LcErrorTypeE_FromInt ( MK_I32 const value,
enum LcErrorTypeE * value_out )

return the LcErrorTypeE from integer …

+ Here is the caller graph for this function:

◆ LcErrorTypeE_ToInt()

static MK_I32 liblcconfig::LcErrorTypeE_ToInt ( enum LcErrorTypeE value)
inlinestatic

return the LcErrorTypeE as integer …

Definition at line 246 of file LcEnum_lc.h.

246 {
247 return (MK_I32) value;
248}
+ Here is the caller graph for this function:

◆ LcErrorTypeE_ToString()

MK_STRN liblcconfig::LcErrorTypeE_ToString ( enum LcErrorTypeE value)

return the LcErrorTypeE as string …

+ Here is the caller graph for this function: