theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
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  LcConfigFormatE { CONFIG_FORMAT_DEFAULT =0 , CONFIG_FORMAT_HEX =1 }
 set the format of a LcSettingCMore...
 
typedef enum LcConfigFormatE LcConfigFormatE
 define the number-format of a LcSettingC
 
MK_STRN LcConfigFormatE_ToString (enum LcConfigFormatE value)
 return the LcConfigFormatE as string …
 
static MK_I32 LcConfigFormatE_ToInt (enum LcConfigFormatE value)
 return the LcConfigFormatE as integer …
 
enum MkErrorE LcConfigFormatE_FromInt (MK_I32 const value, enum LcConfigFormatE *value_out)
 return the LcConfigFormatE from integer …
 

LcConfigTypeE

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

LcConfigOptionsEF

enum  LcConfigOptionsEF {
  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
}
 define the configuration-option of a LcConfigCMore...
 
typedef enum LcConfigOptionsEF LcConfigOptionsEF
 define the configuration-option of a LcConfigC
 
MK_STRN LcConfigOptionsEF_ToString (enum LcConfigOptionsEF value)
 return the LcConfigOptionsEF as string …
 
static MK_I32 LcConfigOptionsEF_ToInt (enum LcConfigOptionsEF value)
 return the LcConfigOptionsEF as integer …
 
enum MkErrorE LcConfigOptionsEF_FromInt (MK_I32 const value, enum LcConfigOptionsEF *value_out)
 return the LcConfigOptionsEF from integer …
 

LcErrorE

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

LcErrorTypeE

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

LcConfig - LcConfig_Enum_C_API - function

MK_I32 LcConfigFormatE_ToIntP (enum LcConfigFormatE value)
 Non-inline replacement for LcConfigFormatE_ToInt
 
MK_I32 LcConfigOptionsEF_ToIntP (enum LcConfigOptionsEF value)
 Non-inline replacement for LcConfigOptionsEF_ToInt
 
MK_I32 LcConfigTypeE_ToIntP (enum LcConfigTypeE value)
 Non-inline replacement for LcConfigTypeE_ToInt
 
MK_I32 LcErrorE_ToIntP (enum LcErrorE value)
 Non-inline replacement for LcErrorE_ToInt
 
MK_I32 LcErrorTypeE_ToIntP (enum LcErrorTypeE value)
 Non-inline replacement for LcErrorTypeE_ToInt
 

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__)))
enum MkErrorE LcConfigFormatE_FromInt(MK_I32 const value, enum LcConfigFormatE *value_out)
return the LcConfigFormatE from integer …

Definition at line 24 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_E

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

Definition at line 23 of file config_overload_lc.h.

◆ LcConfigFormatE_FromInt_e

#define LcConfigFormatE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcConfigFormatE,LcConfigFormatE_FromInt,__VA_ARGS__)
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:33

Definition at line 25 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_C

#define LcConfigOptionsEF_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcConfigOptionsEF_FromInt(__VA_ARGS__)))
enum MkErrorE LcConfigOptionsEF_FromInt(MK_I32 const value, enum LcConfigOptionsEF *value_out)
return the LcConfigOptionsEF from integer …

Definition at line 27 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_E

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

Definition at line 26 of file config_overload_lc.h.

◆ LcConfigOptionsEF_FromInt_e

#define LcConfigOptionsEF_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcConfigOptionsEF,LcConfigOptionsEF_FromInt,__VA_ARGS__)
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
Definition LcEnum_lc.h:137

Definition at line 28 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_C

#define LcConfigTypeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcConfigTypeE_FromInt(__VA_ARGS__)))
enum MkErrorE LcConfigTypeE_FromInt(MK_I32 const value, enum LcConfigTypeE *value_out)
return the LcConfigTypeE from integer …

Definition at line 30 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_E

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

Definition at line 29 of file config_overload_lc.h.

◆ LcConfigTypeE_FromInt_e

#define LcConfigTypeE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcConfigTypeE,LcConfigTypeE_FromInt,__VA_ARGS__)
LcConfigTypeE
define the data-type of a LcSettingC …
Definition LcEnum_lc.h:81

