LibreOffice Module cppu (master) 1
|
#include <algorithm>
#include <unordered_map>
#include <cassert>
#include <list>
#include <set>
#include <utility>
#include <vector>
#include <stdlib.h>
#include <string.h>
#include <sal/log.hxx>
#include <osl/interlck.h>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <osl/diagnose.h>
#include <typelib/typedescription.h>
#include <uno/any2.h>
#include <o3tl/string_view.hxx>
#include "typelib.hxx"
Go to the source code of this file.
Typedefs | |
typedef std::unordered_map< const sal_Unicode *, typelib_TypeDescriptionReference *, hashStr_Impl, equalStr_Impl > | WeakMap_Impl |
typedef std::pair< void *, typelib_typedescription_Callback > | CallbackEntry |
typedef std::list< CallbackEntry > | CallbackSet_Impl |
typedef std::list< typelib_TypeDescription * > | TypeDescriptionList_Impl |
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 structure. More... | |
static sal_Int32 | getDescriptionSize (typelib_TypeClass eTypeClass) |
void SAL_CALL | typelib_typedescription_registerCallback (void *pContext, typelib_typedescription_Callback pCallback) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_revokeCallback (void *pContext, typelib_typedescription_Callback pCallback) SAL_THROW_EXTERN_C() |
static void | typelib_typedescription_initTables (typelib_TypeDescription *pTD) |
void | typelib_typedescription_newEmpty (typelib_TypeDescription **ppRet, typelib_TypeClass eTypeClass, rtl_uString *pTypeName) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_new (typelib_TypeDescription **ppRet, typelib_TypeClass eTypeClass, rtl_uString *pTypeName, typelib_TypeDescriptionReference *pType, sal_Int32 nMembers, typelib_CompoundMember_Init *pMembers) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newStruct (typelib_TypeDescription **ppRet, rtl_uString *pTypeName, typelib_TypeDescriptionReference *pType, sal_Int32 nMembers, typelib_StructMember_Init *pMembers) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newEnum (typelib_TypeDescription **ppRet, rtl_uString *pTypeName, sal_Int32 nDefaultValue, sal_Int32 nEnumValues, rtl_uString **ppEnumNames, sal_Int32 *pEnumValues) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newInterface (typelib_InterfaceTypeDescription **ppRet, rtl_uString *pTypeName, SAL_UNUSED_PARAMETER sal_uInt32, SAL_UNUSED_PARAMETER sal_uInt16, SAL_UNUSED_PARAMETER sal_uInt16, SAL_UNUSED_PARAMETER sal_uInt32, SAL_UNUSED_PARAMETER sal_uInt32, typelib_TypeDescriptionReference *pBaseInterface, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newMIInterface (typelib_InterfaceTypeDescription **ppRet, rtl_uString *pTypeName, SAL_UNUSED_PARAMETER sal_uInt32, SAL_UNUSED_PARAMETER sal_uInt16, SAL_UNUSED_PARAMETER sal_uInt16, SAL_UNUSED_PARAMETER sal_uInt32, SAL_UNUSED_PARAMETER sal_uInt32, sal_Int32 nBaseInterfaces, typelib_TypeDescriptionReference **ppBaseInterfaces, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newInterfaceMethod (typelib_InterfaceMethodTypeDescription **ppRet, sal_Int32 nAbsolutePosition, sal_Bool bOneWay, rtl_uString *pTypeName, typelib_TypeClass eReturnTypeClass, rtl_uString *pReturnTypeName, sal_Int32 nParams, typelib_Parameter_Init *pParams, sal_Int32 nExceptions, rtl_uString **ppExceptionNames) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newInterfaceAttribute (typelib_InterfaceAttributeTypeDescription **ppRet, sal_Int32 nAbsolutePosition, rtl_uString *pTypeName, typelib_TypeClass eAttributeTypeClass, rtl_uString *pAttributeTypeName, sal_Bool bReadOnly) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_newExtendedInterfaceAttribute (typelib_InterfaceAttributeTypeDescription **ppRet, sal_Int32 nAbsolutePosition, rtl_uString *pTypeName, typelib_TypeClass eAttributeTypeClass, rtl_uString *pAttributeTypeName, sal_Bool bReadOnly, sal_Int32 nGetExceptions, rtl_uString **ppGetExceptionNames, sal_Int32 nSetExceptions, rtl_uString **ppSetExceptionNames) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_acquire (typelib_TypeDescription *pTypeDescription) SAL_THROW_EXTERN_C() |
static void | typelib_typedescription_destructExtendedMembers (typelib_TypeDescription *pTD) |
void SAL_CALL | typelib_typedescription_release (typelib_TypeDescription *pTD) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_register (typelib_TypeDescription **ppNewDescription) SAL_THROW_EXTERN_C() |
static bool | type_equals (typelib_TypeDescriptionReference const *p1, typelib_TypeDescriptionReference const *p2) |
sal_Bool SAL_CALL | typelib_typedescription_equals (const typelib_TypeDescription *p1, const typelib_TypeDescription *p2) SAL_THROW_EXTERN_C() |
sal_Int32 | typelib_typedescription_getAlignedUnoSize (const typelib_TypeDescription *pTypeDescription, sal_Int32 nOffset, sal_Int32 &rMaxIntegralTypeSize) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescription_getByName (typelib_TypeDescription **ppRet, rtl_uString *pName) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescriptionreference_newByAsciiName (typelib_TypeDescriptionReference **ppTDR, typelib_TypeClass eTypeClass, const char *pTypeName) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescriptionreference_new (typelib_TypeDescriptionReference **ppTDR, typelib_TypeClass eTypeClass, rtl_uString *pTypeName) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescriptionreference_acquire (typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescriptionreference_release (typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescriptionreference_getDescription (typelib_TypeDescription **ppRet, typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C() |
void | typelib_typedescriptionreference_getByName (typelib_TypeDescriptionReference **ppRet, rtl_uString const *pName) SAL_THROW_EXTERN_C() |
sal_Bool SAL_CALL | typelib_typedescriptionreference_equals (const typelib_TypeDescriptionReference *p1, const typelib_TypeDescriptionReference *p2) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_typedescriptionreference_assign (typelib_TypeDescriptionReference **ppDest, typelib_TypeDescriptionReference *pSource) SAL_THROW_EXTERN_C() |
void SAL_CALL | typelib_setCacheSize (sal_Int32) SAL_THROW_EXTERN_C() |
sal_Bool SAL_CALL | typelib_typedescriptionreference_isAssignableFrom (typelib_TypeDescriptionReference *pAssignable, typelib_TypeDescriptionReference *pFrom) SAL_THROW_EXTERN_C() |
sal_Bool SAL_CALL | typelib_typedescription_isAssignableFrom (typelib_TypeDescription *pAssignable, typelib_TypeDescription *pFrom) SAL_THROW_EXTERN_C() |
sal_Bool SAL_CALL | typelib_typedescription_complete (typelib_TypeDescription **ppTypeDescr) SAL_THROW_EXTERN_C() |
Variables | |
const sal_Int32 | nMaxAlignment = static_cast<sal_Int32>( reinterpret_cast<sal_Size>(&reinterpret_cast<AlignSize_Impl *>(16)->dDouble) - 16) |
constexpr auto | nCacheSize = 256 |
const bool | s_aAssignableFromTab [11][11] |
typedef std::pair< void *, typelib_typedescription_Callback > CallbackEntry |
Definition at line 152 of file typelib.cxx.
typedef std::list< CallbackEntry > CallbackSet_Impl |
Definition at line 153 of file typelib.cxx.
typedef std::list< typelib_TypeDescription * > TypeDescriptionList_Impl |
Definition at line 154 of file typelib.cxx.
typedef std::unordered_map< const sal_Unicode *, typelib_TypeDescriptionReference *, hashStr_Impl, equalStr_Impl > WeakMap_Impl |
Definition at line 150 of file typelib.cxx.
|
static |
Definition at line 70 of file typelib.cxx.
References nMaxAlignment.
Referenced by newAlignedSize(), typelib_typedescription_newEnum(), and typelib_typedescription_newMIInterface().
|
static |
Definition at line 87 of file typelib.cxx.
Referenced by typelib_typedescription_register().
|
static |
Calculate the new size of the structure.
Definition at line 80 of file typelib.cxx.
References adjustAlignment().
Referenced by typelib_typedescription_getAlignedUnoSize().
|
static |
Definition at line 1601 of file typelib.cxx.
Referenced by typelib_typedescription_equals(), and typelib_typedescriptionreference_isAssignableFrom().
void SAL_CALL typelib_setCacheSize | ( | sal_Int32 | ) |
Definition at line 2278 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
void SAL_CALL typelib_typedescription_acquire | ( | typelib_TypeDescription * | pTypeDescription | ) |
Definition at line 1197 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
Referenced by typelib_static_mi_interface_type_init(), typelib_typedescription_getByName(), and typelib_typedescription_register().
sal_Bool SAL_CALL typelib_typedescription_complete | ( | typelib_TypeDescription ** | ppTypeDescr | ) |
Definition at line 2379 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
|
static |
Definition at line 1219 of file typelib.cxx.
References i, nPos, typelib_typedescription_release(), and typelib_typedescriptionreference_release().
Referenced by typelib_typedescription_release().
sal_Bool SAL_CALL typelib_typedescription_equals | ( | const typelib_TypeDescription * | p1, |
const typelib_TypeDescription * | p2 | ||
) |
Definition at line 1609 of file typelib.cxx.
References SAL_THROW_EXTERN_C, and type_equals().
sal_Int32 typelib_typedescription_getAlignedUnoSize | ( | const typelib_TypeDescription * | pTypeDescription, |
sal_Int32 | nOffset, | ||
sal_Int32 & | rMaxIntegralTypeSize | ||
) |
Definition at line 1618 of file typelib.cxx.
References i, newAlignedSize(), SAL_THROW_EXTERN_C, and typelib_typedescription_getAlignedUnoSize().
Referenced by typelib_static_enum_type_init(), typelib_static_mi_interface_type_init(), typelib_typedescription_getAlignedUnoSize(), typelib_typedescription_newEnum(), and typelib_typedescription_newMIInterface().
void SAL_CALL typelib_typedescription_getByName | ( | typelib_TypeDescription ** | ppRet, |
rtl_uString * | pName | ||
) |
Definition at line 1860 of file typelib.cxx.
References Init(), name, nCacheSize, pData, pName, SAL_THROW_EXTERN_C, o3tl::toInt32(), typelib_typedescription_acquire(), typelib_typedescription_getByName(), typelib_typedescription_new(), typelib_typedescription_register(), typelib_typedescription_release(), typelib_typedescriptionreference_getByName(), typelib_typedescriptionreference_getDescription(), and typelib_typedescriptionreference_release().
Referenced by typelib_typedescription_getByName(), typelib_typedescription_newExtendedInterfaceAttribute(), typelib_typedescription_newInterfaceMethod(), and typelib_typedescriptionreference_getDescription().
|
static |
sal_Bool SAL_CALL typelib_typedescription_isAssignableFrom | ( | typelib_TypeDescription * | pAssignable, |
typelib_TypeDescription * | pFrom | ||
) |
Definition at line 2369 of file typelib.cxx.
References SAL_THROW_EXTERN_C, and typelib_typedescriptionreference_isAssignableFrom().
void SAL_CALL typelib_typedescription_new | ( | typelib_TypeDescription ** | ppRet, |
typelib_TypeClass | eTypeClass, | ||
rtl_uString * | pTypeName, | ||
typelib_TypeDescriptionReference * | pType, | ||
sal_Int32 | nMembers, | ||
typelib_CompoundMember_Init * | pMembers | ||
) |
Definition at line 765 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
Referenced by typelib_static_sequence_type_init(), typelib_static_type_getByTypeClass(), and typelib_typedescription_getByName().
void typelib_typedescription_newEmpty | ( | typelib_TypeDescription ** | ppRet, |
typelib_TypeClass | eTypeClass, | ||
rtl_uString * | pTypeName | ||
) |
Definition at line 473 of file typelib.cxx.
References Init(), SAL_THROW_EXTERN_C, and typelib_typedescription_release().
Referenced by typelib_static_enum_type_init(), typelib_static_mi_interface_type_init(), typelib_typedescription_newEnum(), typelib_typedescription_newExtendedInterfaceAttribute(), typelib_typedescription_newInterfaceMethod(), typelib_typedescription_newMIInterface(), and typelib_typedescriptionreference_new().
void SAL_CALL typelib_typedescription_newEnum | ( | typelib_TypeDescription ** | ppRet, |
rtl_uString * | pTypeName, | ||
sal_Int32 | nDefaultValue, | ||
sal_Int32 | nEnumValues, | ||
rtl_uString ** | ppEnumNames, | ||
sal_Int32 * | pEnumValues | ||
) |
Definition at line 792 of file typelib.cxx.
References adjustAlignment(), nPos, SAL_THROW_EXTERN_C, typelib_typedescription_getAlignedUnoSize(), and typelib_typedescription_newEmpty().
void SAL_CALL typelib_typedescription_newExtendedInterfaceAttribute | ( | typelib_InterfaceAttributeTypeDescription ** | ppRet, |
sal_Int32 | nAbsolutePosition, | ||
rtl_uString * | pTypeName, | ||
typelib_TypeClass | eAttributeTypeClass, | ||
rtl_uString * | pAttributeTypeName, | ||
sal_Bool | bReadOnly, | ||
sal_Int32 | nGetExceptions, | ||
rtl_uString ** | ppGetExceptionNames, | ||
sal_Int32 | nSetExceptions, | ||
rtl_uString ** | ppSetExceptionNames | ||
) |
Definition at line 1135 of file typelib.cxx.
References bReadOnly, SAL_THROW_EXTERN_C, typelib_typedescription_getByName(), typelib_typedescription_newEmpty(), typelib_typedescription_release(), and typelib_typedescriptionreference_new().
Referenced by typelib_typedescription_newInterfaceAttribute().
void SAL_CALL typelib_typedescription_newInterface | ( | typelib_InterfaceTypeDescription ** | ppRet, |
rtl_uString * | pTypeName, | ||
SAL_UNUSED_PARAMETER | sal_uInt32, | ||
SAL_UNUSED_PARAMETER | sal_uInt16, | ||
SAL_UNUSED_PARAMETER | sal_uInt16, | ||
SAL_UNUSED_PARAMETER | sal_uInt32, | ||
SAL_UNUSED_PARAMETER | sal_uInt32, | ||
typelib_TypeDescriptionReference * | pBaseInterface, | ||
sal_Int32 | nMembers, | ||
typelib_TypeDescriptionReference ** | ppMembers | ||
) |
Definition at line 823 of file typelib.cxx.
References SAL_THROW_EXTERN_C, and typelib_typedescription_newMIInterface().
Referenced by cppu::get_type_XCurrentContext(), and typelib_static_type_getByTypeClass().
void SAL_CALL typelib_typedescription_newInterfaceAttribute | ( | typelib_InterfaceAttributeTypeDescription ** | ppRet, |
sal_Int32 | nAbsolutePosition, | ||
rtl_uString * | pTypeName, | ||
typelib_TypeClass | eAttributeTypeClass, | ||
rtl_uString * | pAttributeTypeName, | ||
sal_Bool | bReadOnly | ||
) |
Definition at line 1120 of file typelib.cxx.
References bReadOnly, SAL_THROW_EXTERN_C, and typelib_typedescription_newExtendedInterfaceAttribute().
void SAL_CALL typelib_typedescription_newInterfaceMethod | ( | typelib_InterfaceMethodTypeDescription ** | ppRet, |
sal_Int32 | nAbsolutePosition, | ||
sal_Bool | bOneWay, | ||
rtl_uString * | pTypeName, | ||
typelib_TypeClass | eReturnTypeClass, | ||
rtl_uString * | pReturnTypeName, | ||
sal_Int32 | nParams, | ||
typelib_Parameter_Init * | pParams, | ||
sal_Int32 | nExceptions, | ||
rtl_uString ** | ppExceptionNames | ||
) |
Definition at line 1042 of file typelib.cxx.
References i, SAL_THROW_EXTERN_C, typelib_typedescription_getByName(), typelib_typedescription_newEmpty(), typelib_typedescription_release(), and typelib_typedescriptionreference_new().
Referenced by cppu::get_type_XCurrentContext(), and typelib_static_type_getByTypeClass().
void SAL_CALL typelib_typedescription_newMIInterface | ( | typelib_InterfaceTypeDescription ** | ppRet, |
rtl_uString * | pTypeName, | ||
SAL_UNUSED_PARAMETER | sal_uInt32, | ||
SAL_UNUSED_PARAMETER | sal_uInt16, | ||
SAL_UNUSED_PARAMETER | sal_uInt16, | ||
SAL_UNUSED_PARAMETER | sal_uInt32, | ||
SAL_UNUSED_PARAMETER | sal_uInt32, | ||
sal_Int32 | nBaseInterfaces, | ||
typelib_TypeDescriptionReference ** | ppBaseInterfaces, | ||
sal_Int32 | nMembers, | ||
typelib_TypeDescriptionReference ** | ppMembers | ||
) |
Definition at line 912 of file typelib.cxx.
References adjustAlignment(), aName, i, n, SAL_THROW_EXTERN_C, typelib_typedescription_getAlignedUnoSize(), typelib_typedescription_newEmpty(), typelib_typedescription_release(), typelib_typedescriptionreference_acquire(), typelib_typedescriptionreference_getDescription(), and typelib_typedescriptionreference_new().
Referenced by typelib_typedescription_newInterface().
void SAL_CALL typelib_typedescription_newStruct | ( | typelib_TypeDescription ** | ppRet, |
rtl_uString * | pTypeName, | ||
typelib_TypeDescriptionReference * | pType, | ||
sal_Int32 | nMembers, | ||
typelib_StructMember_Init * | pMembers | ||
) |
Definition at line 778 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
void SAL_CALL typelib_typedescription_register | ( | typelib_TypeDescription ** | ppNewDescription | ) |
Definition at line 1393 of file typelib.cxx.
References getDescriptionSize(), Init(), SAL_THROW_EXTERN_C, typelib_typedescription_acquire(), typelib_typedescription_release(), typelib_typedescriptionreference_getByName(), typelib_typedescriptionreference_new(), and typelib_typedescriptionreference_release().
Referenced by cppu::get_type_XCurrentContext(), typelib_static_enum_type_init(), typelib_static_mi_interface_type_init(), typelib_static_sequence_type_init(), typelib_static_type_getByTypeClass(), typelib_typedescription_getByName(), and typelib_typedescriptionreference_new().
void SAL_CALL typelib_typedescription_registerCallback | ( | void * | pContext, |
typelib_typedescription_Callback | pCallback | ||
) |
Definition at line 276 of file typelib.cxx.
References Init(), and SAL_THROW_EXTERN_C.
void SAL_CALL typelib_typedescription_release | ( | typelib_TypeDescription * | pTD | ) |
Definition at line 1325 of file typelib.cxx.
References Init(), SAL_THROW_EXTERN_C, typelib_typedescription_destructExtendedMembers(), and typelib_typedescriptionreference_release().
Referenced by cppu::get_type_XCurrentContext(), typelib_static_type_getByTypeClass(), typelib_typedescription_destructExtendedMembers(), typelib_typedescription_getByName(), typelib_typedescription_newEmpty(), typelib_typedescription_newExtendedInterfaceAttribute(), typelib_typedescription_newInterfaceMethod(), typelib_typedescription_newMIInterface(), typelib_typedescription_register(), typelib_typedescriptionreference_getDescription(), typelib_typedescriptionreference_new(), typelib_typedescriptionreference_release(), and Proxy::~Proxy().
void SAL_CALL typelib_typedescription_revokeCallback | ( | void * | pContext, |
typelib_typedescription_Callback | pCallback | ||
) |
Definition at line 287 of file typelib.cxx.
References Init(), and SAL_THROW_EXTERN_C.
void SAL_CALL typelib_typedescriptionreference_acquire | ( | typelib_TypeDescriptionReference * | pRef | ) |
Definition at line 2133 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
Referenced by cppu::_getVoidType(), typelib_static_type_getByTypeClass(), typelib_typedescription_newMIInterface(), typelib_typedescriptionreference_assign(), and typelib_typedescriptionreference_new().
void SAL_CALL typelib_typedescriptionreference_assign | ( | typelib_TypeDescriptionReference ** | ppDest, |
typelib_TypeDescriptionReference * | pSource | ||
) |
Definition at line 2264 of file typelib.cxx.
References SAL_THROW_EXTERN_C, typelib_typedescriptionreference_acquire(), and typelib_typedescriptionreference_release().
sal_Bool SAL_CALL typelib_typedescriptionreference_equals | ( | const typelib_TypeDescriptionReference * | p1, |
const typelib_TypeDescriptionReference * | p2 | ||
) |
Definition at line 2252 of file typelib.cxx.
References SAL_THROW_EXTERN_C.
void typelib_typedescriptionreference_getByName | ( | typelib_TypeDescriptionReference ** | ppRet, |
rtl_uString const * | pName | ||
) |
Definition at line 2220 of file typelib.cxx.
References Init(), n, pName, SAL_THROW_EXTERN_C, and typelib_typedescriptionreference_release().
Referenced by igetTypeByName(), typelib_typedescription_getByName(), typelib_typedescription_register(), and typelib_typedescriptionreference_new().
void SAL_CALL typelib_typedescriptionreference_getDescription | ( | typelib_TypeDescription ** | ppRet, |
typelib_TypeDescriptionReference * | pRef | ||
) |
Definition at line 2174 of file typelib.cxx.
References Init(), maMutex, n, nRefCount, SAL_THROW_EXTERN_C, typelib_typedescription_getByName(), and typelib_typedescription_release().
Referenced by cppu::binuno_queryInterface(), typelib_static_mi_interface_type_init(), typelib_typedescription_getByName(), and typelib_typedescription_newMIInterface().
sal_Bool SAL_CALL typelib_typedescriptionreference_isAssignableFrom | ( | typelib_TypeDescriptionReference * | pAssignable, |
typelib_TypeDescriptionReference * | pFrom | ||
) |
Definition at line 2301 of file typelib.cxx.
References i, s_aAssignableFromTab, SAL_THROW_EXTERN_C, type_equals(), and typelib_typedescriptionreference_isAssignableFrom().
Referenced by typelib_typedescription_isAssignableFrom(), typelib_typedescriptionreference_isAssignableFrom(), and uno_type_isAssignableFromData().
void SAL_CALL typelib_typedescriptionreference_new | ( | typelib_TypeDescriptionReference ** | ppTDR, |
typelib_TypeClass | eTypeClass, | ||
rtl_uString * | pTypeName | ||
) |
Definition at line 2042 of file typelib.cxx.
References Init(), nCacheSize, SAL_INFO, SAL_THROW_EXTERN_C, typelib_typedescription_newEmpty(), typelib_typedescription_register(), typelib_typedescription_release(), typelib_typedescriptionreference_acquire(), typelib_typedescriptionreference_getByName(), and typelib_typedescriptionreference_release().
Referenced by cppu::get_type_XCurrentContext(), typelib_static_type_getByTypeClass(), typelib_static_type_init(), typelib_typedescription_newExtendedInterfaceAttribute(), typelib_typedescription_newInterfaceMethod(), typelib_typedescription_newMIInterface(), typelib_typedescription_register(), and typelib_typedescriptionreference_newByAsciiName().
void SAL_CALL typelib_typedescriptionreference_newByAsciiName | ( | typelib_TypeDescriptionReference ** | ppTDR, |
typelib_TypeClass | eTypeClass, | ||
const char * | pTypeName | ||
) |
Definition at line 2032 of file typelib.cxx.
References SAL_THROW_EXTERN_C, and typelib_typedescriptionreference_new().
void SAL_CALL typelib_typedescriptionreference_release | ( | typelib_TypeDescriptionReference * | pRef | ) |
Definition at line 2141 of file typelib.cxx.
References Init(), SAL_THROW_EXTERN_C, and typelib_typedescription_release().
Referenced by cppu::_assignData(), cppu::_destructAny(), cppu::_destructData(), cppu::binuno_queryInterface(), cppu::get_type_XCurrentContext(), cppu::idestructElements(), typelib_static_type_getByTypeClass(), typelib_typedescription_destructExtendedMembers(), typelib_typedescription_getByName(), typelib_typedescription_register(), typelib_typedescription_release(), typelib_typedescriptionreference_assign(), typelib_typedescriptionreference_getByName(), and typelib_typedescriptionreference_new().
|
constexpr |
Definition at line 157 of file typelib.cxx.
Referenced by typelib_typedescription_getByName(), 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 68 of file typelib.cxx.
Referenced by adjustAlignment().
const bool s_aAssignableFromTab[11][11] |
Definition at line 2284 of file typelib.cxx.
Referenced by typelib_typedescriptionreference_isAssignableFrom().