LibreOffice Module bridges (master) 1
|
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_holder > | t_str2type |
Functions | |
static std::unique_ptr< rtl_mem > | seq_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 std::unordered_map< OUString, JNI_type_info_holder > jni_uno::t_str2type |
Definition at line 121 of file jni_info.h.
|
inline |
Definition at line 137 of file jni_helper.h.
References jni_uno::JNI_context::ensure_no_exception(), jni_uno::JNI_context::get_info(), jni_uno::JNI_info::m_class_UnoRuntime, and jni_uno::JNI_info::m_method_UnoRuntime_generateOid.
Referenced by jni_uno::Bridge::map_to_uno().
|
inline |
Definition at line 102 of file jni_helper.h.
References jni_uno::JNI_context::ensure_no_exception(), jni_uno::JNI_context::get_info(), jni_uno::JNI_info::m_class_Type, and jni_uno::JNI_info::m_ctor_Type_with_Class.
Referenced by jni_uno::JNI_interface_type_info::JNI_interface_type_info(), jni_uno::Bridge::map_to_java(), and jni_uno::Bridge::map_to_uno().
|
inline |
Definition at line 113 of file jni_helper.h.
References args, jni_uno::JNI_context::ensure_no_exception(), jni_uno::JLocalAutoRef::get(), jni_uno::JNI_context::get_info(), jni_uno::JNI_info::m_class_Type, jni_uno::JNI_info::m_class_TypeClass, jni_uno::JNI_info::m_ctor_Type_with_Name_TypeClass, jni_uno::JNI_info::m_method_TypeClass_fromInt, type, and ustring_to_jstring().
|
inline |
Definition at line 79 of file jni_helper.h.
References jni_uno::JNI_context::ensure_no_exception(), jni_uno::JNI_context::findClass(), jni_uno::JNI_context::get_info(), jni_uno::JNI_context::getClassForName(), m, jni_uno::JNI_info::m_class_Class, and jni_uno::JNI_info::m_method_Class_forName.
Referenced by jni_uno::JNI_context::get_stack_trace(), jni_uno::JNI_compound_type_info::JNI_compound_type_info(), jni_uno::JNI_info::JNI_info(), jni_uno::JNI_interface_type_info::JNI_interface_type_info(), and jni_uno::Bridge::map_to_java().
|
inline |
Definition at line 56 of file jni_info.h.
References type.
Referenced by jni_uno::JNI_info::append_sig(), jni_uno::JNI_info::get_type_info(), jni_uno::JNI_interface_type_info::JNI_interface_type_info(), and jni_uno::Bridge::map_to_java().
|
inline |
Definition at line 60 of file jni_helper.h.
References jstring_to_ustring().
Referenced by jni_uno::Bridge::call_java(), jni_uno::Bridge::handle_java_exc(), jni_uno::Bridge::handle_uno_exc(), and jni_uno::Bridge::map_to_uno().
|
inline |
Definition at line 33 of file jni_helper.h.
References jni_uno::rtl_mem::allocate(), and jni_uno::JNI_context::ensure_no_exception().
Referenced by jstring_to_oustring(), and jni_uno::Bridge::map_to_uno().
|
static |
Definition at line 34 of file jni_data.cxx.
References jni_uno::rtl_mem::allocate(), nElements, p, and SAL_SEQUENCE_HEADER_SIZE.
Referenced by jni_uno::Bridge::map_to_uno().
|
inline |
Definition at line 43 of file jni_info.h.
Referenced by jni_uno::JNI_compound_type_info::JNI_compound_type_info(), and jni_uno::Bridge::map_to_uno().
|
inline |
Definition at line 68 of file jni_helper.h.
References jni_uno::JNI_context::ensure_no_exception().
Referenced by create_type(), jni_uno::JNI_info::JNI_info(), and jni_uno::Bridge::map_to_java().