theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Check_JV_API

MkBufferListC - various functions to 'check' a MkBufferListSMore...

+ Collaboration diagram for MkBufferListC_Check_JV_API:

Functions

native MkBufferC jvmkkernel.MkBufferListC.CheckOptionBUF (String opt, MkBufferC defval, boolean onlyFirst)
  Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
MkBufferC jvmkkernel.MkBufferListC.CheckOptionBUF (String opt)
  Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
MkBufferC jvmkkernel.MkBufferListC.CheckOptionBUF (String opt, MkBufferC defval)
  Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native boolean jvmkkernel.MkBufferListC.CheckOption (String opt, boolean onlyFirst)
  Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …
 
boolean jvmkkernel.MkBufferListC.CheckOption (String opt)
  Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …
 
native boolean jvmkkernel.MkBufferListC.CheckOptionBOL (String opt, boolean defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
boolean jvmkkernel.MkBufferListC.CheckOptionBOL (String opt)
  Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
boolean jvmkkernel.MkBufferListC.CheckOptionBOL (String opt, boolean defval)
  Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native double jvmkkernel.MkBufferListC.CheckOptionDBL (String opt, double defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
double jvmkkernel.MkBufferListC.CheckOptionDBL (String opt)
  Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
double jvmkkernel.MkBufferListC.CheckOptionDBL (String opt, double defval)
  Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native float jvmkkernel.MkBufferListC.CheckOptionFLT (String opt, float defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
float jvmkkernel.MkBufferListC.CheckOptionFLT (String opt)
  Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
float jvmkkernel.MkBufferListC.CheckOptionFLT (String opt, float defval)
  Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native short jvmkkernel.MkBufferListC.CheckOptionI16 (String opt, short defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
short jvmkkernel.MkBufferListC.CheckOptionI16 (String opt)
  Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
short jvmkkernel.MkBufferListC.CheckOptionI16 (String opt, short defval)
  Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native int jvmkkernel.MkBufferListC.CheckOptionI32 (String opt, int defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
int jvmkkernel.MkBufferListC.CheckOptionI32 (String opt)
  Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
int jvmkkernel.MkBufferListC.CheckOptionI32 (String opt, int defval)
  Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native long jvmkkernel.MkBufferListC.CheckOptionI64 (String opt, long defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
long jvmkkernel.MkBufferListC.CheckOptionI64 (String opt)
  Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
long jvmkkernel.MkBufferListC.CheckOptionI64 (String opt, long defval)
  Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native byte jvmkkernel.MkBufferListC.CheckOptionI8 (String opt, byte defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
byte jvmkkernel.MkBufferListC.CheckOptionI8 (String opt)
  Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
byte jvmkkernel.MkBufferListC.CheckOptionI8 (String opt, byte defval)
  Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
native String jvmkkernel.MkBufferListC.CheckOptionSTR (String opt, String defval, boolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
String jvmkkernel.MkBufferListC.CheckOptionSTR (String opt)
  Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
String jvmkkernel.MkBufferListC.CheckOptionSTR (String opt, String defval)
  Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionBUF (JNIEnv *env, jobject self, jstring opt, jobject defval, jboolean onlyFirst)
  Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkBufferListC_CheckOption (JNIEnv *env, jobject self, jstring opt, jboolean onlyFirst)
  Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …
 
JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionBOL (JNIEnv *env, jobject self, jstring opt, jboolean defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jdouble JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionDBL (JNIEnv *env, jobject self, jstring opt, jdouble defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jfloat JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionFLT (JNIEnv *env, jobject self, jstring opt, jfloat defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jshort JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI16 (JNIEnv *env, jobject self, jstring opt, jshort defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jint JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI32 (JNIEnv *env, jobject self, jstring opt, jint defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jlong JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI64 (JNIEnv *env, jobject self, jstring opt, jlong defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jbyte JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI8 (JNIEnv *env, jobject self, jstring opt, jbyte defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
JNIEXPORT jstring JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionSTR (JNIEnv *env, jobject self, jstring opt, jstring defval, jboolean onlyFirst)
  Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 

Detailed Description

MkBufferListC - various functions to 'check' a MkBufferListS

This functions are used for parsing command-line-arguments.

This functions are used for parsing command-line-arguments.

Function Documentation

◆ CheckOption() [1/2]

boolean jvmkkernel.MkBufferListC.CheckOption ( String opt)

Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …

Definition at line 146 of file MkBufferListC.java.

146 {
147 return CheckOption (opt, false);
148 }
native boolean CheckOption(String opt, boolean onlyFirst)
Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) → C-API search for boole...

◆ CheckOption() [2/2]

native boolean jvmkkernel.MkBufferListC.CheckOption ( String opt,
boolean onlyFirst )

Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …

+ Here is the caller graph for this function:

◆ CheckOptionBOL() [1/3]

boolean jvmkkernel.MkBufferListC.CheckOptionBOL ( String opt)

Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 156 of file MkBufferListC.java.

156 {
157 return CheckOptionBOL (opt, false, true);
158 }
native boolean CheckOptionBOL(String opt, boolean defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionBOL → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionBOL() [2/3]

boolean jvmkkernel.MkBufferListC.CheckOptionBOL ( String opt,
boolean defval )

Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 161 of file MkBufferListC.java.

161 {
162 return CheckOptionBOL (opt, defval, true);
163 }

◆ CheckOptionBOL() [3/3]

native boolean jvmkkernel.MkBufferListC.CheckOptionBOL ( String opt,
boolean defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionBUF() [1/3]

MkBufferC jvmkkernel.MkBufferListC.CheckOptionBUF ( String opt)

Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 131 of file MkBufferListC.java.

131 {
132 return CheckOptionBUF (opt, (MkBufferC) null, true);
133 }
native MkBufferC CheckOptionBUF(String opt, MkBufferC defval, boolean onlyFirst)
Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?...

◆ CheckOptionBUF() [2/3]

MkBufferC jvmkkernel.MkBufferListC.CheckOptionBUF ( String opt,
MkBufferC defval )

Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 136 of file MkBufferListC.java.

136 {
137 return CheckOptionBUF (opt, defval, true);
138 }

◆ CheckOptionBUF() [3/3]

native MkBufferC jvmkkernel.MkBufferListC.CheckOptionBUF ( String opt,
MkBufferC defval,
boolean onlyFirst )

Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionDBL() [1/3]

double jvmkkernel.MkBufferListC.CheckOptionDBL ( String opt)

Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 169 of file MkBufferListC.java.

169 {
170 return CheckOptionDBL (opt, 0, true);
171 }
native double CheckOptionDBL(String opt, double defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionDBL → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionDBL() [2/3]

double jvmkkernel.MkBufferListC.CheckOptionDBL ( String opt,
double defval )

Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 174 of file MkBufferListC.java.

174 {
175 return CheckOptionDBL (opt, defval, true);
176 }

◆ CheckOptionDBL() [3/3]

native double jvmkkernel.MkBufferListC.CheckOptionDBL ( String opt,
double defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionFLT() [1/3]

float jvmkkernel.MkBufferListC.CheckOptionFLT ( String opt)

Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 182 of file MkBufferListC.java.

182 {
183 return CheckOptionFLT (opt, (float) 0, true);
184 }
native float CheckOptionFLT(String opt, float defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionFLT → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionFLT() [2/3]

float jvmkkernel.MkBufferListC.CheckOptionFLT ( String opt,
float defval )

Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 187 of file MkBufferListC.java.

187 {
188 return CheckOptionFLT (opt, defval, true);
189 }

◆ CheckOptionFLT() [3/3]

native float jvmkkernel.MkBufferListC.CheckOptionFLT ( String opt,
float defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionI16() [1/3]

short jvmkkernel.MkBufferListC.CheckOptionI16 ( String opt)

Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 195 of file MkBufferListC.java.

195 {
196 return CheckOptionI16 (opt, (short) 0, true);
197 }
native short CheckOptionI16(String opt, short defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionI16 → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionI16() [2/3]

short jvmkkernel.MkBufferListC.CheckOptionI16 ( String opt,
short defval )

Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 200 of file MkBufferListC.java.

200 {
201 return CheckOptionI16 (opt, defval, true);
202 }

◆ CheckOptionI16() [3/3]

native short jvmkkernel.MkBufferListC.CheckOptionI16 ( String opt,
short defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionI32() [1/3]

int jvmkkernel.MkBufferListC.CheckOptionI32 ( String opt)

Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 208 of file MkBufferListC.java.

208 {
209 return CheckOptionI32 (opt, 0, true);
210 }
native int CheckOptionI32(String opt, int defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionI32 → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionI32() [2/3]

int jvmkkernel.MkBufferListC.CheckOptionI32 ( String opt,
int defval )

Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 213 of file MkBufferListC.java.

213 {
214 return CheckOptionI32 (opt, defval, true);
215 }

◆ CheckOptionI32() [3/3]

native int jvmkkernel.MkBufferListC.CheckOptionI32 ( String opt,
int defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionI64() [1/3]

long jvmkkernel.MkBufferListC.CheckOptionI64 ( String opt)

Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 221 of file MkBufferListC.java.

221 {
222 return CheckOptionI64 (opt, 0, true);
223 }
native long CheckOptionI64(String opt, long defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionI64 → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionI64() [2/3]

long jvmkkernel.MkBufferListC.CheckOptionI64 ( String opt,
long defval )

Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 226 of file MkBufferListC.java.

226 {
227 return CheckOptionI64 (opt, defval, true);
228 }

◆ CheckOptionI64() [3/3]

native long jvmkkernel.MkBufferListC.CheckOptionI64 ( String opt,
long defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionI8() [1/3]

byte jvmkkernel.MkBufferListC.CheckOptionI8 ( String opt)

Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 234 of file MkBufferListC.java.

234 {
235 return CheckOptionI8 (opt, (byte) 0, true);
236 }
native byte CheckOptionI8(String opt, byte defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionI8 → C-API search for opt in MkBufferListS list and fill va...

◆ CheckOptionI8() [2/3]

byte jvmkkernel.MkBufferListC.CheckOptionI8 ( String opt,
byte defval )

Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 239 of file MkBufferListC.java.

239 {
240 return CheckOptionI8 (opt, defval, true);
241 }

◆ CheckOptionI8() [3/3]

native byte jvmkkernel.MkBufferListC.CheckOptionI8 ( String opt,
byte defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ CheckOptionSTR() [1/3]

String jvmkkernel.MkBufferListC.CheckOptionSTR ( String opt)

Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 247 of file MkBufferListC.java.

247 {
248 return CheckOptionSTR (opt, "", true);
249 }
native String CheckOptionSTR(String opt, String defval, boolean onlyFirst)
Java: doc_mk_jv_BufferListCheckOptionSTR → C-API search for opt in MkBufferListS list and fill...

◆ CheckOptionSTR() [2/3]

String jvmkkernel.MkBufferListC.CheckOptionSTR ( String opt,
String defval )

Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 252 of file MkBufferListC.java.

252 {
253 return CheckOptionSTR (opt, defval, true);
254 }

◆ CheckOptionSTR() [3/3]

native String jvmkkernel.MkBufferListC.CheckOptionSTR ( String opt,
String defval,
boolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

+ Here is the caller graph for this function:

◆ Java_jvmkkernel_MkBufferListC_CheckOption()

JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkBufferListC_CheckOption ( JNIEnv * env,
jobject self,
jstring opt,
jboolean onlyFirst )

Java: boolean bfl.CheckOption(String opt, ?boolean onlyFirst = false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …

Definition at line 253 of file MkBufferListC_jv.c.

253 {
254 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
255 JavaErrorCheck;
256 MkRtSetup_X(hdl);
257 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
258 JavaErrorCheck;
259 MK_BOOL __retVal__L = MkBufferListCheckOption(hdl, opt_ptr, onlyFirst);
260 jboolean __retVal__S = __retVal__L;
261 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
262 return __retVal__S;
263error:
264 return 0;
265}
#define MkBufferListCheckOption(...)
struct MkBufferListS * MK_BFL
class-shortcut for struct MkBufferListS *, all shortcut using the XX_YYY syntax (only for public API)...
const MK_STRB * MK_STRN
constant string pointer data-type
bool MK_BOOL
real bool data-type
#define MkRtSetup_X(x)
The CLASS used to store a list of MkBufferS items into a flat array…

◆ Java_jvmkkernel_MkBufferListC_CheckOptionBOL()

JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionBOL ( JNIEnv * env,
jobject self,
jstring opt,
jboolean defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 270 of file MkBufferListC_jv.c.

270 {
271 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
272 JavaErrorCheck;
273 MkRtSetup_X(hdl);
274 MK_BOOL val_out;
275 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
276 JavaErrorCheck;
277 enum MkErrorE errVal = MkBufferListCheckOptionBOL(hdl, opt_ptr, defval, onlyFirst, &val_out);
278 MkErrorC_Check(hdl, errVal)
279 jboolean __retVal__S = val_out;
280 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
281 return __retVal__S;
282error:
283 return 0;
284}
#define MkBufferListCheckOptionBOL(...)
MkErrorE
collection for the different error-codes …

◆ Java_jvmkkernel_MkBufferListC_CheckOptionBUF()

JNIEXPORT jobject JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionBUF ( JNIEnv * env,
jobject self,
jstring opt,
jobject defval,
jboolean onlyFirst )

Java: MkBufferC bfl.CheckOptionBUF(String opt, ?MkBufferC defval = null?, ?boolean onlyFirst = true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 232 of file MkBufferListC_jv.c.

232 {
233 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
234 JavaErrorCheck;
235 MkRtSetup_X(hdl);
236 MK_BUF val_out;
237 MK_BUF defval_hdl = (MK_BUF)pObj2Hdl__null_allow(env,defval);
238 JavaErrorCheck;
239 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
240 JavaErrorCheck;
241 enum MkErrorE errVal = MkBufferListCheckOptionBUF(hdl, opt_ptr, defval_hdl, onlyFirst, &val_out);
242 MkErrorC_Check(hdl, errVal)
243 jobject __retVal__S = MK(MkBufferC_ObjNew)(MK_RT_CALL env,val_out);
244 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
245 return __retVal__S;
246error:
247 return 0;
248}
struct MkBufferS * MK_BUF
class-shortcut for struct MkBufferS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkBufferListCheckOptionBUF(...)
#define MK_RT_CALL
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ Java_jvmkkernel_MkBufferListC_CheckOptionDBL()

JNIEXPORT jdouble JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionDBL ( JNIEnv * env,
jobject self,
jstring opt,
jdouble defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 287 of file MkBufferListC_jv.c.

287 {
288 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
289 JavaErrorCheck;
290 MkRtSetup_X(hdl);
291 MK_DBL val_out;
292 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
293 JavaErrorCheck;
294 enum MkErrorE errVal = MkBufferListCheckOptionDBL(hdl, opt_ptr, defval, onlyFirst, &val_out);
295 MkErrorC_Check(hdl, errVal)
296 jdouble __retVal__S = val_out;
297 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
298 return __retVal__S;
299error:
300 return 0;
301}
#define MkBufferListCheckOptionDBL(...)
double MK_DBL
8 byte double data-type

◆ Java_jvmkkernel_MkBufferListC_CheckOptionFLT()

JNIEXPORT jfloat JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionFLT ( JNIEnv * env,
jobject self,
jstring opt,
jfloat defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 304 of file MkBufferListC_jv.c.

304 {
305 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
306 JavaErrorCheck;
307 MkRtSetup_X(hdl);
308 MK_FLT val_out;
309 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
310 JavaErrorCheck;
311 enum MkErrorE errVal = MkBufferListCheckOptionFLT(hdl, opt_ptr, defval, onlyFirst, &val_out);
312 MkErrorC_Check(hdl, errVal)
313 jfloat __retVal__S = val_out;
314 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
315 return __retVal__S;
316error:
317 return 0;
318}
#define MkBufferListCheckOptionFLT(...)
float MK_FLT
4 byte float data-type

◆ Java_jvmkkernel_MkBufferListC_CheckOptionI16()

JNIEXPORT jshort JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI16 ( JNIEnv * env,
jobject self,
jstring opt,
jshort defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 321 of file MkBufferListC_jv.c.

321 {
322 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
323 JavaErrorCheck;
324 MkRtSetup_X(hdl);
325 MK_I16 val_out;
326 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
327 JavaErrorCheck;
328 enum MkErrorE errVal = MkBufferListCheckOptionI16(hdl, opt_ptr, defval, onlyFirst, &val_out);
329 MkErrorC_Check(hdl, errVal)
330 jshort __retVal__S = val_out;
331 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
332 return __retVal__S;
333error:
334 return 0;
335}
#define MkBufferListCheckOptionI16(...)
signed short int MK_I16
2 byte short data-type

◆ Java_jvmkkernel_MkBufferListC_CheckOptionI32()

JNIEXPORT jint JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI32 ( JNIEnv * env,
jobject self,
jstring opt,
jint defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 338 of file MkBufferListC_jv.c.

338 {
339 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
340 JavaErrorCheck;
341 MkRtSetup_X(hdl);
342 MK_I32 val_out;
343 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
344 JavaErrorCheck;
345 enum MkErrorE errVal = MkBufferListCheckOptionI32(hdl, opt_ptr, defval, onlyFirst, &val_out);
346 MkErrorC_Check(hdl, errVal)
347 jint __retVal__S = val_out;
348 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
349 return __retVal__S;
350error:
351 return 0;
352}
#define MkBufferListCheckOptionI32(...)
signed int MK_I32
4 byte integer data-type

◆ Java_jvmkkernel_MkBufferListC_CheckOptionI64()

JNIEXPORT jlong JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI64 ( JNIEnv * env,
jobject self,
jstring opt,
jlong defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 355 of file MkBufferListC_jv.c.

355 {
356 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
357 JavaErrorCheck;
358 MkRtSetup_X(hdl);
359 MK_I64 val_out;
360 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
361 JavaErrorCheck;
362 enum MkErrorE errVal = MkBufferListCheckOptionI64(hdl, opt_ptr, defval, onlyFirst, &val_out);
363 MkErrorC_Check(hdl, errVal)
364 jlong __retVal__S = val_out;
365 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
366 return __retVal__S;
367error:
368 return 0;
369}
#define MkBufferListCheckOptionI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ Java_jvmkkernel_MkBufferListC_CheckOptionI8()

JNIEXPORT jbyte JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionI8 ( JNIEnv * env,
jobject self,
jstring opt,
jbyte defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 372 of file MkBufferListC_jv.c.

372 {
373 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
374 JavaErrorCheck;
375 MkRtSetup_X(hdl);
376 MK_I8 val_out;
377 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
378 JavaErrorCheck;
379 enum MkErrorE errVal = MkBufferListCheckOptionI8(hdl, opt_ptr, (MK_I8)(defval), onlyFirst, &val_out);
380 MkErrorC_Check(hdl, errVal)
381 jbyte __retVal__S = (jbyte)val_out;
382 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
383 return __retVal__S;
384error:
385 return 0;
386}
#define MkBufferListCheckOptionI8(...)
signed char MK_I8
1 byte byte data-type

◆ Java_jvmkkernel_MkBufferListC_CheckOptionSTR()

JNIEXPORT jstring JNICALL Java_jvmkkernel_MkBufferListC_CheckOptionSTR ( JNIEnv * env,
jobject self,
jstring opt,
jstring defval,
jboolean onlyFirst )

Java: doc_mk_jv_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 389 of file MkBufferListC_jv.c.

389 {
390 MK_BFL hdl = (MK_BFL)pObj2Hdl(env,"MkBufferListC",self);
391 JavaErrorCheck;
392 MkRtSetup_X(hdl);
393 MK_STRN val_out;
394 MK_STRN opt_ptr = (opt?(*env)->GetStringUTFChars(env,opt,NULL):NULL);
395 JavaErrorCheck;
396 MK_STRN defval_ptr = (defval?(*env)->GetStringUTFChars(env,defval,NULL):NULL);
397 JavaErrorCheck;
398 enum MkErrorE errVal = MkBufferListCheckOptionSTR(hdl, opt_ptr, defval_ptr, onlyFirst, &val_out);
399 MkErrorC_Check(hdl, errVal)
400 jstring __retVal__S = JC2O(env,val_out);
401 if (opt_ptr) (*env)->ReleaseStringUTFChars(env,opt,opt_ptr);
402 if (defval_ptr) (*env)->ReleaseStringUTFChars(env,defval,defval_ptr);
403 return __retVal__S;
404error:
405 return 0;
406}
#define MkBufferListCheckOptionSTR(...)