GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
java_local_ref< T > Class Template Reference

#include "ov-java.h"

Collaboration diagram for java_local_ref< T >:
Collaboration graph
[legend]

Public Member Functions

 java_local_ref (JNIEnv *_env)
 
 java_local_ref (JNIEnv *_env, T obj)
 
 ~java_local_ref (void)
 
void detach (void)
 
 operator bool () const
 
 operator T ()
 
T & operator= (T obj)
 

Protected Attributes

bool detached
 
JNIEnv * env
 
jobj
 

Private Member Functions

 java_local_ref (void)
 
void release (void)
 

Detailed Description

template<class T>
class java_local_ref< T >

Definition at line 32 of file ov-java.h.

Constructor & Destructor Documentation

template<class T >
java_local_ref< T >::java_local_ref ( JNIEnv *  _env)
inline

Definition at line 36 of file ov-java.h.

template<class T >
java_local_ref< T >::java_local_ref ( JNIEnv *  _env,
obj 
)
inline

Definition at line 39 of file ov-java.h.

template<class T >
java_local_ref< T >::~java_local_ref ( void  )
inline

Definition at line 42 of file ov-java.h.

References java_local_ref< T >::release().

template<class T >
java_local_ref< T >::java_local_ref ( void  )
inlineprivate

Definition at line 67 of file ov-java.h.

Member Function Documentation

template<class T >
void java_local_ref< T >::detach ( void  )
inline

Definition at line 55 of file ov-java.h.

References java_local_ref< T >::detached.

template<class T >
java_local_ref< T >::operator bool ( ) const
inline

Definition at line 52 of file ov-java.h.

References java_local_ref< T >::jobj.

template<class T >
java_local_ref< T >::operator T ( )
inline

Definition at line 53 of file ov-java.h.

References java_local_ref< T >::jobj.

template<class T >
T& java_local_ref< T >::operator= ( obj)
inline
template<class T >
void java_local_ref< T >::release ( void  )
inlineprivate

Member Data Documentation

template<class T >
bool java_local_ref< T >::detached
protected
template<class T >
JNIEnv* java_local_ref< T >::env
protected

Definition at line 74 of file ov-java.h.

Referenced by java_local_ref< T >::release().

template<class T >
T java_local_ref< T >::jobj
protected

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