Definition at line 31 of file config_overload_lc.h.

◆ LcErrorE_FromInt_C

#define LcErrorE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcErrorE_FromInt(__VA_ARGS__)))
enum MkErrorE LcErrorE_FromInt(MK_I32 const value, enum LcErrorE *value_out)
return the LcErrorE from integer …

Definition at line 33 of file config_overload_lc.h.

◆ LcErrorE_FromInt_E

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

Definition at line 32 of file config_overload_lc.h.

◆ LcErrorE_FromInt_e

#define LcErrorE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcErrorE,LcErrorE_FromInt,__VA_ARGS__)
LcErrorE
Signals an error and is used as the return value of a function …
Definition LcEnum_lc.h:191

Definition at line 34 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_C

#define LcErrorTypeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(LcErrorTypeE_FromInt(__VA_ARGS__)))
enum MkErrorE LcErrorTypeE_FromInt(MK_I32 const value, enum LcErrorTypeE *value_out)
return the LcErrorTypeE from integer …

Definition at line 36 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_E

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

Definition at line 35 of file config_overload_lc.h.

◆ LcErrorTypeE_FromInt_e

#define LcErrorTypeE_FromInt_e ( ...)
Value:
MK_EMBEDDED(enum LcErrorTypeE,LcErrorTypeE_FromInt,__VA_ARGS__)
LcErrorTypeE
error types
Definition LcEnum_lc.h:231

Definition at line 37 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 33 of file LcEnum_lc.h.

33 {
36};
@ CONFIG_FORMAT_DEFAULT
Definition LcEnum_lc.h:34
@ CONFIG_FORMAT_HEX
Definition LcEnum_lc.h:35

◆ 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 137 of file LcEnum_lc.h.

137 {
147};
@ CONFIG_OPTION_FSYNC
Definition LcEnum_lc.h:145
@ CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS
Definition LcEnum_lc.h:141
@ CONFIG_OPTION_AUTOCONVERT
Definition LcEnum_lc.h:139
@ CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS
Definition LcEnum_lc.h:142
@ CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION
Definition LcEnum_lc.h:144
@ CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE
Definition LcEnum_lc.h:143
@ CONFIG_OPTION_SEMICOLON_SEPARATORS
Definition LcEnum_lc.h:140
@ CONFIG_OPTION_NONE
Definition LcEnum_lc.h:138
@ CONFIG_OPTION_ALLOW_OVERRIDES
Definition LcEnum_lc.h:146

◆ 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 81 of file LcEnum_lc.h.

81 {
91};
@ CONFIG_TYPE_NONE
Definition LcEnum_lc.h:82
@ CONFIG_TYPE_GROUP
Definition LcEnum_lc.h:83
@ CONFIG_TYPE_LIST
Definition LcEnum_lc.h:90
@ CONFIG_TYPE_INT64
Definition LcEnum_lc.h:85
@ CONFIG_TYPE_INT
Definition LcEnum_lc.h:84
@ CONFIG_TYPE_FLOAT
Definition LcEnum_lc.h:86
@ CONFIG_TYPE_STRING
Definition LcEnum_lc.h:87
@ CONFIG_TYPE_ARRAY
Definition LcEnum_lc.h:89
@ CONFIG_TYPE_BOOL
Definition LcEnum_lc.h:88

◆ LcErrorE

enum LcErrorE

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

Enumerator
CONFIG_FALSE 
CONFIG_TRUE 

Definition at line 191 of file LcEnum_lc.h.

191 {
192 CONFIG_FALSE=0,
193 CONFIG_TRUE=1,
194};
@ CONFIG_FALSE
Definition LcEnum_lc.h:192
@ CONFIG_TRUE
Definition LcEnum_lc.h:193

◆ LcErrorTypeE

error types

Enumerator
CONFIG_ERRROR_NONE 
CONFIG_ERRROR_FILE_IO 
CONFIG_ERRROR_PARSE 

Definition at line 231 of file LcEnum_lc.h.

