LibreOffice Module cppu (master) 1
Functions | Variables
static_types.cxx File Reference
#include <sal/config.h>
#include <algorithm>
#include <cassert>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <typelib/typedescription.h>
#include "typelib.hxx"
Include dependency graph for static_types.cxx:

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)
 

Function Documentation

◆ adjustAlignment()

static sal_Int32 adjustAlignment ( sal_Int32  nRequestedAlignment)
static

◆ igetTypeByName()

static typelib_TypeDescriptionReference * igetTypeByName ( rtl_uString const *  pTypeName)
static

◆ newAlignedSize()

static sal_Int32 newAlignedSize ( sal_Int32  OldSize,
sal_Int32  ElementSize,
sal_Int32  NeededAlignment 
)
static

Calculate the new size of the struktur.

Definition at line 84 of file static_types.cxx.

References adjustAlignment().

◆ typelib_static_compound_type_init()

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.

◆ typelib_static_enum_type_init()

void SAL_CALL typelib_static_enum_type_init ( typelib_TypeDescriptionReference **  ppRef,
const char *  pTypeName,
sal_Int32  nDefaultValue 
)

◆ typelib_static_interface_type_init()

void SAL_CALL typelib_static_interface_type_init ( typelib_TypeDescriptionReference **  ppRef,
const char *  pTypeName,
typelib_TypeDescriptionReference *  pBaseType 
)

◆ 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 
)

◆ typelib_static_sequence_type_init()

void SAL_CALL typelib_static_sequence_type_init ( typelib_TypeDescriptionReference **  ppRef,
typelib_TypeDescriptionReference *  pElementType 
)

◆ typelib_static_struct_type_init()

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_static_type_getByTypeClass()

typelib_TypeDescriptionReference **SAL_CALL typelib_static_type_getByTypeClass ( typelib_TypeClass  eTypeClass)

◆ typelib_static_type_init()

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().

Variable Documentation

◆ nMaxAlignment

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().