theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
LcSettingC_Get_JV_API

LcSettingC - various functions to get data from a settingMore...

+ Collaboration diagram for LcSettingC_Get_JV_API:

Functions

native LcSettingC jvlcconfig.LcSettingC.GetElem (int idx)
  Java: LcSettingC setting.GetElem(int idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
native LcSettingC jvlcconfig.LcSettingC.GetMember (String name)
  Java: LcSettingC setting.GetMember(String name) C-API
This function fetches the child setting named name from the group setting
 
native boolean jvlcconfig.LcSettingC.GetBool ()
  Java: boolean setting.GetBool() C-API
These functions return the value of the given setting
 
native boolean jvlcconfig.LcSettingC.GetBoolElem (int idx)
  Java: boolean setting.GetBoolElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
native double jvlcconfig.LcSettingC.GetFloat ()
  Java: double setting.GetFloat() C-API
These functions return the value of the given setting
 
native double jvlcconfig.LcSettingC.GetFloatElem (int idx)
  Java: double setting.GetFloatElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
native LcConfigFormatE jvlcconfig.LcSettingC.GetFormat ()
  Java: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
native int jvlcconfig.LcSettingC.GetInt ()
  Java: int setting.GetInt() C-API
These functions return the value of the given setting
 
native long jvlcconfig.LcSettingC.GetInt64 ()
  Java: long setting.GetInt64() C-API
These functions return the value of the given setting
 
native long jvlcconfig.LcSettingC.GetInt64Elem (int idx)
  Java: long setting.GetInt64Elem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
native int jvlcconfig.LcSettingC.GetIntElem (int idx)
  Java: int setting.GetIntElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
native String jvlcconfig.LcSettingC.GetString ()
  Java: String setting.GetString() C-API
These functions return the value of the given setting
 
native String jvlcconfig.LcSettingC.GetStringElem (int idx)
  Java: String setting.GetStringElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetElem (JNIEnv *env, jobject self, jint idx)
  Java: LcSettingC setting.GetElem(int idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetMember (JNIEnv *env, jobject self, jstring name)
  Java: LcSettingC setting.GetMember(String name) C-API
This function fetches the child setting named name from the group setting
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_GetBool (JNIEnv *env, jobject self)
  Java: boolean setting.GetBool() C-API
These functions return the value of the given setting
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_GetBoolElem (JNIEnv *env, jobject self, jint idx)
  Java: boolean setting.GetBoolElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
JNIEXPORT jdouble JNICALL Java_jvlcconfig_LcSettingC_GetFloat (JNIEnv *env, jobject self)
  Java: double setting.GetFloat() C-API
These functions return the value of the given setting
 
JNIEXPORT jdouble JNICALL Java_jvlcconfig_LcSettingC_GetFloatElem (JNIEnv *env, jobject self, jint idx)
  Java: double setting.GetFloatElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetFormat (JNIEnv *env, jobject self)
  Java: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_GetInt (JNIEnv *env, jobject self)
  Java: int setting.GetInt() C-API
These functions return the value of the given setting
 
JNIEXPORT jlong JNICALL Java_jvlcconfig_LcSettingC_GetInt64 (JNIEnv *env, jobject self)
  Java: long setting.GetInt64() C-API
These functions return the value of the given setting
 
JNIEXPORT jlong JNICALL Java_jvlcconfig_LcSettingC_GetInt64Elem (JNIEnv *env, jobject self, jint idx)
  Java: long setting.GetInt64Elem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_GetIntElem (JNIEnv *env, jobject self, jint idx)
  Java: int setting.GetIntElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
JNIEXPORT jstring JNICALL Java_jvlcconfig_LcSettingC_GetString (JNIEnv *env, jobject self)
  Java: String setting.GetString() C-API
These functions return the value of the given setting
 
JNIEXPORT jstring JNICALL Java_jvlcconfig_LcSettingC_GetStringElem (JNIEnv *env, jobject self, jint idx)
  Java: String setting.GetStringElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 

Detailed Description

LcSettingC - various functions to get data from a setting

Function Documentation

◆ GetBool()

native boolean jvlcconfig.LcSettingC.GetBool ( )

Java: boolean setting.GetBool() C-API
These functions return the value of the given setting

◆ GetBoolElem()

native boolean jvlcconfig.LcSettingC.GetBoolElem ( int idx)

Java: boolean setting.GetBoolElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

◆ GetElem()

native LcSettingC jvlcconfig.LcSettingC.GetElem ( int idx)

Java: LcSettingC setting.GetElem(int idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …

◆ GetFloat()

native double jvlcconfig.LcSettingC.GetFloat ( )

Java: double setting.GetFloat() C-API
These functions return the value of the given setting

◆ GetFloatElem()

native double jvlcconfig.LcSettingC.GetFloatElem ( int idx)

Java: double setting.GetFloatElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

◆ GetFormat()

native LcConfigFormatE jvlcconfig.LcSettingC.GetFormat ( )

Java: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting

◆ GetInt()

native int jvlcconfig.LcSettingC.GetInt ( )

Java: int setting.GetInt() C-API
These functions return the value of the given setting

◆ GetInt64()

native long jvlcconfig.LcSettingC.GetInt64 ( )

Java: long setting.GetInt64() C-API
These functions return the value of the given setting

◆ GetInt64Elem()

native long jvlcconfig.LcSettingC.GetInt64Elem ( int idx)

Java: long setting.GetInt64Elem(int idx) C-API
These functions return the value at the specified index index in the setting setting

◆ GetIntElem()

native int jvlcconfig.LcSettingC.GetIntElem ( int idx)

Java: int setting.GetIntElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

◆ GetMember()

native LcSettingC jvlcconfig.LcSettingC.GetMember ( String name)

Java: LcSettingC setting.GetMember(String name) C-API
This function fetches the child setting named name from the group setting

◆ GetString()

native String jvlcconfig.LcSettingC.GetString ( )

Java: String setting.GetString() C-API
These functions return the value of the given setting

◆ GetStringElem()

native String jvlcconfig.LcSettingC.GetStringElem ( int idx)

Java: String setting.GetStringElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

◆ Java_jvlcconfig_LcSettingC_GetBool()

JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_GetBool ( JNIEnv * env,
jobject self )

Java: boolean setting.GetBool() C-API
These functions return the value of the given setting

Definition at line 168 of file LcSettingC_jv.c.

168 {
169 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
170 JavaErrorCheck;
171 MkRtSetup_X(hdl);
172 MK_BOOL __retVal__L = LcSettingGetBool(hdl);
173 jboolean __retVal__S = __retVal__L;
174 return __retVal__S;
175error:
176 return 0;
177}
const struct LcSettingS * LC_CFSN
class-shortcut for const struct LcSettingS *, all const shortcut using the XX_YYYC syntax (only for p...
static MK_BOOL LcSettingGetBool(LC_CFSN setting)
These functions return the value of the given setting …
bool MK_BOOL
#define MkRtSetup_X(x)
Struct to represent the data from the LcSettingC …

◆ Java_jvlcconfig_LcSettingC_GetBoolElem()

JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_GetBoolElem ( JNIEnv * env,
jobject self,
jint idx )

Java: boolean setting.GetBoolElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 180 of file LcSettingC_jv.c.

180 {
181 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
182 JavaErrorCheck;
183 MkRtSetup_X(hdl);
184 MK_BOOL __retVal__L = LcSettingGetBoolElem(hdl, idx);
185 jboolean __retVal__S = __retVal__L;
186 return __retVal__S;
187error:
188 return 0;
189}
static MK_BOOL LcSettingGetBoolElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ Java_jvlcconfig_LcSettingC_GetElem()

JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetElem ( JNIEnv * env,
jobject self,
jint idx )

Java: LcSettingC setting.GetElem(int idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …

Definition at line 131 of file LcSettingC_jv.c.

131 {
132 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
133 JavaErrorCheck;
134 MkRtSetup_X(hdl);
135 LC_CFS __retVal__L = LcSettingGetElem(hdl, idx);
136 if (__retVal__L == NULL) {
137 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.GetElem");
138 goto error;
139 }
140 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
141 return __retVal__S;
142error:
143 return 0;
144}
static MK_ARTIFICIAL LC_CFS LcSettingC_ObjNew(config_setting_t *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static LC_CFS LcSettingGetElem(LC_CFSN setting, MK_I32 idx)
This function fetches the element at the given index index in the setting setting,...
#define MK_RT_CALL

◆ Java_jvlcconfig_LcSettingC_GetFloat()

JNIEXPORT jdouble JNICALL Java_jvlcconfig_LcSettingC_GetFloat ( JNIEnv * env,
jobject self )

Java: double setting.GetFloat() C-API
These functions return the value of the given setting

Definition at line 192 of file LcSettingC_jv.c.

192 {
193 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
194 JavaErrorCheck;
195 MkRtSetup_X(hdl);
196 MK_DBL __retVal__L = LcSettingGetFloat(hdl);
197 jdouble __retVal__S = __retVal__L;
198 return __retVal__S;
199error:
200 return 0;
201}
static MK_DBL LcSettingGetFloat(LC_CFSN setting)
These functions return the value of the given setting …
double MK_DBL

◆ Java_jvlcconfig_LcSettingC_GetFloatElem()

JNIEXPORT jdouble JNICALL Java_jvlcconfig_LcSettingC_GetFloatElem ( JNIEnv * env,
jobject self,
jint idx )

Java: double setting.GetFloatElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 204 of file LcSettingC_jv.c.

204 {
205 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
206 JavaErrorCheck;
207 MkRtSetup_X(hdl);
208 MK_DBL __retVal__L = LcSettingGetFloatElem(hdl, idx);
209 jdouble __retVal__S = __retVal__L;
210 return __retVal__S;
211error:
212 return 0;
213}
static MK_DBL LcSettingGetFloatElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ Java_jvlcconfig_LcSettingC_GetFormat()

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

Java: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting

Definition at line 216 of file LcSettingC_jv.c.

216 {
217 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
218 JavaErrorCheck;
219 MkRtSetup_X(hdl);
220 enum LcConfigFormatE __retVal__L = LcSettingGetFormat(hdl);
221 jobject __retVal__S = MK(pGetEnumFromString)(env,LC(Class_LcConfigFormatE),"Ljvlcconfig/LcConfigFormatE;",LcConfigFormatE_ToString(__retVal__L));
222 return __retVal__S;
223error:
224 return 0;
225}
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:33
MK_STRN LcConfigFormatE_ToString(enum LcConfigFormatE value)
return the LcConfigFormatE as string …
static enum LcConfigFormatE LcSettingGetFormat(LC_CFSN setting)
These functions get and set the external format for the setting setting …

◆ Java_jvlcconfig_LcSettingC_GetInt()

JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_GetInt ( JNIEnv * env,
jobject self )

Java: int setting.GetInt() C-API
These functions return the value of the given setting

Definition at line 228 of file LcSettingC_jv.c.

228 {
229 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
230 JavaErrorCheck;
231 MkRtSetup_X(hdl);
232 MK_I32 __retVal__L = LcSettingGetInt(hdl);
233 jint __retVal__S = __retVal__L;
234 return __retVal__S;
235error:
236 return 0;
237}
static MK_I32 LcSettingGetInt(LC_CFSN setting)
These functions return the value of the given setting …
signed int MK_I32

◆ Java_jvlcconfig_LcSettingC_GetInt64()

JNIEXPORT jlong JNICALL Java_jvlcconfig_LcSettingC_GetInt64 ( JNIEnv * env,
jobject self )

Java: long setting.GetInt64() C-API
These functions return the value of the given setting

Definition at line 240 of file LcSettingC_jv.c.

240 {
241 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
242 JavaErrorCheck;
243 MkRtSetup_X(hdl);
244 MK_I64 __retVal__L = LcSettingGetInt64(hdl);
245 jlong __retVal__S = __retVal__L;
246 return __retVal__S;
247error:
248 return 0;
249}
static MK_I64 LcSettingGetInt64(LC_CFSN setting)
These functions return the value of the given setting …
signed long long MK_I64

◆ Java_jvlcconfig_LcSettingC_GetInt64Elem()

JNIEXPORT jlong JNICALL Java_jvlcconfig_LcSettingC_GetInt64Elem ( JNIEnv * env,
jobject self,
jint idx )

Java: long setting.GetInt64Elem(int idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 252 of file LcSettingC_jv.c.

252 {
253 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
254 JavaErrorCheck;
255 MkRtSetup_X(hdl);
256 MK_I64 __retVal__L = LcSettingGetInt64Elem(hdl, idx);
257 jlong __retVal__S = __retVal__L;
258 return __retVal__S;
259error:
260 return 0;
261}
static MK_I64 LcSettingGetInt64Elem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ Java_jvlcconfig_LcSettingC_GetIntElem()

JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_GetIntElem ( JNIEnv * env,
jobject self,
jint idx )

Java: int setting.GetIntElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 264 of file LcSettingC_jv.c.

264 {
265 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
266 JavaErrorCheck;
267 MkRtSetup_X(hdl);
268 MK_I32 __retVal__L = LcSettingGetIntElem(hdl, idx);
269 jint __retVal__S = __retVal__L;
270 return __retVal__S;
271error:
272 return 0;
273}
static MK_I32 LcSettingGetIntElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ Java_jvlcconfig_LcSettingC_GetMember()

JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetMember ( JNIEnv * env,
jobject self,
jstring name )

Java: LcSettingC setting.GetMember(String name) C-API
This function fetches the child setting named name from the group setting

Definition at line 147 of file LcSettingC_jv.c.

147 {
148 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
149 JavaErrorCheck;
150 MkRtSetup_X(hdl);
151 MK_STRN name_ptr = (name?(*env)->GetStringUTFChars(env,name,NULL):NULL);
152 JavaErrorCheck;
153 LC_CFS __retVal__L = LcSettingGetMember(hdl, name_ptr);
154 if (__retVal__L == NULL) {
155 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.GetMember");
156 goto error;
157 }
158 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
159 if (name_ptr) (*env)->ReleaseStringUTFChars(env,name,name_ptr);
160 return __retVal__S;
161error:
162 return 0;
163}
static LC_CFS LcSettingGetMember(LC_CFSN setting, MK_STRN name)
This function fetches the child setting named name from the group setting …
const MK_STRB * MK_STRN

◆ Java_jvlcconfig_LcSettingC_GetString()

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

Java: String setting.GetString() C-API
These functions return the value of the given setting

Definition at line 276 of file LcSettingC_jv.c.

276 {
277 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
278 JavaErrorCheck;
279 MkRtSetup_X(hdl);
280 MK_STRN __retVal__L = LcSettingGetString(hdl);
281 jstring __retVal__S = JC2O(env,__retVal__L);
282 return __retVal__S;
283error:
284 return 0;
285}
static MK_STRN LcSettingGetString(LC_CFSN setting)
These functions return the value of the given setting …

◆ Java_jvlcconfig_LcSettingC_GetStringElem()

JNIEXPORT jstring JNICALL Java_jvlcconfig_LcSettingC_GetStringElem ( JNIEnv * env,
jobject self,
jint idx )

Java: String setting.GetStringElem(int idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 288 of file LcSettingC_jv.c.

288 {
289 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
290 JavaErrorCheck;
291 MkRtSetup_X(hdl);
292 MK_STRN __retVal__L = LcSettingGetStringElem(hdl, idx);
293 jstring __retVal__S = JC2O(env,__retVal__L);
294 return __retVal__S;
295error:
296 return 0;
297}
static MK_STRN LcSettingGetStringElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …