lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
jni::ObjectBase Class Reference

Public Member Functions

 operator bool () const
 
template<class OtherTag >
bool IsInstanceOf (JNIEnv &env, const Class< OtherTag > &clazz) const
 

Protected Member Functions

 ObjectBase (std::nullptr_t=nullptr)
 
 ObjectBase (jobject *p)
 
 ~ObjectBase ()=default
 
void reset (jobject *p)
 

Protected Attributes

jobjectptr = nullptr
 

Friends

bool operator== (const ObjectBase &a, const ObjectBase &b)
 
bool operator!= (const ObjectBase &a, const ObjectBase &b)
 

Constructor & Destructor Documentation

jni::ObjectBase::ObjectBase ( std::nullptr_t  = nullptr)
inlineexplicitprotected
jni::ObjectBase::ObjectBase ( jobject p)
inlineexplicitprotected
jni::ObjectBase::~ObjectBase ( )
protecteddefault

Member Function Documentation

template<class OtherTag >
bool jni::ObjectBase::IsInstanceOf ( JNIEnv &  env,
const Class< OtherTag > &  clazz 
) const
inline
jni::ObjectBase::operator bool ( ) const
inlineexplicit
void jni::ObjectBase::reset ( jobject p)
inlineprotected

Friends And Related Function Documentation

bool operator!= ( const ObjectBase a,
const ObjectBase b 
)
friend
bool operator== ( const ObjectBase a,
const ObjectBase b 
)
friend

Member Data Documentation

jobject* jni::ObjectBase::ptr = nullptr
protected

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