LibreOffice LibreOffice 4.1 SDK C/C++ API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
typedescription.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19 #ifndef _TYPELIB_TYPEDESCRIPTION_H_
20 #define _TYPELIB_TYPEDESCRIPTION_H_
21
22 #include <cppu/cppudllapi.h>
23 #include <typelib/uik.h>
24 #include <typelib/typeclass.h>
25 #include <rtl/ustring.h>
26
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31
32 struct _typelib_TypeDescription;
33
34 #if defined( SAL_W32)
35 #pragma pack(push, 8)
36 #endif
37
40 typedef struct _typelib_TypeDescriptionReference
41 {
45 sal_Int32 nRefCount;
49 sal_Int32 nStaticRefCount;
52 typelib_TypeClass eTypeClass;
55 rtl_uString * pTypeName;
58 struct _typelib_TypeDescription * pType;
61 void * pUniqueIdentifier;
64 void * pReserved;
65 } typelib_TypeDescriptionReference;
66
71 typedef struct _typelib_TypeDescription
72 {
76 sal_Int32 nRefCount;
80 sal_Int32 nStaticRefCount;
83 typelib_TypeClass eTypeClass;
86 rtl_uString * pTypeName;
89 struct _typelib_TypeDescription * pSelf;
92 void * pUniqueIdentifier;
95 void * pReserved;
96
102 sal_Bool bComplete;
105 sal_Int32 nSize;
108 sal_Int32 nAlignment;
111 typelib_TypeDescriptionReference * pWeakRef;
114 sal_Bool bOnDemand;
115 } typelib_TypeDescription;
116
119 typedef struct _typelib_CompoundTypeDescription
120 {
123 typelib_TypeDescription aBase;
124
127 struct _typelib_CompoundTypeDescription * pBaseTypeDescription;
128
131 sal_Int32 nMembers;
134 sal_Int32 * pMemberOffsets;
137 typelib_TypeDescriptionReference ** ppTypeRefs;
140 rtl_uString ** ppMemberNames;
141 } typelib_CompoundTypeDescription;
142
152 typedef struct _typelib_StructTypeDescription
153 {
157 typelib_CompoundTypeDescription aBase;
158
165 sal_Bool * pParameterizedTypes;
166 } typelib_StructTypeDescription;
167
170 typedef struct _typelib_UnionTypeDescription
171 {
174 typelib_TypeDescription aBase;
175
178 typelib_TypeDescriptionReference * pDiscriminantTypeRef;
179
182 sal_Int64 nDefaultDiscriminant;
185 typelib_TypeDescriptionReference * pDefaultTypeRef;
188 sal_Int32 nMembers;
191 sal_Int64 * pDiscriminants;
194 typelib_TypeDescriptionReference ** ppTypeRefs;
197 rtl_uString ** ppMemberNames;
200 sal_Int32 nValueOffset;
201 } typelib_UnionTypeDescription;
202
205 typedef struct _typelib_IndirectTypeDescription
206 {
209 typelib_TypeDescription aBase;
210
213 typelib_TypeDescriptionReference * pType;
214 } typelib_IndirectTypeDescription;
215
218 typedef struct _typelib_ArrayTypeDescription
219 {
222 typelib_IndirectTypeDescription aBase;
223
226 sal_Int32 nDimensions;
229 sal_Int32 nTotalElements;
232 sal_Int32 * pDimensions;
233 } typelib_ArrayTypeDescription;
234
237 typedef struct _typelib_EnumTypeDescription
238 {
241 typelib_TypeDescription aBase;
242
245 sal_Int32 nDefaultEnumValue;
248 sal_Int32 nEnumValues;
251 rtl_uString ** ppEnumNames;
254 sal_Int32 * pEnumValues;
255 } typelib_EnumTypeDescription;
256
259 typedef struct _typelib_MethodParameter
260 {
263 rtl_uString * pName;
266 typelib_TypeDescriptionReference * pTypeRef;
270 sal_Bool bIn;
274 sal_Bool bOut;
275 } typelib_MethodParameter;
276
280 typedef struct _typelib_InterfaceMemberTypeDescription
281 {
284 typelib_TypeDescription aBase;
285
289 sal_Int32 nPosition;
292 rtl_uString * pMemberName;
293 } typelib_InterfaceMemberTypeDescription;
294
298 typedef struct _typelib_InterfaceMethodTypeDescription
299 {
302 typelib_InterfaceMemberTypeDescription aBase;
303
306 typelib_TypeDescriptionReference * pReturnTypeRef;
309 sal_Int32 nParams;
312 typelib_MethodParameter * pParams;
315 sal_Int32 nExceptions;
318 typelib_TypeDescriptionReference ** ppExceptions;
321 sal_Bool bOneWay;
322
325 struct _typelib_InterfaceTypeDescription * pInterface;
331 typelib_TypeDescriptionReference * pBaseRef;
339 sal_Int32 nIndex;
340 } typelib_InterfaceMethodTypeDescription;
341
345 typedef struct _typelib_InterfaceAttributeTypeDescription
346 {
349 typelib_InterfaceMemberTypeDescription aBase;
350
353 sal_Bool bReadOnly;
356 typelib_TypeDescriptionReference * pAttributeTypeRef;
357
360 struct _typelib_InterfaceTypeDescription * pInterface;
366 typelib_TypeDescriptionReference * pBaseRef;
374 sal_Int32 nIndex;
379 sal_Int32 nGetExceptions;
384 typelib_TypeDescriptionReference ** ppGetExceptions;
389 sal_Int32 nSetExceptions;
394 typelib_TypeDescriptionReference ** ppSetExceptions;
395 } typelib_InterfaceAttributeTypeDescription;
396
424 typedef struct _typelib_InterfaceTypeDescription
425 {
428 typelib_TypeDescription aBase;
429
435 struct _typelib_InterfaceTypeDescription * pBaseTypeDescription;
438 typelib_Uik aUik;
441 sal_Int32 nMembers;
444 typelib_TypeDescriptionReference ** ppMembers;
447 sal_Int32 nAllMembers;
450 typelib_TypeDescriptionReference ** ppAllMembers;
454 sal_Int32 * pMapMemberIndexToFunctionIndex;
457 sal_Int32 nMapFunctionIndexToMemberIndex;
460 sal_Int32 * pMapFunctionIndexToMemberIndex;
465 sal_Int32 nBaseTypes;
470 struct _typelib_InterfaceTypeDescription ** ppBaseTypes;
471 } typelib_InterfaceTypeDescription;
472
475 typedef struct _typelib_CompoundMember_Init
476 {
479 typelib_TypeClass eTypeClass;
485 rtl_uString * pTypeName;
488 rtl_uString * pMemberName;
489 } typelib_CompoundMember_Init;
490
496 typedef struct _typelib_StructMember_Init
497 {
501 typelib_CompoundMember_Init aBase;
502
507 sal_Bool bParameterizedType;
508 } typelib_StructMember_Init;
509
512 typedef struct _typelib_Parameter_Init
513 {
516 typelib_TypeClass eTypeClass;
519 rtl_uString * pTypeName;
522 rtl_uString * pParamName;
525 sal_Bool bIn;
528 sal_Bool bOut;
529 } typelib_Parameter_Init;
530
533 typedef struct _typelib_Union_Init
534 {
537 sal_Int64 nDiscriminant;
540 rtl_uString * pMemberName;
543 typelib_TypeDescriptionReference* pTypeRef;
544 } typelib_Union_Init;
545
546 #if defined( SAL_W32)
547 #pragma pack(pop)
548 #endif
549
550
562 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newUnion(
563 typelib_TypeDescription ** ppRet,
564 rtl_uString * pTypeName,
565 typelib_TypeDescriptionReference * pDiscriminantTypeRef,
566 sal_Int64 nDefaultDiscriminant,
567 typelib_TypeDescriptionReference * pDefaultTypeRef,
568 sal_Int32 nMembers,
569 typelib_Union_Init * pMembers )
570 SAL_THROW_EXTERN_C();
571
581 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newEnum(
582 typelib_TypeDescription ** ppRet,
583 rtl_uString * pTypeName,
584 sal_Int32 nDefaultValue,
585 sal_Int32 nEnumValues,
586 rtl_uString ** ppEnumNames,
587 sal_Int32 * pEnumValues )
588 SAL_THROW_EXTERN_C();
589
597 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newArray(
598 typelib_TypeDescription ** ppRet,
599 typelib_TypeDescriptionReference * pElementTypeRef,
600 sal_Int32 nDimensions,
601 sal_Int32 * pDimensions )
602 SAL_THROW_EXTERN_C ();
603
619 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_new(
620 typelib_TypeDescription ** ppRet,
621 typelib_TypeClass eTypeClass,
622 rtl_uString * pTypeName,
623 typelib_TypeDescriptionReference * pType,
624 sal_Int32 nMembers,
625 typelib_CompoundMember_Init * pMembers )
626 SAL_THROW_EXTERN_C();
627
638 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newStruct(
639 typelib_TypeDescription ** ppRet,
640 rtl_uString * pTypeName,
641 typelib_TypeDescriptionReference * pType,
642 sal_Int32 nMembers,
643 typelib_StructMember_Init * pMembers )
644 SAL_THROW_EXTERN_C();
645
662 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newInterface(
663 typelib_InterfaceTypeDescription ** ppRet,
664 rtl_uString * pTypeName,
665 sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5,
666 typelib_TypeDescriptionReference * pBaseInterface,
667 sal_Int32 nMembers,
668 typelib_TypeDescriptionReference ** ppMembers )
669 SAL_THROW_EXTERN_C();
670
687 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newMIInterface(
688 typelib_InterfaceTypeDescription ** ppRet,
689 rtl_uString * pTypeName,
690 sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5,
691 sal_Int32 nBaseInterfaces,
692 typelib_TypeDescriptionReference ** ppBaseInterfaces,
693 sal_Int32 nMembers,
694 typelib_TypeDescriptionReference ** ppMembers )
695 SAL_THROW_EXTERN_C();
696
710 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newInterfaceMethod(
711 typelib_InterfaceMethodTypeDescription ** ppRet,
712 sal_Int32 nAbsolutePosition,
713 sal_Bool bOneWay,
714 rtl_uString * pMethodName,
715 typelib_TypeClass eReturnTypeClass,
716 rtl_uString * pReturnTypeName,
717 sal_Int32 nParams,
718 typelib_Parameter_Init * pParams,
719 sal_Int32 nExceptions,
720 rtl_uString ** ppExceptionNames )
721 SAL_THROW_EXTERN_C();
722
736 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newInterfaceAttribute(
737 typelib_InterfaceAttributeTypeDescription ** ppRet,
738 sal_Int32 nAbsolutePosition,
739 rtl_uString * pAttributeName,
740 typelib_TypeClass eAttributeTypeClass,
741 rtl_uString * pAttributeTypeName,
742 sal_Bool bReadOnly )
743 SAL_THROW_EXTERN_C();
744
762 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_newExtendedInterfaceAttribute(
763 typelib_InterfaceAttributeTypeDescription ** ppRet,
764 sal_Int32 nAbsolutePosition,
765 rtl_uString * pAttributeName,
766 typelib_TypeClass eAttributeTypeClass,
767 rtl_uString * pAttributeTypeName,
768 sal_Bool bReadOnly,
769 sal_Int32 nGetExceptions, rtl_uString ** ppGetExceptionNames,
770 sal_Int32 nSetExceptions, rtl_uString ** ppSetExceptionNames )
771 SAL_THROW_EXTERN_C();
772
777 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_acquire(
778 typelib_TypeDescription * pDesc )
779 SAL_THROW_EXTERN_C();
780
786 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_release(
787 typelib_TypeDescription * pDesc )
788 SAL_THROW_EXTERN_C();
789
795 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_register(
796 typelib_TypeDescription ** ppNewDescription )
797 SAL_THROW_EXTERN_C();
798
805 CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_equals(
806 const typelib_TypeDescription * p1, const typelib_TypeDescription * p2 )
807 SAL_THROW_EXTERN_C();
808
814 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_getByName(
815 typelib_TypeDescription ** ppRet, rtl_uString * pName )
816 SAL_THROW_EXTERN_C();
817
822 CPPU_DLLPUBLIC void SAL_CALL typelib_setCacheSize(
823 sal_Int32 nNewSize )
824 SAL_THROW_EXTERN_C();
825
833 typedef void (SAL_CALL * typelib_typedescription_Callback)(
834 void * pContext, typelib_TypeDescription ** ppRet, rtl_uString * pTypeName );
835
841 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_registerCallback(
842 void * pContext, typelib_typedescription_Callback pCallback )
843 SAL_THROW_EXTERN_C();
844
850 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescription_revokeCallback(
851 void * pContext, typelib_typedescription_Callback pCallback )
852 SAL_THROW_EXTERN_C();
853
854
855 /*----------------------------------------------------------------------------*/
856 /*----------------------------------------------------------------------------*/
857 /*----------------------------------------------------------------------------*/
858
860
867 #define TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( eTypeClass ) \
868 ((eTypeClass) == typelib_TypeClass_INTERFACE_METHOD || \
869 (eTypeClass) == typelib_TypeClass_INTERFACE_ATTRIBUTE)
870
875 #define TYPELIB_DANGER_GET( ppDescription, pTypeRef ) \
876 { \
877 typelib_TypeDescriptionReference * pMacroTypeRef = (pTypeRef); \
878 typelib_TypeDescription ** ppMacroTypeDescr = (ppDescription); \
879 if (TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( pMacroTypeRef->eTypeClass )) \
880 { \
881 typelib_typedescriptionreference_getDescription( ppMacroTypeDescr, pMacroTypeRef ); \
882 } \
883 else if (!pMacroTypeRef->pType || !pMacroTypeRef->pType->pWeakRef) \
884 { \
885 typelib_typedescriptionreference_getDescription( ppMacroTypeDescr, pMacroTypeRef ); \
886 if (*ppMacroTypeDescr) \
887 typelib_typedescription_release( *ppMacroTypeDescr ); \
888 } \
889 else \
890 { \
891 *ppMacroTypeDescr = pMacroTypeRef->pType; \
892 } \
893 }
894
897 #define TYPELIB_DANGER_RELEASE( pDescription ) \
898 { \
899 if (TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( (pDescription)->eTypeClass )) \
900 typelib_typedescription_release( pDescription ); \
901 }
902
904
912 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_new(
913 typelib_TypeDescriptionReference ** ppTDR,
914 typelib_TypeClass eTypeClass,
915 rtl_uString * pTypeName )
916 SAL_THROW_EXTERN_C();
917
925 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_newByAsciiName(
926 typelib_TypeDescriptionReference ** ppTDR,
927 typelib_TypeClass eTypeClass,
928 const sal_Char * pTypeName )
929 SAL_THROW_EXTERN_C();
930
935 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_acquire(
936 typelib_TypeDescriptionReference * pRef )
937 SAL_THROW_EXTERN_C();
938
944 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_release(
945 typelib_TypeDescriptionReference * pRef )
946 SAL_THROW_EXTERN_C();
947
954 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_getDescription(
955 typelib_TypeDescription ** ppRet, typelib_TypeDescriptionReference * pRef )
956 SAL_THROW_EXTERN_C();
957
964 CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescriptionreference_equals(
965 const typelib_TypeDescriptionReference * p1, const typelib_TypeDescriptionReference * p2 )
966 SAL_THROW_EXTERN_C();
967
973 CPPU_DLLPUBLIC void SAL_CALL typelib_typedescriptionreference_assign(
974 typelib_TypeDescriptionReference ** ppDest,
975 typelib_TypeDescriptionReference * pSource )
976 SAL_THROW_EXTERN_C();
977
984 CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_isAssignableFrom(
985 typelib_TypeDescription * pAssignable,
986 typelib_TypeDescription * pFrom )
987 SAL_THROW_EXTERN_C();
988
995 CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescriptionreference_isAssignableFrom(
996 typelib_TypeDescriptionReference * pAssignable,
997 typelib_TypeDescriptionReference * pFrom )
998 SAL_THROW_EXTERN_C();
999
1009 CPPU_DLLPUBLIC typelib_TypeDescriptionReference ** SAL_CALL typelib_static_type_getByTypeClass(
1010 typelib_TypeClass eTypeClass )
1011 SAL_THROW_EXTERN_C();
1012
1019 CPPU_DLLPUBLIC void SAL_CALL typelib_static_type_init(
1020 typelib_TypeDescriptionReference ** ppRef,
1021 typelib_TypeClass eTypeClass, const sal_Char * pTypeName )
1022 SAL_THROW_EXTERN_C();
1023
1029 CPPU_DLLPUBLIC void SAL_CALL typelib_static_sequence_type_init(
1030 typelib_TypeDescriptionReference ** ppRef,
1031 typelib_TypeDescriptionReference * pElementType )
1032 SAL_THROW_EXTERN_C ();
1033
1041 CPPU_DLLPUBLIC void SAL_CALL typelib_static_array_type_init(
1042 typelib_TypeDescriptionReference ** ppRef,
1043 typelib_TypeDescriptionReference * pElementType,
1044 sal_Int32 nDimensions, ... )
1045 SAL_THROW_EXTERN_C ();
1046
1060 CPPU_DLLPUBLIC void SAL_CALL typelib_static_compound_type_init(
1061 typelib_TypeDescriptionReference ** ppRef,
1062 typelib_TypeClass eTypeClass, const sal_Char * pTypeName,
1063 typelib_TypeDescriptionReference * pBaseType,
1064 sal_Int32 nMembers, typelib_TypeDescriptionReference ** ppMembers )
1065 SAL_THROW_EXTERN_C();
1066
1082 CPPU_DLLPUBLIC void SAL_CALL typelib_static_struct_type_init(
1083 typelib_TypeDescriptionReference ** ppRef, const sal_Char * pTypeName,
1084 typelib_TypeDescriptionReference * pBaseType,
1085 sal_Int32 nMembers, typelib_TypeDescriptionReference ** ppMembers,
1086 sal_Bool const * pParameterizedTypes )
1087 SAL_THROW_EXTERN_C();
1088
1095 CPPU_DLLPUBLIC void SAL_CALL typelib_static_interface_type_init(
1096 typelib_TypeDescriptionReference ** ppRef,
1097 const sal_Char * pTypeName,
1098 typelib_TypeDescriptionReference * pBaseType )
1099 SAL_THROW_EXTERN_C();
1100
1111 CPPU_DLLPUBLIC void SAL_CALL typelib_static_mi_interface_type_init(
1112 typelib_TypeDescriptionReference ** ppRef,
1113 const sal_Char * pTypeName,
1114 sal_Int32 nBaseTypes,
1115 typelib_TypeDescriptionReference ** ppBaseTypes )
1116 SAL_THROW_EXTERN_C();
1117
1124 CPPU_DLLPUBLIC void SAL_CALL typelib_static_enum_type_init(
1125 typelib_TypeDescriptionReference ** ppRef,
1126 const sal_Char * pTypeName,
1127 sal_Int32 nDefaultValue )
1128 SAL_THROW_EXTERN_C();
1129
1138 CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_complete(
1139 typelib_TypeDescription ** ppTypeDescr )
1140 SAL_THROW_EXTERN_C();
1141
1142 #ifdef __cplusplus
1143 }
1144 #endif
1145
1146 #endif
1147
1148 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_typelib_EnumTypeDescription::pEnumValues
sal_Int32 * pEnumValues
values of enum (corresponding to names in similar order)
Definition: typedescription.h:254
_typelib_StructMember_Init
Init struct of members for typelib_typedescription_newStruct().
Definition: typedescription.h:496
typelib_typedescription_newMIInterface
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_IndirectTypeDescription::pType
typelib_TypeDescriptionReference * pType
array, sequence: pointer to element type
Definition: typedescription.h:213
_typelib_TypeDescription::pSelf
struct _typelib_TypeDescription * pSelf
pointer to self to distinguish reference from description; for internal use only
Definition: typedescription.h:89
_typelib_TypeDescription::eTypeClass
typelib_TypeClass eTypeClass
type class of type
Definition: typedescription.h:83
_typelib_MethodParameter
Description of an interface method parameter.
Definition: typedescription.h:259
_typelib_ArrayTypeDescription::nDimensions
sal_Int32 nDimensions
number of dimensions
Definition: typedescription.h:226
_typelib_Parameter_Init::eTypeClass
typelib_TypeClass eTypeClass
type class of parameter
Definition: typedescription.h:516
_typelib_InterfaceTypeDescription::pMapFunctionIndexToMemberIndex
sal_Int32 * pMapFunctionIndexToMemberIndex
array mapping function index to member index; size of arry is nMapFunctionIndexToMemberIndex ...
Definition: typedescription.h:460
_typelib_InterfaceMethodTypeDescription::nIndex
sal_Int32 nIndex
if pBaseRef is null, the member position of this method within pInterface, not counting members inher...
Definition: typedescription.h:339
_typelib_TypeDescription::bOnDemand
sal_Bool bOnDemand
determines, if type can be unloaded (and it is possible to reloaded it)
Definition: typedescription.h:114
typelib_typedescription_newInterfaceAttribute
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.
_typelib_InterfaceMethodTypeDescription::pInterface
struct _typelib_InterfaceTypeDescription * pInterface
the interface description this method is a member of
Definition: typedescription.h:325
_typelib_InterfaceAttributeTypeDescription::ppGetExceptions
typelib_TypeDescriptionReference ** ppGetExceptions
array of getter exception types
Definition: typedescription.h:384
_typelib_ArrayTypeDescription::pDimensions
sal_Int32 * pDimensions
array of dimensions
Definition: typedescription.h:232
_typelib_TypeDescriptionReference
Holds a weak reference to a type description.
Definition: typedescription.h:40
typelib_typedescription_newInterface
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.
sal_Char
char sal_Char
Definition: types.h:122
_typelib_InterfaceMethodTypeDescription::aBase
typelib_InterfaceMemberTypeDescription aBase
inherits all members of typelib_InterfaceMemberTypeDescription
Definition: typedescription.h:302
_typelib_StructTypeDescription::pParameterizedTypes
sal_Bool * pParameterizedTypes
Flags for direct members, specifying whether they are of parameterized type (true) or explict type (f...
Definition: typedescription.h:165
_typelib_CompoundTypeDescription
Type description for exception types.
Definition: typedescription.h:119
typelib_static_enum_type_init
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.
typelib_typedescription_equals
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.
_typelib_MethodParameter::bOut
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
typelib_Union_Init
struct _typelib_Union_Init typelib_Union_Init
Init struct of union types for typelib_typedescription_newUnion().
_typelib_TypeDescriptionReference::nStaticRefCount
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
_typelib_InterfaceMethodTypeDescription::nParams
sal_Int32 nParams
number of parameters
Definition: typedescription.h:309
_typelib_InterfaceMemberTypeDescription::nPosition
sal_Int32 nPosition
position of member in the interface including the number of members of any base interfaces ...
Definition: typedescription.h:289
_typelib_InterfaceAttributeTypeDescription::pInterface
struct _typelib_InterfaceTypeDescription * pInterface
the interface description this attribute is a member of
Definition: typedescription.h:360
_typelib_UnionTypeDescription
Type description of a union.
Definition: typedescription.h:170
SAL_THROW_EXTERN_C
#define SAL_THROW_EXTERN_C()
Definition: types.h:358
typelib_TypeClass
enum _typelib_TypeClass typelib_TypeClass
This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
_typelib_UnionTypeDescription::nValueOffset
sal_Int32 nValueOffset
union value offset for data access
Definition: typedescription.h:200
typelib_InterfaceAttributeTypeDescription
struct _typelib_InterfaceAttributeTypeDescription typelib_InterfaceAttributeTypeDescription
The description of an interface attribute.
_typelib_Union_Init::nDiscriminant
sal_Int64 nDiscriminant
union member discriminant
Definition: typedescription.h:537
_typelib_Parameter_Init::bOut
sal_Bool bOut
true, if parameter is [out] or [inout]
Definition: typedescription.h:528
_typelib_Parameter_Init
Init struct of interface methods for typelib_typedescription_new().
Definition: typedescription.h:512
typelib_typedescription_newEnum
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.
typelib_typedescription_newArray
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.
typelib_typedescription_newUnion
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.
typelib_StructTypeDescription
struct _typelib_StructTypeDescription typelib_StructTypeDescription
Type description for struct types.
_typelib_InterfaceTypeDescription
Type description of an interface.
Definition: typedescription.h:424
_typelib_InterfaceMethodTypeDescription::bOneWay
sal_Bool bOneWay
determines whether method is declared oneway
Definition: typedescription.h:321
typelib_IndirectTypeDescription
struct _typelib_IndirectTypeDescription typelib_IndirectTypeDescription
Type description of an array or sequence.
typelib_static_sequence_type_init
CPPU_DLLPUBLIC void typelib_static_sequence_type_init(typelib_TypeDescriptionReference **ppRef, typelib_TypeDescriptionReference *pElementType) SAL_THROW_EXTERN_C()
Inits static sequence type reference.
typelib_StructMember_Init
struct _typelib_StructMember_Init typelib_StructMember_Init
Init struct of members for typelib_typedescription_newStruct().
typelib_static_type_getByTypeClass
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_InterfaceMethodTypeDescription::pParams
typelib_MethodParameter * pParams
array of parameters
Definition: typedescription.h:312
_typelib_EnumTypeDescription::ppEnumNames
rtl_uString ** ppEnumNames
names of enum values
Definition: typedescription.h:251
typelib_typedescriptionreference_newByAsciiName
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_InterfaceMethodTypeDescription::ppExceptions
typelib_TypeDescriptionReference ** ppExceptions
array of exception types
Definition: typedescription.h:318
_typelib_CompoundTypeDescription::aBase
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:123
typelib_static_array_type_init
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.
_typelib_TypeDescription::nStaticRefCount
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
typelib_UnionTypeDescription
struct _typelib_UnionTypeDescription typelib_UnionTypeDescription
Type description of a union.
_typelib_InterfaceAttributeTypeDescription
The description of an interface attribute.
Definition: typedescription.h:345
_typelib_TypeDescriptionReference::pTypeName
rtl_uString * pTypeName
fully qualified name of type
Definition: typedescription.h:55
_typelib_MethodParameter::pTypeRef
typelib_TypeDescriptionReference * pTypeRef
type of parameter
Definition: typedescription.h:266
_typelib_TypeDescription::pTypeName
rtl_uString * pTypeName
fully qualified name of type
Definition: typedescription.h:86
_typelib_InterfaceTypeDescription::ppMembers
typelib_TypeDescriptionReference ** ppMembers
array of members; references attributes or methods
Definition: typedescription.h:444
typelib_typedescription_register
CPPU_DLLPUBLIC void typelib_typedescription_register(typelib_TypeDescription **ppNewDescription) SAL_THROW_EXTERN_C()
Registers a type description and creates a type description reference.
_typelib_CompoundTypeDescription::nMembers
sal_Int32 nMembers
number of members
Definition: typedescription.h:131
typelib_typedescriptionreference_getDescription
CPPU_DLLPUBLIC void typelib_typedescriptionreference_getDescription(typelib_TypeDescription **ppRet, typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Retrieves the type description for a given reference.
_typelib_InterfaceTypeDescription::ppBaseTypes
struct _typelib_InterfaceTypeDescription ** ppBaseTypes
array of base type descriptions
Definition: typedescription.h:470
_typelib_StructMember_Init::bParameterizedType
sal_Bool bParameterizedType
Flag specifying whether the member is of parameterized type (true) or explict type (false)...
Definition: typedescription.h:507
_typelib_TypeDescriptionReference::pType
struct _typelib_TypeDescription * pType
pointer to full typedescription; this value is only valid if the type is never swapped out ...
Definition: typedescription.h:58
_typelib_CompoundMember_Init::pTypeName
rtl_uString * pTypeName
name of type of compound member
Definition: typedescription.h:485
_typelib_TypeDescription::pReserved
void * pReserved
reserved for future use; 0 if not used
Definition: typedescription.h:95
_typelib_InterfaceAttributeTypeDescription::aBase
typelib_InterfaceMemberTypeDescription aBase
inherits all members of typelib_InterfaceMemberTypeDescription
Definition: typedescription.h:349
_typelib_UnionTypeDescription::nMembers
sal_Int32 nMembers
number of union member types
Definition: typedescription.h:188
typelib_typedescription_newStruct
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.
_typelib_UnionTypeDescription::nDefaultDiscriminant
sal_Int64 nDefaultDiscriminant
union default descriminant
Definition: typedescription.h:182
_typelib_InterfaceAttributeTypeDescription::pAttributeTypeRef
typelib_TypeDescriptionReference * pAttributeTypeRef
type of the attribute
Definition: typedescription.h:356
_typelib_InterfaceTypeDescription::aBase
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:428
typelib_typedescription_release
CPPU_DLLPUBLIC void typelib_typedescription_release(typelib_TypeDescription *pDesc) SAL_THROW_EXTERN_C()
Decrements reference count of given type.
_typelib_CompoundMember_Init::pMemberName
rtl_uString * pMemberName
name of compound member
Definition: typedescription.h:488
typelib_typedescriptionreference_assign
CPPU_DLLPUBLIC void typelib_typedescriptionreference_assign(typelib_TypeDescriptionReference **ppDest, typelib_TypeDescriptionReference *pSource) SAL_THROW_EXTERN_C()
Assigns a type.
_typelib_UnionTypeDescription::pDiscriminantTypeRef
typelib_TypeDescriptionReference * pDiscriminantTypeRef
type of the discriminant
Definition: typedescription.h:178
_typelib_InterfaceTypeDescription::nMapFunctionIndexToMemberIndex
sal_Int32 nMapFunctionIndexToMemberIndex
number of members plus number of read-write attributes
Definition: typedescription.h:457
typelib_InterfaceMethodTypeDescription
struct _typelib_InterfaceMethodTypeDescription typelib_InterfaceMethodTypeDescription
Type description of an interface method.
typelib_typedescription_newInterfaceMethod
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.
_typelib_TypeDescription
Full type description of a type.
Definition: typedescription.h:71
typelib_InterfaceTypeDescription
struct _typelib_InterfaceTypeDescription typelib_InterfaceTypeDescription
Type description of an interface.
_typelib_Parameter_Init::pParamName
rtl_uString * pParamName
name of parameter
Definition: typedescription.h:522
_typelib_CompoundMember_Init
Init struct of compound members for typelib_typedescription_new().
Definition: typedescription.h:475
_typelib_MethodParameter::pName
rtl_uString * pName
name of parameter
Definition: typedescription.h:263
typelib_typedescriptionreference_isAssignableFrom
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_UnionTypeDescription::pDefaultTypeRef
typelib_TypeDescriptionReference * pDefaultTypeRef
union default member type (may be 0)
Definition: typedescription.h:185
typelib_TypeDescription
struct _typelib_TypeDescription typelib_TypeDescription
Full type description of a type.
_typelib_TypeDescriptionReference::pReserved
void * pReserved
reserved for future use; 0 if not used
Definition: typedescription.h:64
typelib_CompoundMember_Init
struct _typelib_CompoundMember_Init typelib_CompoundMember_Init
Init struct of compound members for typelib_typedescription_new().
_typelib_Union_Init
Init struct of union types for typelib_typedescription_newUnion().
Definition: typedescription.h:533
_typelib_InterfaceMemberTypeDescription::pMemberName
rtl_uString * pMemberName
name of member
Definition: typedescription.h:292
typelib_TypeDescriptionReference
struct _typelib_TypeDescriptionReference typelib_TypeDescriptionReference
Holds a weak reference to a type description.
_typelib_TypeDescription::pWeakRef
typelib_TypeDescriptionReference * pWeakRef
pointer to weak reference
Definition: typedescription.h:111
_typelib_IndirectTypeDescription
Type description of an array or sequence.
Definition: typedescription.h:205
_typelib_CompoundMember_Init::eTypeClass
typelib_TypeClass eTypeClass
type class of compound member
Definition: typedescription.h:479
CPPU_DLLPUBLIC
#define CPPU_DLLPUBLIC
Definition: cppudllapi.h:10
_typelib_CompoundTypeDescription::ppTypeRefs
typelib_TypeDescriptionReference ** ppTypeRefs
members of the struct or exception
Definition: typedescription.h:137
uik.h
typelib_typedescription_registerCallback
CPPU_DLLPUBLIC void typelib_typedescription_registerCallback(void *pContext, typelib_typedescription_Callback pCallback) SAL_THROW_EXTERN_C()
Registers callback function providing additional type descriptions.
_typelib_CompoundTypeDescription::ppMemberNames
rtl_uString ** ppMemberNames
member names of the struct or exception
Definition: typedescription.h:140
_typelib_InterfaceMethodTypeDescription
Type description of an interface method.
Definition: typedescription.h:298
_typelib_MethodParameter::bIn
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
typelib_typedescription_acquire
CPPU_DLLPUBLIC void typelib_typedescription_acquire(typelib_TypeDescription *pDesc) SAL_THROW_EXTERN_C()
Increments reference count of given type description.
typelib_typedescriptionreference_release
CPPU_DLLPUBLIC void typelib_typedescriptionreference_release(typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Increments reference count of type description reference.
typelib_static_compound_type_init
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.
typelib_static_struct_type_init
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.
typelib_setCacheSize
CPPU_DLLPUBLIC void typelib_setCacheSize(sal_Int32 nNewSize) SAL_THROW_EXTERN_C()
Sets size of type description cache.
_typelib_StructTypeDescription
Type description for struct types.
Definition: typedescription.h:152
_typelib_Union_Init::pTypeRef
typelib_TypeDescriptionReference * pTypeRef
union member type
Definition: typedescription.h:543
_typelib_InterfaceTypeDescription::aUik
typelib_Uik aUik
unique identifier of interface
Definition: typedescription.h:438
_typelib_ArrayTypeDescription
Type description of an array.
Definition: typedescription.h:218
_typelib_TypeDescriptionReference::nRefCount
sal_Int32 nRefCount
reference count of type; don't ever modify this by yourself, use typelib_typedescriptionreference_acq...
Definition: typedescription.h:45
typelib_typedescriptionreference_new
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_InterfaceMemberTypeDescription::aBase
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:284
_typelib_TypeDescriptionReference::eTypeClass
typelib_TypeClass eTypeClass
type class of type
Definition: typedescription.h:52
_typelib_InterfaceAttributeTypeDescription::nGetExceptions
sal_Int32 nGetExceptions
number of getter exceptions
Definition: typedescription.h:379
_typelib_UnionTypeDescription::ppTypeRefs
typelib_TypeDescriptionReference ** ppTypeRefs
union member value types (same order as idl declaration)
Definition: typedescription.h:194
_typelib_InterfaceTypeDescription::nBaseTypes
sal_Int32 nBaseTypes
number of base types
Definition: typedescription.h:465
_typelib_InterfaceAttributeTypeDescription::nSetExceptions
sal_Int32 nSetExceptions
number of setter exceptions
Definition: typedescription.h:389
_typelib_ArrayTypeDescription::aBase
typelib_IndirectTypeDescription aBase
inherits all members of typelib_IndirectTypeDescription
Definition: typedescription.h:222
_typelib_TypeDescription::bComplete
sal_Bool bComplete
flag to determine whether the description is complete: compound and union types lack of member names...
Definition: typedescription.h:102
_typelib_UnionTypeDescription::pDiscriminants
sal_Int64 * pDiscriminants
union member discriminant values (same order as idl declaration)
Definition: typedescription.h:191
typelib_typedescription_getByName
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.
typelib_static_interface_type_init
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.
_typelib_TypeDescription::pUniqueIdentifier
void * pUniqueIdentifier
pointer to optimize the runtime; not for public use
Definition: typedescription.h:92
typelib_ArrayTypeDescription
struct _typelib_ArrayTypeDescription typelib_ArrayTypeDescription
Type description of an array.
typelib_MethodParameter
struct _typelib_MethodParameter typelib_MethodParameter
Description of an interface method parameter.
_typelib_TypeDescription::nSize
sal_Int32 nSize
size of type
Definition: typedescription.h:105
typelib_CompoundTypeDescription
struct _typelib_CompoundTypeDescription typelib_CompoundTypeDescription
Type description for exception types.
typelib_typedescriptionreference_acquire
CPPU_DLLPUBLIC void typelib_typedescriptionreference_acquire(typelib_TypeDescriptionReference *pRef) SAL_THROW_EXTERN_C()
Increments reference count of type description reference.
typelib_EnumTypeDescription
struct _typelib_EnumTypeDescription typelib_EnumTypeDescription
Type description of an enum.
typelib_static_mi_interface_type_init
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.
typelib_typedescription_newExtendedInterfaceAttribute
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.
_typelib_TypeDescriptionReference::pUniqueIdentifier
void * pUniqueIdentifier
pointer to optimize the runtime; not for public use
Definition: typedescription.h:61
_typelib_UnionTypeDescription::ppMemberNames
rtl_uString ** ppMemberNames
union member value names (same order as idl declaration)
Definition: typedescription.h:197
_typelib_InterfaceTypeDescription::nMembers
sal_Int32 nMembers
number of members
Definition: typedescription.h:441
sal_Bool
unsigned char sal_Bool
Definition: types.h:37
typelib_Parameter_Init
struct _typelib_Parameter_Init typelib_Parameter_Init
Init struct of interface methods for typelib_typedescription_new().
typelib_InterfaceMemberTypeDescription
struct _typelib_InterfaceMemberTypeDescription typelib_InterfaceMemberTypeDescription
Common base type description of typelib_InterfaceMethodTypeDescription and typelib_InterfaceAttribute...
_typelib_InterfaceAttributeTypeDescription::nIndex
sal_Int32 nIndex
if pBaseRef is null, the member position of this attribute within pInterface, not counting members in...
Definition: typedescription.h:374
typeclass.h
_typelib_StructTypeDescription::aBase
typelib_CompoundTypeDescription aBase
Derived from typelib_CompoundTypeDescription.
Definition: typedescription.h:157
cppudllapi.h
_typelib_EnumTypeDescription::nEnumValues
sal_Int32 nEnumValues
number of enum values
Definition: typedescription.h:248
_typelib_CompoundTypeDescription::pBaseTypeDescription
struct _typelib_CompoundTypeDescription * pBaseTypeDescription
pointer to base type description, else 0
Definition: typedescription.h:127
typelib_typedescription_Callback
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
_typelib_Uik
Binary typelib uik struct.
Definition: uik.h:30
_typelib_InterfaceAttributeTypeDescription::bReadOnly
sal_Bool bReadOnly
determines whether attribute is read only
Definition: typedescription.h:353
_typelib_Union_Init::pMemberName
rtl_uString * pMemberName
union member name
Definition: typedescription.h:540
_typelib_TypeDescription::nAlignment
sal_Int32 nAlignment
alignment of type
Definition: typedescription.h:108
typelib_static_type_init
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.
_typelib_EnumTypeDescription
Type description of an enum.
Definition: typedescription.h:237
_typelib_CompoundTypeDescription::pMemberOffsets
sal_Int32 * pMemberOffsets
byte offsets of each member including the size the base type
Definition: typedescription.h:134
_typelib_InterfaceTypeDescription::ppAllMembers
typelib_TypeDescriptionReference ** ppAllMembers
array of members including members of base interface; references attributes or methods ...
Definition: typedescription.h:450
_typelib_IndirectTypeDescription::aBase
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:209
_typelib_Parameter_Init::pTypeName
rtl_uString * pTypeName
name of parameter
Definition: typedescription.h:519
_typelib_EnumTypeDescription::nDefaultEnumValue
sal_Int32 nDefaultEnumValue
first value of the enum
Definition: typedescription.h:245
_typelib_InterfaceAttributeTypeDescription::ppSetExceptions
typelib_TypeDescriptionReference ** ppSetExceptions
array of setter exception types
Definition: typedescription.h:394
_typelib_InterfaceAttributeTypeDescription::pBaseRef
typelib_TypeDescriptionReference * pBaseRef
the inherited direct base attribute (null for an attribute that is not inherited) ...
Definition: typedescription.h:366
typelib_typedescription_new
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.
_typelib_InterfaceMethodTypeDescription::nExceptions
sal_Int32 nExceptions
number of exceptions
Definition: typedescription.h:315
_typelib_UnionTypeDescription::aBase
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:174
typelib_typedescription_revokeCallback
CPPU_DLLPUBLIC void typelib_typedescription_revokeCallback(void *pContext, typelib_typedescription_Callback pCallback) SAL_THROW_EXTERN_C()
Revokes a previously registered callback function.
typelib_typedescriptionreference_equals
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_EnumTypeDescription::aBase
typelib_TypeDescription aBase
inherits all members of typelib_TypeDescription
Definition: typedescription.h:241
_typelib_Parameter_Init::bIn
sal_Bool bIn
true, if parameter is [in] or [inout]
Definition: typedescription.h:525
_typelib_TypeDescription::nRefCount
sal_Int32 nRefCount
reference count; don't ever modify this by yourself, use typelib_typedescription_acquire() and typeli...
Definition: typedescription.h:76
_typelib_InterfaceTypeDescription::nAllMembers
sal_Int32 nAllMembers
number of members including members of base interface
Definition: typedescription.h:447
typelib_typedescription_complete
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_InterfaceMethodTypeDescription::pBaseRef
typelib_TypeDescriptionReference * pBaseRef
the inherited direct base method (null for a method that is not inherited)
Definition: typedescription.h:331
_typelib_InterfaceTypeDescription::pMapMemberIndexToFunctionIndex
sal_Int32 * pMapMemberIndexToFunctionIndex
array mapping index of the member description to an index doubling for read-write attributes (called ...
Definition: typedescription.h:454
_typelib_InterfaceMemberTypeDescription
Common base type description of typelib_InterfaceMethodTypeDescription and typelib_InterfaceAttribute...
Definition: typedescription.h:280
_typelib_InterfaceMethodTypeDescription::pReturnTypeRef
typelib_TypeDescriptionReference * pReturnTypeRef
type of the return value
Definition: typedescription.h:306
_typelib_StructMember_Init::aBase
typelib_CompoundMember_Init aBase
Derived from typelib_CompoundMember_Init;.
Definition: typedescription.h:501
_typelib_InterfaceTypeDescription::pBaseTypeDescription
struct _typelib_InterfaceTypeDescription * pBaseTypeDescription
pointer to base type description, else 0
Definition: typedescription.h:435
typelib_typedescription_isAssignableFrom
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.
_typelib_ArrayTypeDescription::nTotalElements
sal_Int32 nTotalElements
number of total array elements
Definition: typedescription.h:229
ustring.h