JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::LocalRef< JavaType > Class Template Reference

#include <juce_android_JNIHelpers.h>

Collaboration diagram for juce::LocalRef< JavaType >:

Public Member Functions

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

Static Private Member Functions

static JavaType retain (JavaType obj)
 

Private Attributes

JavaType obj
 

Constructor & Destructor Documentation

◆ LocalRef() [1/4]

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

◆ LocalRef() [2/4]

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

◆ LocalRef() [3/4]

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

◆ LocalRef() [4/4]

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

◆ ~LocalRef()

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

Member Function Documentation

◆ clear()

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

References juce::getEnv().

◆ get()

◆ operator JavaType()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ retain()

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

References juce::getEnv().

Member Data Documentation

◆ obj

template<typename JavaType>
JavaType juce::LocalRef< JavaType >::obj
private

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