theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Get_JV_API

LcConfigC - various functions to get config-dataMore...

+ Collaboration diagram for LcConfigC_Get_JV_API:

Functions

native LcConfigFormatE jvlcconfig.LcConfigC.GetDefaultFormat ()
  Java: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
native short jvlcconfig.LcConfigC.GetFloatPrecision ()
  Java: short config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
native String jvlcconfig.LcConfigC.GetIncludeDir ()
  Java: String config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
native boolean jvlcconfig.LcConfigC.GetOption (LcConfigOptionsEF option)
  Java: boolean config.GetOption(LcConfigOptionsEF option) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
native LcConfigOptionsEF jvlcconfig.LcConfigC.GetOptions ()
  Java: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config
 
native short jvlcconfig.LcConfigC.GetTabWidth ()
  Java: short config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcConfigC_GetDefaultFormat (JNIEnv *env, jobject self)
  Java: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
JNIEXPORT jshort JNICALL Java_jvlcconfig_LcConfigC_GetFloatPrecision (JNIEnv *env, jobject self)
  Java: short config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
JNIEXPORT jstring JNICALL Java_jvlcconfig_LcConfigC_GetIncludeDir (JNIEnv *env, jobject self)
  Java: String config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcConfigC_GetOption (JNIEnv *env, jobject self, jobject option)
  Java: boolean config.GetOption(LcConfigOptionsEF option) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcConfigC_GetOptions (JNIEnv *env, jobject self)
  Java: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config
 
JNIEXPORT jshort JNICALL Java_jvlcconfig_LcConfigC_GetTabWidth (JNIEnv *env, jobject self)
  Java: short config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 

Detailed Description

LcConfigC - various functions to get config-data

Function Documentation

◆ GetDefaultFormat()

native LcConfigFormatE jvlcconfig.LcConfigC.GetDefaultFormat ( )

Java: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config

◆ GetFloatPrecision()

native short jvlcconfig.LcConfigC.GetFloatPrecision ( )

Java: short config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …

◆ GetIncludeDir()

native String jvlcconfig.LcConfigC.GetIncludeDir ( )

Java: String config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config

◆ GetOption()

native boolean jvlcconfig.LcConfigC.GetOption ( LcConfigOptionsEF option)

Java: boolean config.GetOption(LcConfigOptionsEF option) C-API
Since v1.7 These functions get and set the given option of the configuration config

◆ GetOptions()

native LcConfigOptionsEF jvlcconfig.LcConfigC.GetOptions ( )

Java: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config

◆ GetTabWidth()

native short jvlcconfig.LcConfigC.GetTabWidth ( )

Java: short config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config

◆ Java_jvlcconfig_LcConfigC_GetDefaultFormat()

JNIEXPORT jobject JNICALL Java_jvlcconfig_LcConfigC_GetDefaultFormat ( JNIEnv * env,
jobject self )

Java: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config

Definition at line 148 of file LcConfigC_jv.c.

