theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - 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 …
 
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 …
 
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 …
 
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 …
 
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 …
 
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

LC_EXTERN MK_I32 LcConfigFormatE_ToIntP (enum LcConfigFormatE value)
 Non-inline replacement for LcConfigFormatE_ToInt
 
LC_EXTERN MK_I32 LcConfigOptionsEF_ToIntP (enum LcConfigOptionsEF value)
 Non-inline replacement for LcConfigOptionsEF_ToInt
 
LC_EXTERN MK_I32 LcConfigTypeE_ToIntP (enum LcConfigTypeE value)
 Non-inline replacement for LcConfigTypeE_ToInt
 
LC_EXTERN MK_I32 LcErrorE_ToIntP (enum LcErrorE value)
 Non-inline replacement for LcErrorE_ToInt
 
LC_EXTERN 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:
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:47
#define MK_EMBEDDED(type, call,...)

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:
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
Definition LcEnum_lc.h:151

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:
LcConfigTypeE
define the data-type of a LcSettingC …
Definition LcEnum_lc.h:95

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:
LcErrorE
Signals an error and is used as the return value of a function …
Definition LcEnum_lc.h:205

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:
LcErrorTypeE
error types
Definition LcEnum_lc.h:245

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

47 {
50};
@ CONFIG_FORMAT_DEFAULT
Definition LcEnum_lc.h:48
@ CONFIG_FORMAT_HEX
Definition LcEnum_lc.h:49

◆ LcConfigOptionsEF

define the configuration-option of a LcConfigC

Enumerator
CONFIG_OPTION_NONE 
CONFIG_OPTION_AUTOCONVERT 
CONFIG_OPTION_SEMICOLON_SEPARATORS 
CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS 
CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS 
CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE 
CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION 
CONFIG_OPTION_FSYNC 
CONFIG_OPTION_ALLOW_OVERRIDES 

Definition at line 151 of file LcEnum_lc.h.

151 {
161};
@ CONFIG_OPTION_FSYNC
Definition LcEnum_lc.h:159
@ CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS
Definition LcEnum_lc.h:155
@ CONFIG_OPTION_AUTOCONVERT
Definition LcEnum_lc.h:153
@ CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS
Definition LcEnum_lc.h:156
@ CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION
Definition LcEnum_lc.h:158
@ CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE
Definition LcEnum_lc.h:157
@ CONFIG_OPTION_SEMICOLON_SEPARATORS
Definition LcEnum_lc.h:154
@ CONFIG_OPTION_NONE
Definition LcEnum_lc.h:152
@ CONFIG_OPTION_ALLOW_OVERRIDES
Definition LcEnum_lc.h:160

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

95 {
105};
@ CONFIG_TYPE_NONE
Definition LcEnum_lc.h:96
@ CONFIG_TYPE_GROUP
Definition LcEnum_lc.h:97
@ CONFIG_TYPE_LIST
Definition LcEnum_lc.h:104
@ CONFIG_TYPE_INT64
Definition LcEnum_lc.h:99
@ CONFIG_TYPE_INT
Definition LcEnum_lc.h:98
@ CONFIG_TYPE_FLOAT
Definition LcEnum_lc.h:100
@ CONFIG_TYPE_STRING
Definition LcEnum_lc.h:101
@ CONFIG_TYPE_ARRAY
Definition LcEnum_lc.h:103
@ CONFIG_TYPE_BOOL
Definition LcEnum_lc.h:102

◆ LcErrorE

enum LcErrorE

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

Enumerator
CONFIG_FALSE 
CONFIG_TRUE 

Definition at line 205 of file LcEnum_lc.h.

205 {
206 CONFIG_FALSE=0,
207 CONFIG_TRUE=1,
208};
@ CONFIG_FALSE
Definition LcEnum_lc.h:206
@ CONFIG_TRUE
Definition LcEnum_lc.h:207

◆ LcErrorTypeE

error types

Enumerator
CONFIG_ERRROR_NONE 
CONFIG_ERRROR_FILE_IO 
CONFIG_ERRROR_PARSE 

Definition at line 245 of file LcEnum_lc.h.

