Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Static Public Member Functions | Friends | List of all members
jau::jni::JNIGlobalRef Class Reference

#include <jni_mem.hpp>

Collaboration diagram for jau::jni::JNIGlobalRef:

Public Member Functions

 JNIGlobalRef () noexcept
 
 JNIGlobalRef (const JNIGlobalRef &o)
 
 JNIGlobalRef (JNIGlobalRef &&o) noexcept
 
 JNIGlobalRef (jobject object)
 
 ~JNIGlobalRef () noexcept
 
jclass getClass () const noexcept
 
jobject getObject () const noexcept
 
jobjectRefType getObjectRefType () const noexcept
 Should return JNIGlobalRefType if the object is valid or JNIInvalidRefType if the object is nullptr. More...
 
bool isValidReference () const noexcept
 
bool operator!= (const JNIGlobalRef &rhs) const noexcept
 
jobject operator* () noexcept
 
JNIGlobalRefoperator= (const JNIGlobalRef &o)
 
JNIGlobalRefoperator= (JNIGlobalRef &&o) noexcept
 
bool operator== (const JNIGlobalRef &rhs) const noexcept
 

Static Public Member Functions

static void check (jobject object, const char *file, int line)
 

Friends

class JavaGlobalObj
 

Detailed Description

Definition at line 85 of file jni_mem.hpp.

Constructor & Destructor Documentation

◆ JNIGlobalRef() [1/4]

jau::jni::JNIGlobalRef::JNIGlobalRef ( )
noexcept

◆ JNIGlobalRef() [2/4]

jau::jni::JNIGlobalRef::JNIGlobalRef ( jobject  object)

◆ JNIGlobalRef() [3/4]

jau::jni::JNIGlobalRef::JNIGlobalRef ( const JNIGlobalRef o)

◆ JNIGlobalRef() [4/4]

jau::jni::JNIGlobalRef::JNIGlobalRef ( JNIGlobalRef &&  o)
noexcept

◆ ~JNIGlobalRef()

jau::jni::JNIGlobalRef::~JNIGlobalRef ( )
noexcept

Member Function Documentation

◆ check()

static void jau::jni::JNIGlobalRef::check ( jobject  object,
const char *  file,
int  line 
)
inlinestatic

Definition at line 92 of file jni_mem.hpp.

◆ operator=() [1/2]

JNIGlobalRef & jau::jni::JNIGlobalRef::operator= ( const JNIGlobalRef o)

◆ operator=() [2/2]

JNIGlobalRef & jau::jni::JNIGlobalRef::operator= ( JNIGlobalRef &&  o)
noexcept

◆ getObjectRefType()

jobjectRefType jau::jni::JNIGlobalRef::getObjectRefType ( ) const
noexcept

Should return JNIGlobalRefType if the object is valid or JNIInvalidRefType if the object is nullptr.

Here is the caller graph for this function:

◆ isValidReference()

bool jau::jni::JNIGlobalRef::isValidReference ( ) const
inlinenoexcept

Definition at line 117 of file jni_mem.hpp.

◆ operator*()

jobject jau::jni::JNIGlobalRef::operator* ( )
noexcept

◆ getObject()

jobject jau::jni::JNIGlobalRef::getObject ( ) const
noexcept
Here is the caller graph for this function:

◆ getClass()

jclass jau::jni::JNIGlobalRef::getClass ( ) const
inlinenoexcept

Definition at line 126 of file jni_mem.hpp.

Here is the caller graph for this function:

◆ operator==()

bool jau::jni::JNIGlobalRef::operator== ( const JNIGlobalRef rhs) const
noexcept

◆ operator!=()

bool jau::jni::JNIGlobalRef::operator!= ( const JNIGlobalRef rhs) const
inlinenoexcept

Definition at line 130 of file jni_mem.hpp.

Friends And Related Function Documentation

◆ JavaGlobalObj

friend class JavaGlobalObj
friend

Definition at line 87 of file jni_mem.hpp.


The documentation for this class was generated from the following file: