| Overview | Namespace | Class | Index | Help |
| PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
::
struct _typelib_InterfaceTypeDescription
- Base Classes
- None.
- Known Derived Classes
- None.
| virtual | abstract | interface | template |
| NO | NO | NO | NO |
- Summary
- Type description of an interface.
- Description
-
Not all members are always initialized (not yet initialized members being null); there are three levels:
- Minimally, only
aBase,pBaseTypeDescription,aUik,nBaseTypes, andppBaseTypesare initialized;aBase.bCompleteis false. This only happens when an interface type description is created withtypelib_static_mi_interface_type_initortypelib_static_interface_type_init. - At the next level,
nMembers,ppMembers,nAllMembers,ppAllMembersare also initialized;aBase.bCompleteis still false. This happens when an interface type description is created withtypelib_typedescription_newMIInterface ortypelib_typedescription_newInterface. - At the final level,
pMapMemberIndexToFunctionIndex,nMapFunctionIndexToMemberIndex, andpMapFunctionIndexToMemberIndexare also initialized;aBase.bCompleteis true. This happens after a call totypelib_typedescription_complete.
- Minimally, only
- File
- typedescription.h
Public Members
-
Data
typelib_TypeDescription aBase; inherits all members of typelib_TypeDescription _typelib_InterfaceTypeDescription * pBaseTypeDescription; pointer to base type description, else 0 typelib_Uik aUik; unique identifier of interface sal_Int32 nMembers; number of members typelib_TypeDescriptionReference * * ppMembers; array of members; references attributes or methods sal_Int32 nAllMembers; number of members including members of base interface typelib_TypeDescriptionReference * * ppAllMembers; array of members including members of base interface; references attributes or methods sal_Int32 * pMapMemberIndexToFunctionIndex; array mapping index of the member description to an index doubling for read-write attributes (called function index); size of array is nAllMembers sal_Int32 nMapFunctionIndexToMemberIndex; number of members plus number of read-write attributes sal_Int32 * pMapFunctionIndexToMemberIndex; array mapping function index to member index; size of arry is nMapFunctionIndexToMemberIndex sal_Int32 nBaseTypes; number of base types _typelib_InterfaceTypeDescription * * ppBaseTypes; array of base type descriptions
Copyright © 2009 Sun Microsystems, Inc.