148 {
149 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
150 JavaErrorCheck;
151 MkRtSetup_X(hdl);
152 enum LcConfigFormatE __retVal__L = LcConfigGetDefaultFormat(hdl);
153 jobject __retVal__S = MK(pGetEnumFromString)(env,LC(Class_LcConfigFormatE),"Ljvlcconfig/LcConfigFormatE;",LcConfigFormatE_ToString(__retVal__L));
154 return __retVal__S;
155error:
156 return 0;
157}
const struct LcConfigS * LC_CFGN
class-shortcut for const struct LcConfigS *, all const shortcut using the XX_YYYC syntax (only for pu...
static enum LcConfigFormatE LcConfigGetDefaultFormat(LC_CFGN config)
These functions, which are implemented as macros, get and set the default external format for setting...
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:30
MK_STRN LcConfigFormatE_ToString(enum LcConfigFormatE value)
return the LcConfigFormatE as string …
#define MkRtSetup_X(x)
Struct to represent the data from the LcConfigC …

◆ Java_jvlcconfig_LcConfigC_GetFloatPrecision()

JNIEXPORT jshort JNICALL Java_jvlcconfig_LcConfigC_GetFloatPrecision ( JNIEnv * env,
jobject self )

Java: short config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …

Definition at line 160 of file LcConfigC_jv.c.

160 {
161 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
162 JavaErrorCheck;
163 MkRtSetup_X(hdl);
164 MK_I16 __retVal__L = LcConfigGetFloatPrecision(hdl);
165 jshort __retVal__S = __retVal__L;
166 return __retVal__S;
167error:
168 return 0;
169}
static MK_I16 LcConfigGetFloatPrecision(LC_CFGN config)
Since v1.6 These functions get and set the number of decimal digits to output after the radix charact...
signed short int MK_I16

◆ Java_jvlcconfig_LcConfigC_GetIncludeDir()

JNIEXPORT jstring JNICALL Java_jvlcconfig_LcConfigC_GetIncludeDir ( JNIEnv * env,
jobject self )

Java: String config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config

Definition at line 172 of file LcConfigC_jv.c.

172 {
173 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
174 JavaErrorCheck;
175 MkRtSetup_X(hdl);
176 MK_STRN __retVal__L = LcConfigGetIncludeDir(hdl);
177 jstring __retVal__S = JC2O(env,__retVal__L);
178 return __retVal__S;
179error:
180 return 0;
181}
static MK_STRN LcConfigGetIncludeDir(LC_CFGN config)
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specifi...
const MK_STRB * MK_STRN

◆ Java_jvlcconfig_LcConfigC_GetOption()

JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcConfigC_GetOption ( JNIEnv * env,
jobject self,
jobject option )

Java: boolean config.GetOption(LcConfigOptionsEF option) C-API
Since v1.7 These functions get and set the given option of the configuration config

Definition at line 184 of file LcConfigC_jv.c.

184 {
185 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
186 JavaErrorCheck;
187 MkRtSetup_X(hdl);
188 enum LcConfigOptionsEF option_e = MK(pGetEnumFromObj)(env, NS(Class_LcConfigOptionsEF), option);
189 JavaErrorCheck;
190 MK_BOOL __retVal__L = LcConfigGetOption(hdl, option_e);
191 jboolean __retVal__S = __retVal__L;
192 return __retVal__S;
193error:
194 return 0;
195}
static MK_BOOL LcConfigGetOption(LC_CFGN config, enum LcConfigOptionsEF option)
Since v1.7 These functions get and set the given option of the configuration config …
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
Definition LcEnum_lc.h:134
bool MK_BOOL

◆ Java_jvlcconfig_LcConfigC_GetOptions()

JNIEXPORT jobject JNICALL Java_jvlcconfig_LcConfigC_GetOptions ( JNIEnv * env,
jobject self )

Java: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config

Definition at line 198 of file LcConfigC_jv.c.

198 {
199 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
200 JavaErrorCheck;
201 MkRtSetup_X(hdl);
202 enum LcConfigOptionsEF __retVal__L = LcConfigGetOptions(hdl);
203 jobject __retVal__S = MK(pGetEnumFlagFromInt)(env,LC(Class_LcConfigOptionsEF),__retVal__L);
204 return __retVal__S;
205error:
206 return 0;
207}
static enum LcConfigOptionsEF LcConfigGetOptions(LC_CFGN config)
These functions get and set the options for the configuration config …

◆ Java_jvlcconfig_LcConfigC_GetTabWidth()

JNIEXPORT jshort JNICALL Java_jvlcconfig_LcConfigC_GetTabWidth ( JNIEnv * env,
jobject self )

Java: short config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config

Definition at line 210 of file LcConfigC_jv.c.

210 {
211 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
212 JavaErrorCheck;
213 MkRtSetup_X(hdl);
214 MK_I16 __retVal__L = LcConfigGetTabWidth(hdl);
215 jshort __retVal__S = __retVal__L;
216 return __retVal__S;
217error:
218 return 0;
219}
static MK_I16 LcConfigGetTabWidth(LC_CFGN config)
These functions, which are implemented as macros, get and set the tab width for the configuration con...