JUCE  v5.1.1-3-g1a0b28c73
JUCE API
LocalRef< JavaType > Class Template Reference

#include <juce_android_JNIHelpers.h>

Collaboration diagram for LocalRef< JavaType >:

Public Member Functions

 LocalRef (JavaType o) noexcept
 
 LocalRef (const LocalRef &other) noexcept
 
 ~LocalRef ()
 
void clear ()
 
JavaType get () const noexcept
 
 operator JavaType () const noexcept
 
LocalRefoperator= (const LocalRef &other)
 

Static Private Member Functions

static JavaType retain (JavaType obj)
 

Private Attributes

JavaType obj
 

Constructor & Destructor Documentation

◆ LocalRef() [1/2]

template<typename JavaType>
LocalRef< JavaType >::LocalRef ( JavaType  o)
inlineexplicitnoexcept

◆ LocalRef() [2/2]

template<typename JavaType>
LocalRef< JavaType >::LocalRef ( const LocalRef< JavaType > &  other)
inlinenoexcept

◆ ~LocalRef()

template<typename JavaType>
LocalRef< JavaType >::~LocalRef ( )
inline

Member Function Documentation

◆ clear()

template<typename JavaType>
void LocalRef< JavaType >::clear ( )
inline

◆ get()

template<typename JavaType>
JavaType LocalRef< JavaType >::get ( ) const
inlinenoexcept

◆ operator JavaType()

template<typename JavaType>
LocalRef< JavaType >::operator JavaType ( ) const
inlinenoexcept

◆ operator=()

template<typename JavaType>
LocalRef& LocalRef< JavaType >::operator= ( const LocalRef< JavaType > &  other)
inline

◆ retain()

template<typename JavaType>
static JavaType LocalRef< JavaType >::retain ( JavaType  obj)
inlinestaticprivate

References getEnv().

Referenced by LocalRef< JavaType >::operator=().

Member Data Documentation

◆ obj


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