LibreOffice Module bridges (master)  1
Classes | Typedefs | Functions
jni_uno Namespace Reference

Classes

struct  Bridge
 
struct  BridgeRuntimeError
 
class  JLocalAutoRef
 
struct  JNI_compound_type_info
 
class  JNI_context
 
class  JNI_guarded_context
 
class  JNI_info
 
struct  JNI_interface_type_info
 
struct  JNI_type_info
 
struct  JNI_type_info_holder
 
struct  JniUnoEnvironmentData
 
struct  Mapping
 
struct  rtl_mem
 
class  TypeDescr
 

Typedefs

typedef std::unordered_map< OUString, JNI_type_info_holdert_str2type
 

Functions

static std::unique_ptr< rtl_memseq_allocate (sal_Int32 nElements, sal_Int32 nSize)
 
void jstring_to_ustring (JNI_context const &jni, rtl_uString **out_ustr, jstring jstr)
 
OUString jstring_to_oustring (JNI_context const &jni, jstring jstr)
 
jstring ustring_to_jstring (JNI_context const &jni, rtl_uString const *ustr)
 
jclass find_class (JNI_context const &jni, char const *class_name, bool inException=false)
 
jobject create_type (JNI_context const &jni, jclass clazz)
 
jobject create_type (JNI_context const &jni, typelib_TypeDescriptionReference *type)
 
jobject compute_oid (JNI_context const &jni, jobject jo)
 
bool type_equals (typelib_TypeDescriptionReference *type1, typelib_TypeDescriptionReference *type2)
 
bool is_XInterface (typelib_TypeDescriptionReference *type)
 

Typedef Documentation

typedef std::unordered_map< OUString, JNI_type_info_holder > jni_uno::t_str2type

Definition at line 121 of file jni_info.h.

Function Documentation

jobject jni_uno::compute_oid ( JNI_context const &  jni,
jobject  jo 
)
inline
jobject jni_uno::create_type ( JNI_context const &  jni,
jclass  clazz 
)
inline
jobject jni_uno::create_type ( JNI_context const &  jni,
typelib_TypeDescriptionReference *  type 
)
inline
jclass jni_uno::find_class ( JNI_context const &  jni,
char const *  class_name,
bool  inException = false 
)
inline
bool jni_uno::is_XInterface ( typelib_TypeDescriptionReference *  type)
inline
OUString jni_uno::jstring_to_oustring ( JNI_context const &  jni,
jstring  jstr 
)
inline
void jni_uno::jstring_to_ustring ( JNI_context const &  jni,
rtl_uString **  out_ustr,
jstring  jstr 
)
inline
static std::unique_ptr<rtl_mem> jni_uno::seq_allocate ( sal_Int32  nElements,
sal_Int32  nSize 
)
static

Definition at line 34 of file jni_data.cxx.

References jni_uno::rtl_mem::allocate(), p, and SAL_SEQUENCE_HEADER_SIZE.

Referenced by jni_uno::Bridge::map_to_uno().

bool jni_uno::type_equals ( typelib_TypeDescriptionReference *  type1,
typelib_TypeDescriptionReference *  type2 
)
inline
jstring jni_uno::ustring_to_jstring ( JNI_context const &  jni,
rtl_uString const *  ustr 
)
inline