41 for (sal_Int32
i = 0;
i !=
type->nMembers; ++
i)
44 switch (
type->ppTypeRefs[
i]->eTypeClass)
46 case typelib_TypeClass_BOOLEAN:
47 case typelib_TypeClass_BYTE:
48 case typelib_TypeClass_SHORT:
49 case typelib_TypeClass_UNSIGNED_SHORT:
50 case typelib_TypeClass_LONG:
51 case typelib_TypeClass_UNSIGNED_LONG:
52 case typelib_TypeClass_HYPER:
53 case typelib_TypeClass_UNSIGNED_HYPER:
54 case typelib_TypeClass_CHAR:
55 case typelib_TypeClass_ENUM:
58 case typelib_TypeClass_FLOAT:
61 case typelib_TypeClass_DOUBLE:
64 case typelib_TypeClass_STRING:
65 case typelib_TypeClass_TYPE:
66 case typelib_TypeClass_ANY:
67 case typelib_TypeClass_SEQUENCE:
68 case typelib_TypeClass_INTERFACE:
71 case typelib_TypeClass_STRUCT:
74 TYPELIB_DANGER_GET(&td,
type->ppTypeRefs[
i]);
75 k2 =
getStructKind(
reinterpret_cast<typelib_CompoundTypeDescription const*
>(td));
76 TYPELIB_DANGER_RELEASE(td);
113 switch (
type->eTypeClass)
118 case typelib_TypeClass_VOID:
119 case typelib_TypeClass_BOOLEAN:
120 case typelib_TypeClass_BYTE:
121 case typelib_TypeClass_SHORT:
122 case typelib_TypeClass_UNSIGNED_SHORT:
123 case typelib_TypeClass_LONG:
124 case typelib_TypeClass_UNSIGNED_LONG:
125 case typelib_TypeClass_HYPER:
126 case typelib_TypeClass_UNSIGNED_HYPER:
127 case typelib_TypeClass_FLOAT:
128 case typelib_TypeClass_DOUBLE:
129 case typelib_TypeClass_CHAR:
130 case typelib_TypeClass_ENUM:
131 assert(
type->nSize <= 16);
133 case typelib_TypeClass_STRING:
134 case typelib_TypeClass_TYPE:
135 case typelib_TypeClass_ANY:
136 case typelib_TypeClass_SEQUENCE:
137 case typelib_TypeClass_INTERFACE:
139 case typelib_TypeClass_STRUCT:
140 if (
type->nSize > 16)
144 switch (
getStructKind(
reinterpret_cast<typelib_CompoundTypeDescription const*
>(
type)))
struct _typelib_TypeDescription typelib_TypeDescription
ReturnKind getReturnKind(typelib_TypeDescription const *type)
static StructKind getStructKind(typelib_CompoundTypeDescription const *type)