theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Set_JV_API

LcSettingC - various functions to set date into a settingMore...

+ Collaboration diagram for LcSettingC_Set_JV_API:

Functions

native LcSettingC jvlcconfig.LcSettingC.SetBoolElem (int idx, int value)
  Java: LcSettingC setting.SetBoolElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
native LcSettingC jvlcconfig.LcSettingC.SetFloatElem (int idx, double value)
  Java: LcSettingC setting.SetFloatElem(int idx, double value) C-API
These functions set the value at the specified index index in the setting setting to value
 
native LcSettingC jvlcconfig.LcSettingC.SetInt64Elem (int idx, long value)
  Java: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value
 
native LcSettingC jvlcconfig.LcSettingC.SetIntElem (int idx, int value)
  Java: LcSettingC setting.SetIntElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
native LcSettingC jvlcconfig.LcSettingC.SetStringElem (int idx, String value)
  Java: LcSettingC setting.SetStringElem(int idx, String value) C-API
These functions set the value at the specified index index in the setting setting to value
 
native void jvlcconfig.LcSettingC.SetBool (boolean value)
  Java: setting.SetBool(boolean value) C-API
These functions set the value of the given setting to value
 
native void jvlcconfig.LcSettingC.SetFloat (double value)
  Java: setting.SetFloat(double value) C-API
These functions set the value of the given setting to value
 
native void jvlcconfig.LcSettingC.SetFormat (LcConfigFormatE format)
  Java: setting.SetFormat(LcConfigFormatE format) C-API
These functions get and set the external format for the setting setting
 
native void jvlcconfig.LcSettingC.SetInt (int value)
  Java: setting.SetInt(int value) C-API
These functions set the value of the given setting to value
 
native void jvlcconfig.LcSettingC.SetInt64 (long value)
  Java: setting.SetInt64(long value) C-API
These functions set the value of the given setting to value
 
native void jvlcconfig.LcSettingC.SetString (String value)
  Java: setting.SetString(String value) C-API
These functions set the value of the given setting to value
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_SetBoolElem (JNIEnv *env, jobject self, jint idx, jint value)
  Java: LcSettingC setting.SetBoolElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_SetFloatElem (JNIEnv *env, jobject self, jint idx, jdouble value)
  Java: LcSettingC setting.SetFloatElem(int idx, double value) C-API
These functions set the value at the specified index index in the setting setting to value
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_SetInt64Elem (JNIEnv *env, jobject self, jint idx, jlong value)
  Java: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_SetIntElem (JNIEnv *env, jobject self, jint idx, jint value)
  Java: LcSettingC setting.SetIntElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_SetStringElem (JNIEnv *env, jobject self, jint idx, jstring value)
  Java: LcSettingC setting.SetStringElem(int idx, String value) C-API
These functions set the value at the specified index index in the setting setting to value
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetBool (JNIEnv *env, jobject self, jboolean value)
  Java: setting.SetBool(boolean value) C-API
These functions set the value of the given setting to value
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetFloat (JNIEnv *env, jobject self, jdouble value)
  Java: setting.SetFloat(double value) C-API
These functions set the value of the given setting to value
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetFormat (JNIEnv *env, jobject self, jobject format)
  Java: setting.SetFormat(LcConfigFormatE format) C-API
These functions get and set the external format for the setting setting
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetInt (JNIEnv *env, jobject self, jint value)
  Java: setting.SetInt(int value) C-API
These functions set the value of the given setting to value
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetInt64 (JNIEnv *env, jobject self, jlong value)
  Java: setting.SetInt64(long value) C-API
These functions set the value of the given setting to value
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetString (JNIEnv *env, jobject self, jstring value)
  Java: setting.SetString(String value) C-API
These functions set the value of the given setting to value
 

Detailed Description

LcSettingC - various functions to set date into a setting

Function Documentation

◆ Java_jvlcconfig_LcSettingC_SetBool()

JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetBool ( JNIEnv * env,
jobject self,
jboolean value )

Java: setting.SetBool(boolean value) C-API
These functions set the value of the given setting to value

Definition at line 769 of file LcSettingC_jv.c.

769 {
770 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
771 JavaErrorCheck;
772 MkRtSetup_X(hdl);
773 enum MkErrorE errVal = LcSettingSetBool(hdl, value);
774 MkErrorC_Check(hdl, errVal)
775error:
776 return;
777}
struct LcSettingS * LC_CFS
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) …
static enum MkErrorE LcSettingSetBool(LC_CFS setting, MK_BOOL value)
These functions set the value of the given setting to value …
MkErrorE
#define MkRtSetup_X(x)
Struct to represent the data from the LcSettingC …

◆ Java_jvlcconfig_LcSettingC_SetBoolElem()

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

Java: LcSettingC setting.SetBoolElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 684 of file LcSettingC_jv.c.