245 {
249};
@ CONFIG_ERRROR_FILE_IO
Definition LcEnum_lc.h:247
@ CONFIG_ERRROR_PARSE
Definition LcEnum_lc.h:248
@ CONFIG_ERRROR_NONE
Definition LcEnum_lc.h:246

Function Documentation

◆ LcConfigFormatE_FromInt()

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

return the LcConfigFormatE from integer …

◆ LcConfigFormatE_ToInt()

MK_I32 LcConfigFormatE_ToInt ( enum LcConfigFormatE value)
inline

return the LcConfigFormatE as integer …

Definition at line 72 of file LcEnum_lc.h.

72 {
73 return (MK_I32) value;
74}
signed int MK_I32

◆ LcConfigFormatE_ToIntP()

LC_EXTERN MK_I32 LcConfigFormatE_ToIntP ( enum LcConfigFormatE value)

Non-inline replacement for LcConfigFormatE_ToInt

◆ LcConfigFormatE_ToString()

MK_STRN LcConfigFormatE_ToString ( enum LcConfigFormatE value)
extern

return the LcConfigFormatE as string …

◆ LcConfigOptionsEF_FromInt()

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

return the LcConfigOptionsEF from integer …

◆ LcConfigOptionsEF_ToInt()

MK_I32 LcConfigOptionsEF_ToInt ( enum LcConfigOptionsEF value)
inline

return the LcConfigOptionsEF as integer …

Definition at line 183 of file LcEnum_lc.h.

183 {
184 return (MK_I32) value;
185}

◆ LcConfigOptionsEF_ToIntP()

LC_EXTERN MK_I32 LcConfigOptionsEF_ToIntP ( enum LcConfigOptionsEF value)

Non-inline replacement for LcConfigOptionsEF_ToInt

◆ LcConfigOptionsEF_ToString()

MK_STRN LcConfigOptionsEF_ToString ( enum LcConfigOptionsEF value)
extern

return the LcConfigOptionsEF as string …

◆ LcConfigTypeE_FromInt()

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

return the LcConfigTypeE from integer …

◆ LcConfigTypeE_ToInt()

MK_I32 LcConfigTypeE_ToInt ( enum LcConfigTypeE value)
inline

return the LcConfigTypeE as integer …

Definition at line 127 of file LcEnum_lc.h.

127 {
128 return (MK_I32) value;
129}

◆ LcConfigTypeE_ToIntP()

LC_EXTERN MK_I32 LcConfigTypeE_ToIntP ( enum LcConfigTypeE value)

Non-inline replacement for LcConfigTypeE_ToInt

◆ LcConfigTypeE_ToString()

MK_STRN LcConfigTypeE_ToString ( enum LcConfigTypeE value)
extern

return the LcConfigTypeE as string …

◆ LcErrorE_FromInt()

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

return the LcErrorE from integer …

◆ LcErrorE_ToInt()

MK_I32 LcErrorE_ToInt ( enum LcErrorE value)
inline

return the LcErrorE as integer …

Definition at line 222 of file LcEnum_lc.h.

222 {
223 return (MK_I32) value;
224}

◆ LcErrorE_ToIntP()

LC_EXTERN MK_I32 LcErrorE_ToIntP ( enum LcErrorE value)

Non-inline replacement for LcErrorE_ToInt

◆ LcErrorE_ToString()

MK_STRN LcErrorE_ToString ( enum LcErrorE value)
extern

return the LcErrorE as string …

◆ LcErrorTypeE_FromInt()

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

return the LcErrorTypeE from integer …

◆ LcErrorTypeE_ToInt()

MK_I32 LcErrorTypeE_ToInt ( enum LcErrorTypeE value)
inline

return the LcErrorTypeE as integer …

Definition at line 263 of file LcEnum_lc.h.

263 {
264 return (MK_I32) value;
265}

◆ LcErrorTypeE_ToIntP()

LC_EXTERN MK_I32 LcErrorTypeE_ToIntP ( enum LcErrorTypeE value)

Non-inline replacement for LcErrorTypeE_ToInt

◆ LcErrorTypeE_ToString()

MK_STRN LcErrorTypeE_ToString ( enum LcErrorTypeE value)
extern

return the LcErrorTypeE as string …