theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_jv.c File Reference

tag: nhi1-release-250425 More...

#include "jni_h/jvlcconfig_LcSettingC.h"
#include "LibLcConfig_private_jv.h"
+ Include dependency graph for LcSettingC_jv.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LcSettingC_jv.c"
 
#define ClassInit   \
 

Functions

jobject jvlcconfig_LcSettingC_ObjNew (MK_RT mkrt, JNIEnv *env, LC_CFS hdl)
 
static MK_UNUSED jobject jvlcconfig_LcSettingC_ObjCreate (MK_RT mkrt, JNIEnv *env, LC_CFS hdl)
 
static MK_PTR jvlcconfig_LcSettingC_selfCreate (MK_RT mkrt, MK_OBJ obj, MK_PTR envP)
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_HandleResolve (JNIEnv *env, jclass class, jint netHdl)
  Java: [static] LcSettingC LcSettingC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a LcSettingC from netHdl or null if invalid…
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Next (JNIEnv *env, jobject self)
  Java: LcSettingC cfs.Next() C-API
get next instance from linked-list of LcSettingS type
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Prev (JNIEnv *env, jobject self)
  Java: LcSettingC cfs.Prev() C-API
get previous instance from linked-list of LcSettingS type
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Instances (JNIEnv *env, jclass class)
  Java: [static] LcSettingC LcSettingC.Instances() C-API
get head-instance from linked-list of LcSettingS type …
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetNull (JNIEnv *env, jclass class)
  Java: [static] LcSettingC LcSettingC.GetNull() C-API
Null-Slot - return a LcSettingC typed NULL instance …
 
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
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsAggregate (JNIEnv *env, jobject self)
  Java: boolean setting.IsAggregate() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsArray (JNIEnv *env, jobject self)
  Java: boolean setting.IsArray() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsGroup (JNIEnv *env, jobject self)
  Java: boolean setting.IsGroup() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsList (JNIEnv *env, jobject self)
  Java: boolean setting.IsList() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsNumber (JNIEnv *env, jobject self)
  Java: boolean setting.IsNumber() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsRoot (JNIEnv *env, jobject self)
  Java: boolean setting.IsRoot() C-API
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_IsScalar (JNIEnv *env, jobject self)
  Java: boolean setting.IsScalar() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Lookup (JNIEnv *env, jobject self, jstring path)
  Java: LcSettingC setting.Lookup(String path) C-API
This function locates a setting by a path path relative to the setting setting
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_LookupAll (JNIEnv *env, jobject self)
  Java: MkBufferListC setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_LookupBool (JNIEnv *env, jobject self, jstring name)
  Java: boolean setting.LookupBool(String name) C-API
These functions look up the value of the child setting named name of the setting setting
 
JNIEXPORT jdouble JNICALL Java_jvlcconfig_LcSettingC_LookupFloat (JNIEnv *env, jobject self, jstring name)
  Java: double setting.LookupFloat(String name) C-API
These functions look up the value of the child setting named name of the setting setting
 
JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_LookupInt (JNIEnv *env, jobject self, jstring name)
  Java: int setting.LookupInt(String name) C-API
These functions look up the value of the child setting named name of the setting setting
 
JNIEXPORT jlong JNICALL Java_jvlcconfig_LcSettingC_LookupInt64 (JNIEnv *env, jobject self, jstring name)
  Java: long setting.LookupInt64(String name) C-API
These functions look up the value of the child setting named name of the setting setting
 
JNIEXPORT jstring JNICALL Java_jvlcconfig_LcSettingC_LookupString (JNIEnv *env, jobject self, jstring name)
  Java: String setting.LookupString(String name) C-API
These functions look up the value of the child setting named name of the setting setting
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_AddIfNotExists (JNIEnv *env, jobject self, jstring name, jobject cfgtype)
  Java: LcSettingC setting.AddIfNotExists(String name, LcConfigTypeE cfgtype) C-API
addon - add name with type only if not exists in the setting
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Parent (JNIEnv *env, jobject self)
  Java: LcSettingC setting.Parent() C-API
This function returns the parent setting of the given setting, or NULL if setting is the root setting …
 
JNIEXPORT jboolean JNICALL Java_jvlcconfig_LcSettingC_Exists (JNIEnv *env, jobject self, jstring name)
  Java: boolean setting.Exists(String name) C-API
addon - return true if name exists in the setting otherwise false
 
JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_Index (JNIEnv *env, jobject self)
  Java: int setting.Index() C-API
