theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
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 151 of file LcConfigC_jv.c.

151 {
152 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
153 JavaErrorCheck;
154 MkRtSetup_X(hdl);
155 enum LcConfigFormatE __retVal__L = LcConfigGetDefaultFormat(hdl);
156 jobject __retVal__S = MK(pGetEnumFromString)(env,LC(Class_LcConfigFormatE),"Ljvlcconfig/LcConfigFormatE;",LcConfigFormatE_ToString(__retVal__L));
157 return __retVal__S;
158error:
159 return 0;
160}
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:33
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 163 of file LcConfigC_jv.c.

163 {
164 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
165 JavaErrorCheck;
166 MkRtSetup_X(hdl);
167 MK_I16 __retVal__L = LcConfigGetFloatPrecision(hdl);
168 jshort __retVal__S = __retVal__L;
169 return __retVal__S;
170error:
171 return 0;
172}
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 175 of file LcConfigC_jv.c.

175 {
176 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
177 JavaErrorCheck;
178 MkRtSetup_X(hdl);
179 MK_STRN __retVal__L = LcConfigGetIncludeDir(hdl);
180 jstring __retVal__S = JC2O(env,__retVal__L);
181 return __retVal__S;
182error:
183 return 0;
184}
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 187 of file LcConfigC_jv.c.

187 {
188 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
189 JavaErrorCheck;
190 MkRtSetup_X(hdl);
191 enum LcConfigOptionsEF option_e = MK(pGetEnumFromObj)(env, NS(Class_LcConfigOptionsEF), option);
192 JavaErrorCheck;
193 MK_BOOL __retVal__L = LcConfigGetOption(hdl, option_e);
194 jboolean __retVal__S = __retVal__L;
195 return __retVal__S;
196error:
197 return 0;
198}
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:137
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 201 of file LcConfigC_jv.c.

201 {
202 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
203 JavaErrorCheck;
204 MkRtSetup_X(hdl);
205 enum LcConfigOptionsEF __retVal__L = LcConfigGetOptions(hdl);
206 jobject __retVal__S = MK(pGetEnumFlagFromInt)(env,LC(Class_LcConfigOptionsEF),__retVal__L);
207 return __retVal__S;
208error:
209 return 0;
210}
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 213 of file LcConfigC_jv.c.

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