theConfig 10.0
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 165 of file LcSettingC_jv.c.

165 {
166 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
167 JavaErrorCheck;
168 MkRtSetup_X(hdl);
169 MK_BOOL __retVal__L = LcSettingGetBool(hdl);
170 jboolean __retVal__S = __retVal__L;
171 return __retVal__S;
172error:
173 return 0;
174}
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 177 of file LcSettingC_jv.c.

177 {
178 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
179 JavaErrorCheck;
180 MkRtSetup_X(hdl);
181 MK_BOOL __retVal__L = LcSettingGetBoolElem(hdl, idx);
182 jboolean __retVal__S = __retVal__L;
183 return __retVal__S;
184error:
185 return 0;
186}
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 128 of file LcSettingC_jv.c.

128 {
129 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
130 JavaErrorCheck;
131 MkRtSetup_X(hdl);
132 LC_CFS __retVal__L = LcSettingGetElem(hdl, idx);
133 if (__retVal__L == NULL) {
134 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.GetElem");
135 goto error;
136 }
137 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
138 return __retVal__S;
139error:
140 return 0;
141}
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 189 of file LcSettingC_jv.c.

189 {
190 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
191 JavaErrorCheck;
192 MkRtSetup_X(hdl);
193 MK_DBL __retVal__L = LcSettingGetFloat(hdl);
194 jdouble __retVal__S = __retVal__L;
195 return __retVal__S;
196error:
197 return 0;
198}
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 201 of file LcSettingC_jv.c.

201 {
202 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
203 JavaErrorCheck;
204 MkRtSetup_X(hdl);
205 MK_DBL __retVal__L = LcSettingGetFloatElem(hdl, idx);
206 jdouble __retVal__S = __retVal__L;
207 return __retVal__S;
208error:
209 return 0;
210}
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 213 of file LcSettingC_jv.c.

213 {
214 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
215 JavaErrorCheck;
216 MkRtSetup_X(hdl);
217 enum LcConfigFormatE __retVal__L = LcSettingGetFormat(hdl);
218 jobject __retVal__S = MK(pGetEnumFromString)(env,LC(Class_LcConfigFormatE),"Ljvlcconfig/LcConfigFormatE;",LcConfigFormatE_ToString(__retVal__L));
219 return __retVal__S;
220error:
221 return 0;
222}
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:30
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 225 of file LcSettingC_jv.c.

225 {
226 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
227 JavaErrorCheck;
228 MkRtSetup_X(hdl);
229 MK_I32 __retVal__L = LcSettingGetInt(hdl);
230 jint __retVal__S = __retVal__L;
231 return __retVal__S;
232error:
233 return 0;
234}
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 237 of file LcSettingC_jv.c.

237 {
238 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
239 JavaErrorCheck;
240 MkRtSetup_X(hdl);
241 MK_I64 __retVal__L = LcSettingGetInt64(hdl);
242 jlong __retVal__S = __retVal__L;
243 return __retVal__S;
244error:
245 return 0;
246}
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 249 of file LcSettingC_jv.c.

249 {
250 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
251 JavaErrorCheck;
252 MkRtSetup_X(hdl);
253 MK_I64 __retVal__L = LcSettingGetInt64Elem(hdl, idx);
254 jlong __retVal__S = __retVal__L;
255 return __retVal__S;
256error:
257 return 0;
258}
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 261 of file LcSettingC_jv.c.

261 {
262 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
263 JavaErrorCheck;
264 MkRtSetup_X(hdl);
265 MK_I32 __retVal__L = LcSettingGetIntElem(hdl, idx);
266 jint __retVal__S = __retVal__L;
267 return __retVal__S;
268error:
269 return 0;
270}
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 144 of file LcSettingC_jv.c.

144 {
145 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
146 JavaErrorCheck;
147 MkRtSetup_X(hdl);
148 MK_STRN name_ptr = (name?(*env)->GetStringUTFChars(env,name,NULL):NULL);
149 JavaErrorCheck;
150 LC_CFS __retVal__L = LcSettingGetMember(hdl, name_ptr);
151 if (__retVal__L == NULL) {
152 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.GetMember");
153 goto error;
154 }
155 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
156 if (name_ptr) (*env)->ReleaseStringUTFChars(env,name,name_ptr);
157 return __retVal__S;
158error:
159 return 0;
160}
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 273 of file LcSettingC_jv.c.

273 {
274 LC_CFSN hdl = (LC_CFSN)pObj2Hdl(env,"LcSettingC",self);
275 JavaErrorCheck;
276 MkRtSetup_X(hdl);
277 MK_STRN __retVal__L = LcSettingGetString(hdl);
278 jstring __retVal__S = JC2O(env,__retVal__L);
279 return __retVal__S;
280error:
281 return 0;
282}
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 285 of file LcSettingC_jv.c.

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