This function returns the index of the given setting within its parent setting …
 
JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_Length (JNIEnv *env, jobject self)
  Java: int setting.Length() C-API
This function returns the number of settings in a group, or the number of elements in a list or array …
 
JNIEXPORT jstring JNICALL Java_jvlcconfig_LcSettingC_Name (JNIEnv *env, jobject self)
  Java: String setting.Name() C-API
This function returns the name of the given setting, or NULL if the setting has no name …
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_Remove (JNIEnv *env, jobject self, jstring name)
  Java: parent.Remove(String name) C-API
This function removes and destroys the setting named name from the parent setting parent, which must be a group …
 
JNIEXPORT void JNICALL Java_jvlcconfig_LcSettingC_RemoveElem (JNIEnv *env, jobject self, jint idx)
  Java: parent.RemoveElem(int idx) C-API
This function removes the child setting at the given index index from the setting parent, which must be a group, list, or array …
 
JNIEXPORT jstring JNICALL Java_jvlcconfig_LcSettingC_SourceFile (JNIEnv *env, jobject self)
  Java: String setting.SourceFile() C-API
This function returns the name of the file from which the setting setting was read, or NULL if the setting was not read from a file …
 
JNIEXPORT jint JNICALL Java_jvlcconfig_LcSettingC_SourceLine (JNIEnv *env, jobject self)
  Java: int setting.SourceLine() C-API
This function returns the line number of the configuration file or stream at which the setting setting was read, or 0 if no line number is available …
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Type (JNIEnv *env, jobject self)
  Java: LcConfigTypeE setting.Type() C-API
This function returns the type of the given setting
 
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
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_Add (JNIEnv *env, jobject self, jstring name, jobject __type)
  Java: [constructor] LcSettingC parent.Add(String name, LcConfigTypeE __type) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcSettingC_GetConfig (JNIEnv *env, jobject self)
  Java: LcConfigC setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 
void jvlcconfig_LcSettingC_Init (MK_RT mkrt)
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcSettingC_jv.c.

Macro Definition Documentation

◆ ClassInit

#define ClassInit   \

Definition at line 31 of file LcSettingC_jv.c.

31#define ClassInit \
32

◆ META_FILE_NAME

#define META_FILE_NAME   "LcSettingC_jv.c"

Definition at line 10 of file LcSettingC_jv.c.

Function Documentation

◆ jvlcconfig_LcSettingC_Init()

void jvlcconfig_LcSettingC_Init ( MK_RT mkrt)

Definition at line 890 of file LcSettingC_jv.c.

890 {
892
893 LcSettingC_TT->selfCreate = NS(LcSettingC_selfCreate) ;
894 LcSettingC_TT->selfUnlink = MK(AtomSelfUnlink) ;
895}
#define ClassInit
__thread MK_TYP LcSettingC_TT
class as MkTypeDefS-class-type …
MkSelfUnlinkF selfUnlink
MkSelfCreateF selfCreate

◆ jvlcconfig_LcSettingC_ObjCreate()

static MK_UNUSED jobject jvlcconfig_LcSettingC_ObjCreate ( MK_RT mkrt,
JNIEnv * env,
LC_CFS hdl )
static

Definition at line 22 of file LcSettingC_jv.c.

22 {
23 return MK(AtomObjCreate)(MK_RT_CALL env, LcSettingC_X2obj(hdl));
24}
#define LcSettingC_X2obj(x)
#define MK_RT_CALL

◆ jvlcconfig_LcSettingC_ObjNew()

jobject jvlcconfig_LcSettingC_ObjNew ( MK_RT mkrt,
JNIEnv * env,
LC_CFS hdl )

Definition at line 16 of file LcSettingC_jv.c.

16 {
17 static MkThreadLocal jobject NS_NULL = NULL;
18 return (hdl ? MK(AtomObjNew)(MK_RT_CALL env, LcSettingC_X2obj(hdl)) : MK_GET__NS_NULL(LcSettingC));
19}
#define MkThreadLocal

◆ jvlcconfig_LcSettingC_selfCreate()

static MK_PTR jvlcconfig_LcSettingC_selfCreate ( MK_RT mkrt,
MK_OBJ obj,
MK_PTR envP )
static

Definition at line 26 of file LcSettingC_jv.c.

26 {
27 JNIEnv *env = (JNIEnv*) envP;
28 return (*env)->NewObject(env, NS(Class_LcSettingC), NS(MID_LcSettingC_INIT), (jlong) obj, JNI_TRUE);
29}