231 {
235};
@ CONFIG_ERRROR_FILE_IO
Definition LcEnum_lc.h:233
@ CONFIG_ERRROR_PARSE
Definition LcEnum_lc.h:234
@ CONFIG_ERRROR_NONE
Definition LcEnum_lc.h:232

Function Documentation

◆ LcConfigFormatE_FromInt()

enum MkErrorE 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 LcConfigFormatE_ToInt ( enum LcConfigFormatE value)
inlinestatic

return the LcConfigFormatE as integer …

Definition at line 58 of file LcEnum_lc.h.

58 {
59 return (MK_I32) value;
60}
signed int MK_I32
+ Here is the caller graph for this function:

◆ LcConfigFormatE_ToIntP()

MK_I32 LcConfigFormatE_ToIntP ( enum LcConfigFormatE value)

Non-inline replacement for LcConfigFormatE_ToInt

◆ LcConfigFormatE_ToString()

MK_STRN LcConfigFormatE_ToString ( enum LcConfigFormatE value)

return the LcConfigFormatE as string …

+ Here is the caller graph for this function:

◆ LcConfigOptionsEF_FromInt()

enum MkErrorE 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 LcConfigOptionsEF_ToInt ( enum LcConfigOptionsEF value)
inlinestatic

return the LcConfigOptionsEF as integer …

Definition at line 169 of file LcEnum_lc.h.

169 {
170 return (MK_I32) value;
171}
+ Here is the caller graph for this function:

◆ LcConfigOptionsEF_ToIntP()

MK_I32 LcConfigOptionsEF_ToIntP ( enum LcConfigOptionsEF value)

Non-inline replacement for LcConfigOptionsEF_ToInt

◆ LcConfigOptionsEF_ToString()

MK_STRN LcConfigOptionsEF_ToString ( enum LcConfigOptionsEF value)

return the LcConfigOptionsEF as string …

+ Here is the caller graph for this function:

◆ LcConfigTypeE_FromInt()

enum MkErrorE 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 LcConfigTypeE_ToInt ( enum LcConfigTypeE value)
inlinestatic

return the LcConfigTypeE as integer …

Definition at line 113 of file LcEnum_lc.h.

113 {
114 return (MK_I32) value;
115}
+ Here is the caller graph for this function:

◆ LcConfigTypeE_ToIntP()

MK_I32 LcConfigTypeE_ToIntP ( enum LcConfigTypeE value)

Non-inline replacement for LcConfigTypeE_ToInt

◆ LcConfigTypeE_ToString()

MK_STRN LcConfigTypeE_ToString ( enum LcConfigTypeE value)

return the LcConfigTypeE as string …

+ Here is the caller graph for this function:

◆ LcErrorE_FromInt()

enum MkErrorE 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 LcErrorE_ToInt ( enum LcErrorE value)
inlinestatic

return the LcErrorE as integer …

Definition at line 208 of file LcEnum_lc.h.

208 {
209 return (MK_I32) value;
210}
+ Here is the caller graph for this function:

◆ LcErrorE_ToIntP()

MK_I32 LcErrorE_ToIntP ( enum LcErrorE value)

Non-inline replacement for LcErrorE_ToInt

◆ LcErrorE_ToString()

MK_STRN LcErrorE_ToString ( enum LcErrorE value)

return the LcErrorE as string …

+ Here is the caller graph for this function:

◆ LcErrorTypeE_FromInt()

enum MkErrorE 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 LcErrorTypeE_ToInt ( enum LcErrorTypeE value)
inlinestatic

return the LcErrorTypeE as integer …

Definition at line 249 of file LcEnum_lc.h.

249 {
250 return (MK_I32) value;
251}
+ Here is the caller graph for this function:

◆ LcErrorTypeE_ToIntP()

MK_I32 LcErrorTypeE_ToIntP ( enum LcErrorTypeE value)

Non-inline replacement for LcErrorTypeE_ToInt

◆ LcErrorTypeE_ToString()

MK_STRN LcErrorTypeE_ToString ( enum LcErrorTypeE value)

return the LcErrorTypeE as string …

+ Here is the caller graph for this function: