Overview | Namespace | Class | Index | Help |
sal_Int32 | nNewSize ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Sets size of type description cache.
nNewSize | new size of cache |
typelib_TypeDescriptionReference * * | ppRef, |
typelib_TypeDescriptionReference * | pElementType, |
sal_Int32 | nDimensions, |
... | ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits static array type reference. Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
pElementType | element type of sequence |
nDimensions | number of dimensions |
... | additional sal_Int32 parameter for each dimension |
typelib_TypeDescriptionReference * * | ppRef, |
typelib_TypeClass | eTypeClass, |
const sal_Char * | pTypeName, |
typelib_TypeDescriptionReference * | pBaseType, |
sal_Int32 | nMembers, |
typelib_TypeDescriptionReference * * | ppMembers ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits incomplete static compound type reference. Thread synchronizes on typelib init mutex.
Since this function can only be used to create type descriptions for plain struct types, not for instantiated polymorphic struct types, the function typelib_static_struct_type_init should be used instead for all struct types.
ppRef | pointer to type reference pointer |
eTypeClass | typelib_TypeClass_STRUCT or typelib_TypeClass_EXCEPTION |
pTypeName | name of type |
pBaseType | base type |
nMembers | number of members |
ppMembers | member types |
typelib_TypeDescriptionReference * * | ppRef, |
const sal_Char * | pTypeName, |
sal_Int32 | nDefaultValue ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits incomplete static enum type reference. Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
pTypeName | name of enum |
nDefaultEnumValue | default enum value |
typelib_TypeDescriptionReference * * | ppRef, |
const sal_Char * | pTypeName, |
typelib_TypeDescriptionReference * | pBaseType ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits incomplete static interface type reference. Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
pTypeName | name of interface |
pBaseType | base type |
typelib_TypeDescriptionReference * * | ppRef, |
const sal_Char * | pTypeName, |
sal_Int32 | nBaseTypes, |
typelib_TypeDescriptionReference * * | ppBaseTypes ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits incomplete static multiple-inheritance interface type reference. Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
pTypeName | name of interface |
nBaseTypes | number of base types |
ppBaseTypes | base types |
typelib_TypeDescriptionReference * * | ppRef, |
typelib_TypeDescriptionReference * | pElementType ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits static sequence type reference. Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
pElementType | element type of sequence |
typelib_TypeDescriptionReference * * | ppRef, |
const sal_Char * | pTypeName, |
typelib_TypeDescriptionReference * | pBaseType, |
sal_Int32 | nMembers, |
typelib_TypeDescriptionReference * * | ppMembers, |
const sal_Bool * | pParameterizedTypes ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits incomplete static struct type reference.
Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
pTypeName | name of type |
pBaseType | base type |
nMembers | number of members |
ppMembers | member types |
pParameterizedTypes | flags for direct members, specifying whether they are of parameterized type (true) or explict type (false); must be null for a plain struct type |
typelib_TypeClass | eTypeClass ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Gets static type reference of standard types by type class. ADDITIONAL OPT: provides Type com.sun.star.uno.Exception for typelib_TypeClass_EXCEPTION and com.sun.star.uno.XInterface for typelib_TypeClass_INTERFACE. Thread synchronizes on typelib mutex.
eTypeClass | type class of basic type |
pointer to type reference pointer
typelib_TypeDescriptionReference * * | ppRef, |
typelib_TypeClass | eTypeClass, |
const sal_Char * | pTypeName ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits static type reference. Thread synchronizes on typelib init mutex.
ppRef | pointer to type reference pointer |
eTypeClass | type class of type |
pTypeName | ascii name of type |
typelib_TypeDescriptionReference * * | ppRef, |
const sal_Char * | pTypeName, |
typelib_TypeDescriptionReference * | pDiscriminantType, |
sal_Int64 | nDefaultDiscriminant, |
typelib_TypeDescriptionReference * | pDefaultType, |
sal_Int32 | nMembers, |
sal_Int64 * | pDiscriminants, |
typelib_TypeDescriptionReference * * | pMemberTypes ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Inits incomplete static compound type reference. Thread synchronizes on typelib init mutex. All discriminants are handled as int64 values. The pDiscriminantTypeRef must be of type byte, short, ..., up to hyper.
ppRef | pointer to type reference pointer |
pTypeName | name of union type |
pDiscriminantType | discriminant type |
nDefaultDiscriminant | default discriminant |
pDefaultType | default value type of union |
nMembers | number of union members |
pDiscriminants | member discriminants |
pMemberTypes | member types |
typelib_TypeDescription * | pDesc ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Increments reference count of given type description.
pDesc | type description |
typelib_TypeDescription * * | ppTypeDescr ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Completes a typedescription to be used for, e.g., marshalling values. COMPOUND, UNION, INTERFACE and ENUM type descriptions may be partly initialized (see typelib_static_...(), typelib_TypeDescription::bComplete). For interface type descriptions, this will also init index tables.
ppTypeDescr | type description to be completed (may be exchanged!) |
true, if type description is complete
const typelib_TypeDescription * | p1, |
const typelib_TypeDescription * | p2 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Tests whether two types descriptions are equal, i.e. type class and names are equal.
p1 | a type description |
p2 | another type description |
true, if type descriptions are equal
typelib_TypeDescription * * | ppRet, |
rtl_uString * | pName ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Retrieves a type description via its fully qualified name.
ppRet | inout type description; *ppRet is 0, if type description was not found |
pName | name demanded type description |
typelib_TypeDescription * | pAssignable, |
typelib_TypeDescription * | pFrom ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Tests if values of type pAssignable can be assigned by values of type pFrom. This includes widening conversion (e.g., long assignable from short), as long as there is no data loss.
pAssignable | type description of value to be assigned |
pFrom | type description of value |
typelib_TypeDescription * * | ppRet, |
typelib_TypeClass | eTypeClass, |
rtl_uString * | pTypeName, |
typelib_TypeDescriptionReference * | pType, |
sal_Int32 | nMembers, |
typelib_CompoundMember_Init * | pMembers ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates a new type description.
Since this function can only be used to create type descriptions for plain struct types, not for instantiated polymorphic struct types, the function typelib_typedescription_newStruct should be used instead for all struct types.
ppRet | inout type description |
eTypeClass | type class |
pTypeName | name of type |
pType | sequence, array: element type; struct, Exception: base type; |
nMembers | number of members if struct, exception |
pMember | array of members if struct, exception |
typelib_TypeDescription * * | ppRet, |
typelib_TypeDescriptionReference * | pElementTypeRef, |
sal_Int32 | nDimensions, |
sal_Int32 * | pDimensions ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates an array type description.
ppRet | inout enum type description |
pElementTypeRef | element type |
nDimensions | number of dimensions |
pDimensions | dimensions |
typelib_TypeDescription * * | ppRet, |
rtl_uString * | pTypeName, |
sal_Int32 | nDefaultValue, |
sal_Int32 | nEnumValues, |
rtl_uString * * | ppEnumNames, |
sal_Int32 * | pEnumValues ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates an enum type description.
ppRet | inout enum type description |
pTypeName | name of enum |
nDefaultEnumValue | default enum value |
nEnumValues | number of enum values |
ppEnumNames | names of enum values |
pEnumValues | enum values |
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 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates an extended interface attribute type description.
ppRet | inout attribute type description |
nAbsolutePosition | position of this attribute including all members of base interfaces |
pAttributeName | fully qualified name of attribute including interface name |
eAttributeTypeClass | type class of attribute type |
pAttributeTypeName | type name of attribute type |
bReadOnly | determines whether attribute is read-only |
nGetExceptions | number of getter exceptions |
ppGetExceptionNames | type names of getter exceptions |
nSetExceptions | number of setter exceptions |
ppSetExceptionNames | type names of setter exceptions |
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 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates an interface type description.
ppRet | inout interface type description |
pTypeName | the fully qualified name of the interface. |
nUik1 | uik part |
nUik2 | uik part |
nUik3 | uik part |
nUik4 | uik part |
nUik5 | uik part |
pBaseInterface | base interface type, else 0 |
nMembers | number of members |
ppMembers | members; attributes or methods use typelib_typedescription_newMIInterface instead |
typelib_InterfaceAttributeTypeDescription * * | ppRet, |
sal_Int32 | nAbsolutePosition, |
rtl_uString * | pAttributeName, |
typelib_TypeClass | eAttributeTypeClass, |
rtl_uString * | pAttributeTypeName, |
sal_Bool | bReadOnly ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates an interface attribute type description.
ppRet | inout attribute type description |
nAbsolutePosition | position of this attribute including all members of base interfaces |
pAttributeName | fully qualified name of attribute including interface name |
eAttributeTypeClass | type class of attribute type |
pAttributeTypeName | type name of attribute type |
bReadOnly | determines whether attribute is read-only use typelib_typedescription_newExtendedInterfaceAttribute instead |
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 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates an interface method type description.
ppRet | inout method type description |
nAbsolutePosition | position of member including all members of base interfaces |
bOneWay | determines whether method is declared oneway |
pTypeName | fully qualified name of method including interface name |
eReturnTypeClass | type class of return type |
pReturnTypeName | type name of the return type |
nParams | number of parameters |
pParams | parameter types |
nExceptions | number of exceptions |
ppExceptionNames | type names of exceptions |
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 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates a multiple-inheritance interface type description.
ppRet | inout interface type description |
pTypeName | the fully qualified name of the interface. |
nUik1 | uik part |
nUik2 | uik part |
nUik3 | uik part |
nUik4 | uik part |
nUik5 | uik part |
nBaseInterfaces | number of base interface types |
ppBaseInterface | base interface types |
nMembers | number of members |
ppMembers | members; attributes or methods |
typelib_TypeDescription * * | ppRet, |
rtl_uString * | pTypeName, |
typelib_TypeDescriptionReference * | pType, |
sal_Int32 | nMembers, |
typelib_StructMember_Init * | pMembers ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates a new struct type description.
ppRet | inout type description |
pTypeName | name of type |
pType | base type; |
nMembers | number of members |
pMember | array of members |
typelib_TypeDescription * * | ppRet, |
rtl_uString * | pTypeName, |
typelib_TypeDescriptionReference * | pDiscriminantTypeRef, |
sal_Int64 | nDefaultDiscriminant, |
typelib_TypeDescriptionReference * | pDefaultTypeRef, |
sal_Int32 | nMembers, |
typelib_Union_Init * | pMembers ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates a union type description. All discriminants are handled as int64 values. The pDiscriminantTypeRef must be of type byte, short, ..., up to hyper.
ppRet | inout union type description |
pTypeName | name of union type |
pDiscriminantTypeRef | discriminant type |
nDefaultDiscriminant | default discriminant |
pDefaultTypeRef | default value type of union |
nMembers | number of union members |
pMembers | init members |
typelib_TypeDescription * * | ppNewDescription ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Registers a type description and creates a type description reference. Type descriptions will be registered automatically if they are provided via the callback chain.
ppNewDescription | inout description to be registered; |
void * | pContext, |
typelib_typedescription_Callback | pCallback ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Registers callback function providing additional type descriptions.
pContext | callback context |
pCallback | callback function |
typelib_TypeDescription * | pDesc ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Decrements reference count of given type. If reference count reaches 0, the trype description is deleted.
pDesc | type description |
void * | pContext, |
typelib_typedescription_Callback | pCallback ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Revokes a previously registered callback function.
pContext | callback context |
pCallback | registered callback function |
typelib_TypeDescriptionReference * | pRef ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Increments reference count of type description reference.
pRef | type description reference |
typelib_TypeDescriptionReference * * | ppDest, |
typelib_TypeDescriptionReference * | pSource ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Assigns a type.
ppDest | destination type |
pSource | source type |
const typelib_TypeDescriptionReference * | p1, |
const typelib_TypeDescriptionReference * | p2 ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Tests whether two types description references are equal, i.e. type class and names are equal.
p1 | a type description reference |
p2 | another type description reference |
true, if type description references are equal
typelib_TypeDescription * * | ppRet, |
typelib_TypeDescriptionReference * | pRef ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Retrieves the type description for a given reference. If it is not possible to resolve the reference, null is returned.
ppRet | inout type description |
typelib_TypeDescriptionReference * | pAssignable, |
typelib_TypeDescriptionReference * | pFrom ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Tests if values of type pAssignable can be assigned by values of type pFrom. This includes widening conversion (e.g., long assignable from short), as long as there is no data loss.
pAssignable | type of value to be assigned |
pFrom | type of value |
typelib_TypeDescriptionReference * * | ppTDR, |
typelib_TypeClass | eTypeClass, |
rtl_uString * | pTypeName ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates a type description reference. This is a weak reference not holding the description. If the description is already registered, the previous one is returned.
ppTDR | inout type description reference |
eTypeClass | type class of type |
pTypeName | name of type |
typelib_TypeDescriptionReference * * | ppTDR, |
typelib_TypeClass | eTypeClass, |
const sal_Char * | pTypeName ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Creates a type description reference. This is a weak reference not holding the description. If the description is already registered, the previous one is returned.
ppTDR | inout type description reference |
eTypeClass | type class of type |
pTypeName | ascii name of type |
typelib_TypeDescriptionReference * | pRef ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Increments reference count of type description reference. If the reference count reaches 0, then the reference is deleted.
pRef | type description reference |
Copyright © 2003 Sun Microsystems, Inc.