LibreOffice Module cppu (master) 1
|
#include <sal/config.h>
#include <algorithm>
#include <cassert>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <typelib/typedescription.h>
#include "typelib.hxx"
Go to the source code of this file.
Functions | |
static sal_Int32 | adjustAlignment (sal_Int32 nRequestedAlignment) |
static sal_Int32 | newAlignedSize (sal_Int32 OldSize, sal_Int32 ElementSize, sal_Int32 NeededAlignment) |
Calculate the new size of the struktur. More... | |
static typelib_TypeDescriptionReference * | igetTypeByName (rtl_uString const *pTypeName) |
typelib_TypeDescriptionReference **SAL_CALL | typelib_static_type_getByTypeClass (typelib_TypeClass eTypeClass) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_type_init (typelib_TypeDescriptionReference **ppRef, typelib_TypeClass eTypeClass, const char *pTypeName) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_sequence_type_init (typelib_TypeDescriptionReference **ppRef, typelib_TypeDescriptionReference *pElementType) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_compound_type_init (typelib_TypeDescriptionReference **ppRef, typelib_TypeClass eTypeClass, const char *pTypeName, typelib_TypeDescriptionReference *pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_struct_type_init (typelib_TypeDescriptionReference **ppRef, const char *pTypeName, typelib_TypeDescriptionReference *pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers, sal_Bool const *pParameterizedTypes) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_interface_type_init (typelib_TypeDescriptionReference **ppRef, const char *pTypeName, typelib_TypeDescriptionReference *pBaseType) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_mi_interface_type_init (typelib_TypeDescriptionReference **ppRef, const char *pTypeName, sal_Int32 nBaseTypes, typelib_TypeDescriptionReference **ppBaseTypes) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_static_enum_type_init (typelib_TypeDescriptionReference **ppRef, const char *pTypeName, sal_Int32 nDefaultValue) SAL_THROW_EXTERN_C() |
Variables | |
const sal_Int32 | nMaxAlignment = static_cast<sal_Int32>( reinterpret_cast<sal_Size>(&reinterpret_cast<AlignSize_Impl *>(16)->dDouble) - 16) |
|
static |
Definition at line 74 of file static_types.cxx.
References nMaxAlignment.
Referenced by newAlignedSize(), typelib_static_enum_type_init(), and typelib_static_mi_interface_type_init().
|
static |
Definition at line 93 of file static_types.cxx.
References typelib_typedescriptionreference_getByName().
Referenced by typelib_static_enum_type_init(), typelib_static_mi_interface_type_init(), and typelib_static_sequence_type_init().
|
static |
Calculate the new size of the struktur.
Definition at line 84 of file static_types.cxx.
References adjustAlignment().
void SAL_CALL typelib_static_compound_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
typelib_TypeClass | eTypeClass, | ||
const char * | pTypeName, | ||
typelib_TypeDescriptionReference * | pBaseType, | ||
sal_Int32 | nMembers, | ||
typelib_TypeDescriptionReference ** | ppMembers | ||
) |
Definition at line 408 of file static_types.cxx.
References init(), and SAL_THROW_EXTERN_C.
void SAL_CALL typelib_static_enum_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
const char * | pTypeName, | ||
sal_Int32 | nDefaultValue | ||
) |
Definition at line 505 of file static_types.cxx.
References adjustAlignment(), igetTypeByName(), SAL_THROW_EXTERN_C, typelib_typedescription_getAlignedUnoSize(), typelib_typedescription_newEmpty(), and typelib_typedescription_register().
void SAL_CALL typelib_static_interface_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
const char * | pTypeName, | ||
typelib_TypeDescriptionReference * | pBaseType | ||
) |
Definition at line 430 of file static_types.cxx.
References SAL_THROW_EXTERN_C, and typelib_static_mi_interface_type_init().
void SAL_CALL typelib_static_mi_interface_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
const char * | pTypeName, | ||
sal_Int32 | nBaseTypes, | ||
typelib_TypeDescriptionReference ** | ppBaseTypes | ||
) |
Definition at line 441 of file static_types.cxx.
References adjustAlignment(), i, igetTypeByName(), SAL_THROW_EXTERN_C, typelib_static_type_getByTypeClass(), typelib_typedescription_acquire(), typelib_typedescription_getAlignedUnoSize(), typelib_typedescription_newEmpty(), typelib_typedescription_register(), and typelib_typedescriptionreference_getDescription().
Referenced by typelib_static_interface_type_init().
void SAL_CALL typelib_static_sequence_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
typelib_TypeDescriptionReference * | pElementType | ||
) |
Definition at line 291 of file static_types.cxx.
References igetTypeByName(), SAL_THROW_EXTERN_C, typelib_typedescription_new(), and typelib_typedescription_register().
Referenced by cppu::detail::cppu_detail_getUnoType().
void SAL_CALL typelib_static_struct_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
const char * | pTypeName, | ||
typelib_TypeDescriptionReference * | pBaseType, | ||
sal_Int32 | nMembers, | ||
typelib_TypeDescriptionReference ** | ppMembers, | ||
sal_Bool const * | pParameterizedTypes | ||
) |
Definition at line 418 of file static_types.cxx.
References init(), and SAL_THROW_EXTERN_C.
typelib_TypeDescriptionReference **SAL_CALL typelib_static_type_getByTypeClass | ( | typelib_TypeClass | eTypeClass | ) |
Definition at line 107 of file static_types.cxx.
References SAL_THROW_EXTERN_C, typelib_typedescription_new(), typelib_typedescription_newInterface(), typelib_typedescription_newInterfaceMethod(), typelib_typedescription_register(), typelib_typedescription_release(), typelib_typedescriptionreference_acquire(), typelib_typedescriptionreference_new(), and typelib_typedescriptionreference_release().
Referenced by cppu::_equalObject(), cppu::_getVoidType(), Proxy::acquire(), cppu::binuno_queryInterface(), cppu::get_type_XCurrentContext(), getAcquireMethod(), getReleaseMethod(), cppu::detail::getTypeFromTypeClass(), Proxy::release(), typelib_static_mi_interface_type_init(), and unoenv_computeObjectIdentifier().
void SAL_CALL typelib_static_type_init | ( | typelib_TypeDescriptionReference ** | ppRef, |
typelib_TypeClass | eTypeClass, | ||
const char * | pTypeName | ||
) |
Definition at line 272 of file static_types.cxx.
References SAL_THROW_EXTERN_C, and typelib_typedescriptionreference_new().
const sal_Int32 nMaxAlignment = static_cast<sal_Int32>( reinterpret_cast<sal_Size>(&reinterpret_cast<AlignSize_Impl *>(16)->dDouble) - 16) |
Definition at line 72 of file static_types.cxx.
Referenced by adjustAlignment().