19 #ifndef _TYPELIB_TYPEDESCRIPTION_H_
20 #define _TYPELIB_TYPEDESCRIPTION_H_
546 #if defined( SAL_W32)
564 rtl_uString * pTypeName,
566 sal_Int64 nDefaultDiscriminant,
583 rtl_uString * pTypeName,
584 sal_Int32 nDefaultValue,
585 sal_Int32 nEnumValues,
586 rtl_uString ** ppEnumNames,
587 sal_Int32 * pEnumValues )
600 sal_Int32 nDimensions,
601 sal_Int32 * pDimensions )
622 rtl_uString * pTypeName,
640 rtl_uString * pTypeName,
664 rtl_uString * pTypeName,
665 sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5,
689 rtl_uString * pTypeName,
690 sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5,
691 sal_Int32 nBaseInterfaces,
712 sal_Int32 nAbsolutePosition,
714 rtl_uString * pMethodName,
716 rtl_uString * pReturnTypeName,
719 sal_Int32 nExceptions,
720 rtl_uString ** ppExceptionNames )
738 sal_Int32 nAbsolutePosition,
739 rtl_uString * pAttributeName,
741 rtl_uString * pAttributeTypeName,
764 sal_Int32 nAbsolutePosition,
765 rtl_uString * pAttributeName,
767 rtl_uString * pAttributeTypeName,
769 sal_Int32 nGetExceptions, rtl_uString ** ppGetExceptionNames,
770 sal_Int32 nSetExceptions, rtl_uString ** ppSetExceptionNames )
867 #define TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( eTypeClass ) \
868 ((eTypeClass) == typelib_TypeClass_INTERFACE_METHOD || \
869 (eTypeClass) == typelib_TypeClass_INTERFACE_ATTRIBUTE)
875 #define TYPELIB_DANGER_GET( ppDescription, pTypeRef ) \
877 typelib_TypeDescriptionReference * pMacroTypeRef = (pTypeRef); \
878 typelib_TypeDescription ** ppMacroTypeDescr = (ppDescription); \
879 if (TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( pMacroTypeRef->eTypeClass )) \
881 typelib_typedescriptionreference_getDescription( ppMacroTypeDescr, pMacroTypeRef ); \
883 else if (!pMacroTypeRef->pType || !pMacroTypeRef->pType->pWeakRef) \
885 typelib_typedescriptionreference_getDescription( ppMacroTypeDescr, pMacroTypeRef ); \
886 if (*ppMacroTypeDescr) \
887 typelib_typedescription_release( *ppMacroTypeDescr ); \
891 *ppMacroTypeDescr = pMacroTypeRef->pType; \
897 #define TYPELIB_DANGER_RELEASE( pDescription ) \
899 if (TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( (pDescription)->eTypeClass )) \
900 typelib_typedescription_release( pDescription ); \
915 rtl_uString * pTypeName )
1044 sal_Int32 nDimensions, ... )
1086 sal_Bool const * pParameterizedTypes )
1087 SAL_THROW_EXTERN_C();
1099 SAL_THROW_EXTERN_C();
1114 sal_Int32 nBaseTypes,
1116 SAL_THROW_EXTERN_C();
1127 sal_Int32 nDefaultValue )
1128 SAL_THROW_EXTERN_C();
1140 SAL_THROW_EXTERN_C();
sal_Int32 * pEnumValues
values of enum (corresponding to names in similar order)
Definition: typedescription.h:254
Init struct of members for typelib_typedescription_newStruct().
Definition: typedescription.h:496
CPPU_DLLPUBLIC void typelib_typedescription_newMIInterface(typelib_InterfaceTypeDescription **ppRet, rtl_uString *pTypeName, sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, sal_Int32 nBaseInterfaces, typelib_TypeDescriptionReference **ppBaseInterfaces, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers) SAL_THROW_EXTERN_C()
Creates a multiple-inheritance interface type description.
typelib_TypeDescriptionReference * pType
array, sequence: pointer to element type
Definition: typedescription.h:213
struct _typelib_TypeDescription * pSelf
pointer to self to distinguish reference from description; for internal use only
Definition: typedescription.h:89
typelib_TypeClass eTypeClass
type class of type
Definition: typedescription.h:83
Description of an interface method parameter.
Definition: typedescription.h:259
sal_Int32 nDimensions
number of dimensions
Definition: typedescription.h:226
typelib_TypeClass eTypeClass
type class of parameter
Definition: typedescription.h:516
sal_Int32 * pMapFunctionIndexToMemberIndex
array mapping function index to member index; size of arry is nMapFunctionIndexToMemberIndex ...
Definition: typedescription.h:460
sal_Int32 nIndex
if pBaseRef is null, the member position of this method within pInterface, not counting members inher...
Definition: typedescription.h:339
sal_Bool bOnDemand
determines, if type can be unloaded (and it is possible to reloaded it)
Definition: typedescription.h:114
CPPU_DLLPUBLIC void typelib_typedescription_newInterfaceAttribute(typelib_InterfaceAttributeTypeDescription **ppRet, sal_Int32 nAbsolutePosition, rtl_uString *pAttributeName, typelib_TypeClass eAttributeTypeClass, rtl_uString *pAttributeTypeName, sal_Bool bReadOnly) SAL_THROW_EXTERN_C()
Creates an interface attribute type description.
struct _typelib_InterfaceTypeDescription * pInterface
the interface description this method is a member of
Definition: typedescription.h:325
typelib_TypeDescriptionReference ** ppGetExceptions
array of getter exception types
Definition: typedescription.h:384
sal_Int32 * pDimensions
array of dimensions
Definition: typedescription.h:232
Holds a weak reference to a type description.
Definition: typedescription.h:40
CPPU_DLLPUBLIC void typelib_typedescription_newInterface(typelib_InterfaceTypeDescription **ppRet, rtl_uString *pTypeName, sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, typelib_TypeDescriptionReference *pBaseInterface, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers) SAL_THROW_EXTERN_C()
Creates an interface type description.
char sal_Char
Definition: types.h:122
typelib_InterfaceMemberTypeDescription aBase
inherits all members of typelib_InterfaceMemberTypeDescription
Definition: typedescription.h:302
sal_Bool * pParameterizedTypes
Flags for direct members, specifying whether they are of parameterized type (true) or explict type (f...
Definition: typedescription.h:165
Type description for exception types.
Definition: typedescription.h:119
CPPU_DLLPUBLIC void typelib_static_enum_type_init(typelib_TypeDescriptionReference **ppRef, const sal_Char *pTypeName, sal_Int32 nDefaultValue) SAL_THROW_EXTERN_C()
Inits incomplete static enum type reference.
CPPU_DLLPUBLIC sal_Bool typelib_typedescription_equals(const typelib_TypeDescription *p1, const typelib_TypeDescription *p2) SAL_THROW_EXTERN_C()
Tests whether two types descriptions are equal, i.e.
sal_Bool bOut
true: the call type of this parameter is [out] or [inout] false: the call type of this parameter is [...
Definition: typedescription.h:274
struct _typelib_Union_Init typelib_Union_Init
Init struct of union types for typelib_typedescription_newUnion().
sal_Int32 nStaticRefCount
number of static references of type, because of the fact that some types are needed until program ter...
Definition: typedescription.h:49
sal_Int32 nParams
number of parameters
Definition: typedescription.h:309
sal_Int32 nPosition
position of member in the interface including the number of members of any base interfaces ...
Definition: typedescription.h:289
struct _typelib_InterfaceTypeDescription * pInterface
the interface description this attribute is a member of
Definition: typedescription.h:360
Type description of a union.
Definition: typedescription.h:170
#define SAL_THROW_EXTERN_C()
Definition: types.h:358
enum _typelib_TypeClass typelib_TypeClass
This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
sal_Int32 nValueOffset
union value offset for data access
Definition: typedescription.h:200
struct _typelib_InterfaceAttributeTypeDescription typelib_InterfaceAttributeTypeDescription
The description of an interface attribute.
sal_Int64 nDiscriminant
union member discriminant
Definition: typedescription.h:537
sal_Bool bOut
true, if parameter is [out] or [inout]
Definition: typedescription.h:528
Init struct of interface methods for typelib_typedescription_new().
Definition: typedescription.h:512
CPPU_DLLPUBLIC void 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()
Creates an enum type description.
CPPU_DLLPUBLIC void typelib_typedescription_newArray(typelib_TypeDescription **ppRet, typelib_TypeDescriptionReference *pElementTypeRef, sal_Int32 nDimensions, sal_Int32 *pDimensions) SAL_THROW_EXTERN_C()
Creates an array type description.
CPPU_DLLPUBLIC void typelib_typedescription_newUnion(typelib_TypeDescription **ppRet, rtl_uString *pTypeName, typelib_TypeDescriptionReference *pDiscriminantTypeRef, sal_Int64 nDefaultDiscriminant, typelib_TypeDescriptionReference *pDefaultTypeRef, sal_Int32 nMembers, typelib_Union_Init *pMembers) SAL_THROW_EXTERN_C()
Creates a union type description.
struct _typelib_StructTypeDescription typelib_StructTypeDescription
Type description for struct types.
Type description of an interface.
Definition: typedescription.h:424
sal_Bool bOneWay
determines whether method is declared oneway
Definition: typedescription.h:321
struct _typelib_IndirectTypeDescription typelib_IndirectTypeDescription
Type description of an array or sequence.
CPPU_DLLPUBLIC void typelib_static_sequence_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeDescriptionReference *pElementType) SAL_THROW_EXTERN_C()
Inits static sequence type reference.
struct _typelib_StructMember_Init typelib_StructMember_Init
Init struct of members for typelib_typedescription_newStruct().
CPPU_DLLPUBLIC typelib_TypeDescriptionReference ** typelib_static_type_getByTypeClass(typelib_TypeClass eTypeClass) SAL_THROW_EXTERN_C()
Gets static type reference of standard types by type class.
typelib_MethodParameter * pParams
array of parameters
Definition: typedescription.h:312
rtl_uString ** ppEnumNames
names of enum values
Definition: typedescription.h:251
CPPU_DLLPUBLIC void typelib_typedescriptionreference_newByAsciiName(typelib_TypeDescriptionReference **ppTDR, typelib_TypeClass eTypeClass, const sal_Char *pTypeName) SAL_THROW_EXTERN_C()
Creates a type description reference.
typelib_TypeDescriptionReference ** ppExceptions
array of exception types
Definition: typedescription.h:318
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:123
CPPU_DLLPUBLIC void typelib_static_array_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeDescriptionReference *pElementType, sal_Int32 nDimensions,...) SAL_THROW_EXTERN_C()
Inits static array type reference.
sal_Int32 nStaticRefCount
number of static references of type, because of the fact that some types are needed until program ter...
Definition: typedescription.h:80
struct _typelib_UnionTypeDescription typelib_UnionTypeDescription
Type description of a union.
The description of an interface attribute.
Definition: typedescription.h:345
rtl_uString * pTypeName
fully qualified name of type
Definition: typedescription.h:55
typelib_TypeDescriptionReference * pTypeRef
type of parameter
Definition: typedescription.h:266
rtl_uString * pTypeName
fully qualified name of type
Definition: typedescription.h:86
typelib_TypeDescriptionReference ** ppMembers
array of members; references attributes or methods
Definition: typedescription.h:444
CPPU_DLLPUBLIC void typelib_typedescription_register(typelib_TypeDescription **ppNewDescription) SAL_THROW_EXTERN_C()
Registers a type description and creates a type description reference.
sal_Int32 nMembers
number of members
Definition: typedescription.h:131
CPPU_DLLPUBLIC void typelib_typedescriptionreference_getDescription(typelib_TypeDescription **ppRet, typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Retrieves the type description for a given reference.
struct _typelib_InterfaceTypeDescription ** ppBaseTypes
array of base type descriptions
Definition: typedescription.h:470
sal_Bool bParameterizedType
Flag specifying whether the member is of parameterized type (true) or explict type (false)...
Definition: typedescription.h:507
struct _typelib_TypeDescription * pType
pointer to full typedescription; this value is only valid if the type is never swapped out ...
Definition: typedescription.h:58
rtl_uString * pTypeName
name of type of compound member
Definition: typedescription.h:485
void * pReserved
reserved for future use; 0 if not used
Definition: typedescription.h:95
typelib_InterfaceMemberTypeDescription aBase
inherits all members of typelib_InterfaceMemberTypeDescription
Definition: typedescription.h:349
sal_Int32 nMembers
number of union member types
Definition: typedescription.h:188
CPPU_DLLPUBLIC void typelib_typedescription_newStruct(typelib_TypeDescription **ppRet, rtl_uString *pTypeName, typelib_TypeDescriptionReference *pType, sal_Int32 nMembers, typelib_StructMember_Init *pMembers) SAL_THROW_EXTERN_C()
Creates a new struct type description.
sal_Int64 nDefaultDiscriminant
union default descriminant
Definition: typedescription.h:182
typelib_TypeDescriptionReference * pAttributeTypeRef
type of the attribute
Definition: typedescription.h:356
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:428
CPPU_DLLPUBLIC void typelib_typedescription_release(typelib_TypeDescription *pDesc) SAL_THROW_EXTERN_C()
Decrements reference count of given type.
rtl_uString * pMemberName
name of compound member
Definition: typedescription.h:488
CPPU_DLLPUBLIC void typelib_typedescriptionreference_assign(typelib_TypeDescriptionReference **ppDest, typelib_TypeDescriptionReference *pSource) SAL_THROW_EXTERN_C()
Assigns a type.
typelib_TypeDescriptionReference * pDiscriminantTypeRef
type of the discriminant
Definition: typedescription.h:178
sal_Int32 nMapFunctionIndexToMemberIndex
number of members plus number of read-write attributes
Definition: typedescription.h:457
struct _typelib_InterfaceMethodTypeDescription typelib_InterfaceMethodTypeDescription
Type description of an interface method.
CPPU_DLLPUBLIC void typelib_typedescription_newInterfaceMethod(typelib_InterfaceMethodTypeDescription **ppRet, sal_Int32 nAbsolutePosition, sal_Bool bOneWay, rtl_uString *pMethodName, typelib_TypeClass eReturnTypeClass, rtl_uString *pReturnTypeName, sal_Int32 nParams, typelib_Parameter_Init *pParams, sal_Int32 nExceptions, rtl_uString **ppExceptionNames) SAL_THROW_EXTERN_C()
Creates an interface method type description.
Full type description of a type.
Definition: typedescription.h:71
struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription
Type description of an interface.
rtl_uString * pParamName
name of parameter
Definition: typedescription.h:522
Init struct of compound members for typelib_typedescription_new().
Definition: typedescription.h:475
rtl_uString * pName
name of parameter
Definition: typedescription.h:263
CPPU_DLLPUBLIC sal_Bool typelib_typedescriptionreference_isAssignableFrom(typelib_TypeDescriptionReference *pAssignable, typelib_TypeDescriptionReference *pFrom) SAL_THROW_EXTERN_C()
Tests if values of type pAssignable can be assigned by values of type pFrom.
typelib_TypeDescriptionReference * pDefaultTypeRef
union default member type (may be 0)
Definition: typedescription.h:185
struct _typelib_TypeDescription typelib_TypeDescription
Full type description of a type.
void * pReserved
reserved for future use; 0 if not used
Definition: typedescription.h:64
struct _typelib_CompoundMember_Init typelib_CompoundMember_Init
Init struct of compound members for typelib_typedescription_new().
Init struct of union types for typelib_typedescription_newUnion().
Definition: typedescription.h:533
rtl_uString * pMemberName
name of member
Definition: typedescription.h:292
struct _typelib_TypeDescriptionReference typelib_TypeDescriptionReference
Holds a weak reference to a type description.
typelib_TypeDescriptionReference * pWeakRef
pointer to weak reference
Definition: typedescription.h:111
Type description of an array or sequence.
Definition: typedescription.h:205
typelib_TypeClass eTypeClass
type class of compound member
Definition: typedescription.h:479
#define CPPU_DLLPUBLIC
Definition: cppudllapi.h:10
typelib_TypeDescriptionReference ** ppTypeRefs
members of the struct or exception
Definition: typedescription.h:137
CPPU_DLLPUBLIC void typelib_typedescription_registerCallback(void *pContext, typelib_typedescription_Callback pCallback) SAL_THROW_EXTERN_C()
Registers callback function providing additional type descriptions.
rtl_uString ** ppMemberNames
member names of the struct or exception
Definition: typedescription.h:140
Type description of an interface method.
Definition: typedescription.h:298
sal_Bool bIn
true: the call type of this parameter is [in] or [inout] false: the call type of this parameter is [o...
Definition: typedescription.h:270
CPPU_DLLPUBLIC void typelib_typedescription_acquire(typelib_TypeDescription *pDesc) SAL_THROW_EXTERN_C()
Increments reference count of given type description.
CPPU_DLLPUBLIC void typelib_typedescriptionreference_release(typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Increments reference count of type description reference.
CPPU_DLLPUBLIC void typelib_static_compound_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeClass eTypeClass, const sal_Char *pTypeName, typelib_TypeDescriptionReference *pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers) SAL_THROW_EXTERN_C()
Inits incomplete static compound type reference.
CPPU_DLLPUBLIC void typelib_static_struct_type_init(typelib_TypeDescriptionReference **ppRef, const sal_Char *pTypeName, typelib_TypeDescriptionReference *pBaseType, sal_Int32 nMembers, typelib_TypeDescriptionReference **ppMembers, sal_Bool const *pParameterizedTypes) SAL_THROW_EXTERN_C()
Inits incomplete static struct type reference.
CPPU_DLLPUBLIC void typelib_setCacheSize(sal_Int32 nNewSize) SAL_THROW_EXTERN_C()
Sets size of type description cache.
Type description for struct types.
Definition: typedescription.h:152
typelib_TypeDescriptionReference * pTypeRef
union member type
Definition: typedescription.h:543
typelib_Uik aUik
unique identifier of interface
Definition: typedescription.h:438
Type description of an array.
Definition: typedescription.h:218
sal_Int32 nRefCount
reference count of type; don't ever modify this by yourself, use typelib_typedescriptionreference_acq...
Definition: typedescription.h:45
CPPU_DLLPUBLIC void typelib_typedescriptionreference_new(typelib_TypeDescriptionReference **ppTDR, typelib_TypeClass eTypeClass, rtl_uString *pTypeName) SAL_THROW_EXTERN_C()
Creates a type description reference.
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:284
typelib_TypeClass eTypeClass
type class of type
Definition: typedescription.h:52
sal_Int32 nGetExceptions
number of getter exceptions
Definition: typedescription.h:379
typelib_TypeDescriptionReference ** ppTypeRefs
union member value types (same order as idl declaration)
Definition: typedescription.h:194
sal_Int32 nBaseTypes
number of base types
Definition: typedescription.h:465
sal_Int32 nSetExceptions
number of setter exceptions
Definition: typedescription.h:389
typelib_IndirectTypeDescription aBase
inherits all members of typelib_IndirectTypeDescription
Definition: typedescription.h:222
sal_Bool bComplete
flag to determine whether the description is complete: compound and union types lack of member names...
Definition: typedescription.h:102
sal_Int64 * pDiscriminants
union member discriminant values (same order as idl declaration)
Definition: typedescription.h:191
CPPU_DLLPUBLIC void typelib_typedescription_getByName(typelib_TypeDescription **ppRet, rtl_uString *pName) SAL_THROW_EXTERN_C()
Retrieves a type description via its fully qualified name.
CPPU_DLLPUBLIC void typelib_static_interface_type_init(typelib_TypeDescriptionReference **ppRef, const sal_Char *pTypeName, typelib_TypeDescriptionReference *pBaseType) SAL_THROW_EXTERN_C()
Inits incomplete static interface type reference.
void * pUniqueIdentifier
pointer to optimize the runtime; not for public use
Definition: typedescription.h:92
struct _typelib_ArrayTypeDescription typelib_ArrayTypeDescription
Type description of an array.
struct _typelib_MethodParameter typelib_MethodParameter
Description of an interface method parameter.
sal_Int32 nSize
size of type
Definition: typedescription.h:105
struct _typelib_CompoundTypeDescription typelib_CompoundTypeDescription
Type description for exception types.
CPPU_DLLPUBLIC void typelib_typedescriptionreference_acquire(typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Increments reference count of type description reference.
struct _typelib_EnumTypeDescription typelib_EnumTypeDescription
Type description of an enum.
CPPU_DLLPUBLIC void typelib_static_mi_interface_type_init(typelib_TypeDescriptionReference **ppRef, const sal_Char *pTypeName, sal_Int32 nBaseTypes, typelib_TypeDescriptionReference **ppBaseTypes) SAL_THROW_EXTERN_C()
Inits incomplete static multiple-inheritance interface type reference.
CPPU_DLLPUBLIC void typelib_typedescription_newExtendedInterfaceAttribute(typelib_InterfaceAttributeTypeDescription **ppRet, sal_Int32 nAbsolutePosition, rtl_uString *pAttributeName, 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()
Creates an extended interface attribute type description.
void * pUniqueIdentifier
pointer to optimize the runtime; not for public use
Definition: typedescription.h:61
rtl_uString ** ppMemberNames
union member value names (same order as idl declaration)
Definition: typedescription.h:197
sal_Int32 nMembers
number of members
Definition: typedescription.h:441
unsigned char sal_Bool
Definition: types.h:37
struct _typelib_Parameter_Init typelib_Parameter_Init
Init struct of interface methods for typelib_typedescription_new().
struct _typelib_InterfaceMemberTypeDescription typelib_InterfaceMemberTypeDescription
Common base type description of typelib_InterfaceMethodTypeDescription and typelib_InterfaceAttribute...
sal_Int32 nIndex
if pBaseRef is null, the member position of this attribute within pInterface, not counting members in...
Definition: typedescription.h:374
typelib_CompoundTypeDescription aBase
Derived from typelib_CompoundTypeDescription.
Definition: typedescription.h:157
sal_Int32 nEnumValues
number of enum values
Definition: typedescription.h:248
struct _typelib_CompoundTypeDescription * pBaseTypeDescription
pointer to base type description, else 0
Definition: typedescription.h:127
void(* typelib_typedescription_Callback)(void *pContext, typelib_TypeDescription **ppRet, rtl_uString *pTypeName)
Function pointer declaration of callback function get additional descriptions.
Definition: typedescription.h:833
Binary typelib uik struct.
Definition: uik.h:30
sal_Bool bReadOnly
determines whether attribute is read only
Definition: typedescription.h:353
rtl_uString * pMemberName
union member name
Definition: typedescription.h:540
sal_Int32 nAlignment
alignment of type
Definition: typedescription.h:108
CPPU_DLLPUBLIC void typelib_static_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeClass eTypeClass, const sal_Char *pTypeName) SAL_THROW_EXTERN_C()
Inits static type reference.
Type description of an enum.
Definition: typedescription.h:237
sal_Int32 * pMemberOffsets
byte offsets of each member including the size the base type
Definition: typedescription.h:134
typelib_TypeDescriptionReference ** ppAllMembers
array of members including members of base interface; references attributes or methods ...
Definition: typedescription.h:450
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:209
rtl_uString * pTypeName
name of parameter
Definition: typedescription.h:519
sal_Int32 nDefaultEnumValue
first value of the enum
Definition: typedescription.h:245
typelib_TypeDescriptionReference ** ppSetExceptions
array of setter exception types
Definition: typedescription.h:394
typelib_TypeDescriptionReference * pBaseRef
the inherited direct base attribute (null for an attribute that is not inherited) ...
Definition: typedescription.h:366
CPPU_DLLPUBLIC void 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()
Creates a new type description.
sal_Int32 nExceptions
number of exceptions
Definition: typedescription.h:315
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:174
CPPU_DLLPUBLIC void typelib_typedescription_revokeCallback(void *pContext, typelib_typedescription_Callback pCallback) SAL_THROW_EXTERN_C()
Revokes a previously registered callback function.
CPPU_DLLPUBLIC sal_Bool typelib_typedescriptionreference_equals(const typelib_TypeDescriptionReference *p1, const typelib_TypeDescriptionReference *p2) SAL_THROW_EXTERN_C()
Tests whether two types description references are equal, i.e.
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:241
sal_Bool bIn
true, if parameter is [in] or [inout]
Definition: typedescription.h:525
sal_Int32 nRefCount
reference count; don't ever modify this by yourself, use typelib_typedescription_acquire() and typeli...
Definition: typedescription.h:76
sal_Int32 nAllMembers
number of members including members of base interface
Definition: typedescription.h:447
CPPU_DLLPUBLIC sal_Bool typelib_typedescription_complete(typelib_TypeDescription **ppTypeDescr) SAL_THROW_EXTERN_C()
Completes a typedescription to be used for, e.g., marshalling values.
typelib_TypeDescriptionReference * pBaseRef
the inherited direct base method (null for a method that is not inherited)
Definition: typedescription.h:331
sal_Int32 * pMapMemberIndexToFunctionIndex
array mapping index of the member description to an index doubling for read-write attributes (called ...
Definition: typedescription.h:454
Common base type description of typelib_InterfaceMethodTypeDescription and typelib_InterfaceAttribute...
Definition: typedescription.h:280
typelib_TypeDescriptionReference * pReturnTypeRef
type of the return value
Definition: typedescription.h:306
typelib_CompoundMember_Init aBase
Derived from typelib_CompoundMember_Init;.
Definition: typedescription.h:501
struct _typelib_InterfaceTypeDescription * pBaseTypeDescription
pointer to base type description, else 0
Definition: typedescription.h:435
CPPU_DLLPUBLIC sal_Bool typelib_typedescription_isAssignableFrom(typelib_TypeDescription *pAssignable, typelib_TypeDescription *pFrom) SAL_THROW_EXTERN_C()
Tests if values of type pAssignable can be assigned by values of type pFrom.
sal_Int32 nTotalElements
number of total array elements
Definition: typedescription.h:229