JavaClass Struct Reference

#include <java_helper.h>

Public Types

using JavaMemberArray = SortedArray< JavaMember, BaseArray< JavaMember, 16, BASEARRAYFLAGS::NONE, CStdLibAllocator > >
 

Public Member Functions

 JavaClass ()
 
template<typename T >
CallStaticMember (JNIEnv *env, const Char *memberName, const Char *sig, va_list list)
 
void CallStaticMemberVoid (JNIEnv *env, const Char *memberName, const Char *sig, va_list list)
 
template<typename T >
CallMember (JNIEnv *env, jobject object, const Char *memberName, const Char *sig, va_list list)
 
template<typename T >
GetStaticObjectField (JNIEnv *env, const Char *memberName, const Char *sig)
 

Static Public Member Functions

static Bool IsEqual (const JavaClass &a, const JavaClass &b)
 
static Bool IsEqual (const Char *cl, const JavaClass &b)
 
static Bool LessThan (const JavaClass &a, const JavaClass &b)
 
static Bool LessThan (const Char *cl, const JavaClass &b)
 
static void InitInsertData (JavaClass &initme, const Char *className)
 

Public Attributes

const Char_className
 
JavaMemberArray_members
 
jclass _javaClass
 

Member Typedef Documentation

◆ JavaMemberArray

Constructor & Destructor Documentation

◆ JavaClass()

JavaClass ( )

Member Function Documentation

◆ IsEqual() [1/2]

static Bool IsEqual ( const JavaClass a,
const JavaClass b 
)
static

◆ IsEqual() [2/2]

static Bool IsEqual ( const Char cl,
const JavaClass b 
)
static

◆ LessThan() [1/2]

static Bool LessThan ( const JavaClass a,
const JavaClass b 
)
static

◆ LessThan() [2/2]

static Bool LessThan ( const Char cl,
const JavaClass b 
)
static

◆ InitInsertData()

static void InitInsertData ( JavaClass initme,
const Char className 
)
static

◆ CallStaticMember()

T CallStaticMember ( JNIEnv env,
const Char memberName,
const Char sig,
va_list  list 
)

◆ CallStaticMemberVoid()

void CallStaticMemberVoid ( JNIEnv env,
const Char memberName,
const Char sig,
va_list  list 
)

◆ CallMember()

T CallMember ( JNIEnv env,
jobject  object,
const Char memberName,
const Char sig,
va_list  list 
)

◆ GetStaticObjectField()

T GetStaticObjectField ( JNIEnv env,
const Char memberName,
const Char sig 
)

Member Data Documentation

◆ _className

const Char* _className

◆ _members

JavaMemberArray* _members

◆ _javaClass

jclass _javaClass