|
LibreOffice Module connectivity (master) 1
|
helper class to hold a local ref to a JNI object More...
#include <GlobalRef.hxx>
Public Member Functions | |
| GlobalRef () | |
| GlobalRef (const GlobalRef &_source) | |
| GlobalRef & | operator= (const GlobalRef &_source) |
| ~GlobalRef () COVERITY_NOEXCEPT_FALSE | |
| void | reset () |
| void | set (JNIEnv &_environment, T _object) |
| void | set (LocalRef< T > &_object) |
| T | get () const |
| bool | is () const |
Private Attributes | |
| T | m_object |
helper class to hold a local ref to a JNI object
Definition at line 31 of file GlobalRef.hxx.
|
inline |
Definition at line 34 of file GlobalRef.hxx.
|
inline |
Definition at line 39 of file GlobalRef.hxx.
|
inline |
Definition at line 55 of file GlobalRef.hxx.
References connectivity::jdbc::GlobalRef< T >::reset().
|
inline |
Definition at line 84 of file GlobalRef.hxx.
References connectivity::jdbc::GlobalRef< T >::m_object.
Referenced by connectivity::jdbc::GlobalRef< T >::operator=().
|
inline |
Definition at line 89 of file GlobalRef.hxx.
References connectivity::jdbc::GlobalRef< T >::m_object.
|
inline |
Definition at line 45 of file GlobalRef.hxx.
References connectivity::jdbc::GlobalRef< T >::get(), connectivity::jdbc::GlobalRef< T >::set(), and t.
|
inline |
Definition at line 60 of file GlobalRef.hxx.
References connectivity::jdbc::GlobalRef< T >::m_object, and t.
Referenced by connectivity::java_sql_Connection::loadDriverFromProperties(), and connectivity::jdbc::GlobalRef< T >::~GlobalRef().
|
inline |
Definition at line 70 of file GlobalRef.hxx.
References connectivity::jdbc::GlobalRef< T >::m_object.
Referenced by connectivity::java_sql_Connection::loadDriverFromProperties(), connectivity::jdbc::GlobalRef< T >::operator=(), and connectivity::jdbc::GlobalRef< T >::set().
|
inline |
Definition at line 79 of file GlobalRef.hxx.
References connectivity::jdbc::LocalRef< T >::env(), connectivity::jdbc::LocalRef< T >::release(), and connectivity::jdbc::GlobalRef< T >::set().
|
private |
Definition at line 95 of file GlobalRef.hxx.
Referenced by connectivity::jdbc::GlobalRef< T >::get(), connectivity::jdbc::GlobalRef< T >::is(), connectivity::jdbc::GlobalRef< T >::reset(), and connectivity::jdbc::GlobalRef< T >::set().