684 {
685 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
686 JavaErrorCheck;
687 MkRtSetup_X(hdl);
688 LC_CFS __retVal__L = LcSettingSetBoolElem(hdl, idx, value);
689 if (__retVal__L == NULL) {
690 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.SetBoolElem");
691 goto error;
692 }
693 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
694 return __retVal__S;
695error:
696 return 0;
697}
static MK_ARTIFICIAL LC_CFS LcSettingC_ObjNew(config_setting_t *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static LC_CFS LcSettingSetBoolElem(LC_CFS setting, MK_I32 idx, MK_I32 value)
These functions set the value at the specified index index in the setting setting to value …
#define MK_RT_CALL

◆ Java_jvlcconfig_LcSettingC_SetFloat()

JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetFloat ( JNIEnv * env,
jobject self,
jdouble value )

Java: setting.SetFloat(double value) C-API
These functions set the value of the given setting to value

Definition at line 780 of file LcSettingC_jv.c.

780 {
781 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
782 JavaErrorCheck;
783 MkRtSetup_X(hdl);
784 enum MkErrorE errVal = LcSettingSetFloat(hdl, value);
785 MkErrorC_Check(hdl, errVal)
786error:
787 return;
788}
static enum MkErrorE LcSettingSetFloat(LC_CFS setting, MK_DBL value)
These functions set the value of the given setting to value …

◆ Java_jvlcconfig_LcSettingC_SetFloatElem()

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

Java: LcSettingC setting.SetFloatElem(int idx, double value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 700 of file LcSettingC_jv.c.

700 {
701 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
702 JavaErrorCheck;
703 MkRtSetup_X(hdl);
704 LC_CFS __retVal__L = LcSettingSetFloatElem(hdl, idx, value);
705 if (__retVal__L == NULL) {
706 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.SetFloatElem");
707 goto error;
708 }
709 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
710 return __retVal__S;
711error:
712 return 0;
713}
static LC_CFS LcSettingSetFloatElem(LC_CFS setting, MK_I32 idx, MK_DBL value)
These functions set the value at the specified index index in the setting setting to value …

◆ Java_jvlcconfig_LcSettingC_SetFormat()

JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetFormat ( JNIEnv * env,
jobject self,
jobject format )

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

Definition at line 791 of file LcSettingC_jv.c.

791 {
792 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
793 JavaErrorCheck;
794 MkRtSetup_X(hdl);
795 enum LcConfigFormatE format_e = MK(pGetEnumFromObj)(env, NS(Class_LcConfigFormatE), format);
796 JavaErrorCheck;
797 enum MkErrorE errVal = LcSettingSetFormat(hdl, format_e);
798 MkErrorC_Check(hdl, errVal)
799error:
800 return;
801}
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:30
static enum MkErrorE LcSettingSetFormat(LC_CFS setting, enum LcConfigFormatE format)
These functions get and set the external format for the setting setting …

◆ Java_jvlcconfig_LcSettingC_SetInt()

JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetInt ( JNIEnv * env,
jobject self,
jint value )

Java: setting.SetInt(int value) C-API
These functions set the value of the given setting to value

Definition at line 804 of file LcSettingC_jv.c.

804 {
805 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
806 JavaErrorCheck;
807 MkRtSetup_X(hdl);
808 enum MkErrorE errVal = LcSettingSetInt(hdl, value);
809 MkErrorC_Check(hdl, errVal)
810error:
811 return;
812}
static enum MkErrorE LcSettingSetInt(LC_CFS setting, MK_I32 value)
These functions set the value of the given setting to value …

◆ Java_jvlcconfig_LcSettingC_SetInt64()

JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetInt64 ( JNIEnv * env,
jobject self,
jlong value )

Java: setting.SetInt64(long value) C-API
These functions set the value of the given setting to value

Definition at line 815 of file LcSettingC_jv.c.

815 {
816 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
817 JavaErrorCheck;
818 MkRtSetup_X(hdl);
819 enum MkErrorE errVal = LcSettingSetInt64(hdl, value);
820 MkErrorC_Check(hdl, errVal)
821error:
822 return;
823}
static enum MkErrorE LcSettingSetInt64(LC_CFS setting, MK_I64 value)
These functions set the value of the given setting to value …

◆ Java_jvlcconfig_LcSettingC_SetInt64Elem()

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

Java: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 716 of file LcSettingC_jv.c.

716 {
717 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
718 JavaErrorCheck;
719 MkRtSetup_X(hdl);
720 LC_CFS __retVal__L = LcSettingSetInt64Elem(hdl, idx, value);
721 if (__retVal__L == NULL) {
722 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.SetInt64Elem");
723 goto error;
724 }
725 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
726 return __retVal__S;
727error:
728 return 0;
729}
static LC_CFS LcSettingSetInt64Elem(LC_CFS setting, MK_I32 idx, MK_I64 value)
These functions set the value at the specified index index in the setting setting to value …

◆ Java_jvlcconfig_LcSettingC_SetIntElem()

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

Java: LcSettingC setting.SetIntElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 732 of file LcSettingC_jv.c.

732 {
733 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
734 JavaErrorCheck;
735 MkRtSetup_X(hdl);
736 LC_CFS __retVal__L = LcSettingSetIntElem(hdl, idx, value);
737 if (__retVal__L == NULL) {
738 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.SetIntElem");
739 goto error;
740 }
741 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
742 return __retVal__S;
743error:
744 return 0;
745}
static LC_CFS LcSettingSetIntElem(LC_CFS setting, MK_I32 idx, MK_I32 value)
These functions set the value at the specified index index in the setting setting to value …

◆ Java_jvlcconfig_LcSettingC_SetString()

JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_SetString ( JNIEnv * env,
jobject self,
jstring value )

Java: setting.SetString(String value) C-API
These functions set the value of the given setting to value

Definition at line 826 of file LcSettingC_jv.c.

826 {
827 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
828 JavaErrorCheck;
829 MkRtSetup_X(hdl);
830 MK_STRN value_ptr = (value?(*env)->GetStringUTFChars(env,value,NULL):NULL);
831 JavaErrorCheck;
832 enum MkErrorE errVal = LcSettingSetString(hdl, value_ptr);
833 MkErrorC_Check(hdl, errVal)
834 if (value_ptr) (*env)->ReleaseStringUTFChars(env,value,value_ptr);
835error:
836 return;
837}
static enum MkErrorE LcSettingSetString(LC_CFS setting, MK_STRN value)
These functions set the value of the given setting to value …
const MK_STRB * MK_STRN

◆ Java_jvlcconfig_LcSettingC_SetStringElem()

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

Java: LcSettingC setting.SetStringElem(int idx, String value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 748 of file LcSettingC_jv.c.

748 {
749 LC_CFS hdl = (LC_CFS)pObj2Hdl(env,"LcSettingC",self);
750 JavaErrorCheck;
751 MkRtSetup_X(hdl);
752 MK_STRN value_ptr = (value?(*env)->GetStringUTFChars(env,value,NULL):NULL);
753 JavaErrorCheck;
754 LC_CFS __retVal__L = LcSettingSetStringElem(hdl, idx, value_ptr);
755 if (__retVal__L == NULL) {
756 (*env)->ThrowNew(env, MK(Class_MkInitSoftError), "LcSettingC.SetStringElem");
757 goto error;
758 }
759 jobject __retVal__S = LC(LcSettingC_ObjNew)(MK_RT_CALL env,__retVal__L);
760 if (value_ptr) (*env)->ReleaseStringUTFChars(env,value,value_ptr);
761 return __retVal__S;
762error:
763 return 0;
764}
static LC_CFS LcSettingSetStringElem(LC_CFS setting, MK_I32 idx, MK_STRN value)
These functions set the value at the specified index index in the setting setting to value …

◆ SetBool()

native void jvlcconfig.LcSettingC.SetBool ( boolean value)

Java: setting.SetBool(boolean value) C-API
These functions set the value of the given setting to value

◆ SetBoolElem()

native LcSettingC jvlcconfig.LcSettingC.SetBoolElem ( int idx,
int value )

Java: LcSettingC setting.SetBoolElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value

◆ SetFloat()

native void jvlcconfig.LcSettingC.SetFloat ( double value)

Java: setting.SetFloat(double value) C-API
These functions set the value of the given setting to value

◆ SetFloatElem()

native LcSettingC jvlcconfig.LcSettingC.SetFloatElem ( int idx,
double value )

Java: LcSettingC setting.SetFloatElem(int idx, double value) C-API
These functions set the value at the specified index index in the setting setting to value

◆ SetFormat()

native void jvlcconfig.LcSettingC.SetFormat ( LcConfigFormatE format)

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

◆ SetInt()

native void jvlcconfig.LcSettingC.SetInt ( int value)

Java: setting.SetInt(int value) C-API
These functions set the value of the given setting to value

◆ SetInt64()

native void jvlcconfig.LcSettingC.SetInt64 ( long value)

Java: setting.SetInt64(long value) C-API
These functions set the value of the given setting to value

◆ SetInt64Elem()

native LcSettingC jvlcconfig.LcSettingC.SetInt64Elem ( int idx,
long value )

Java: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value

◆ SetIntElem()

native LcSettingC jvlcconfig.LcSettingC.SetIntElem ( int idx,
int value )

Java: LcSettingC setting.SetIntElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value

◆ SetString()

native void jvlcconfig.LcSettingC.SetString ( String value)

Java: setting.SetString(String value) C-API
These functions set the value of the given setting to value

◆ SetStringElem()

native LcSettingC jvlcconfig.LcSettingC.SetStringElem ( int idx,
String value )

Java: LcSettingC setting.SetStringElem(int idx, String value) C-API
These functions set the value at the specified index index in the setting setting to value