20 #ifndef INCLUDED_REGISTRY_WRITER_H
21 #define INCLUDED_REGISTRY_WRITER_H
27 #include <rtl/ustring.h>
68 rtl_uString
const * typeName, sal_uInt16 superTypeCount,
69 sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount)
98 void const * handle, sal_uInt16 index, rtl_uString
const * typeName)
128 void * handle, sal_uInt16 index, rtl_uString
const * documentation,
129 rtl_uString
const * fileName,
RTFieldAccess flags, rtl_uString
const * name,
130 rtl_uString
const * typeName,
RTValueType valueType,
159 void * handle, sal_uInt16 index, rtl_uString
const * documentation,
161 rtl_uString
const * returnTypeName, sal_uInt16 parameterCount,
162 sal_uInt16 exceptionCount)
188 void const * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex,
189 RTParamMode flags, rtl_uString
const * name, rtl_uString
const * typeName)
211 void const * handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex,
212 rtl_uString
const * typeName)
237 void * handle, sal_uInt16 index, rtl_uString
const * documentation,
RTParamMode
specifies the mode of a parameter.
RTReferenceType
specifies the type of a reference used in a service description.
REG_DLLPUBLIC void * typereg_writer_create(typereg_Version version, rtl_uString const *documentation, rtl_uString const *fileName, RTTypeClass typeClass, sal_Bool published, rtl_uString const *typeName, sal_uInt16 superTypeCount, sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount) SAL_THROW_EXTERN_C()
Creates a type writer working on a binary blob that represents a UNOIDL type.
REG_DLLPUBLIC sal_Bool typereg_writer_setFieldData(void *handle, sal_uInt16 index, rtl_uString const *documentation, rtl_uString const *fileName, RTFieldAccess flags, rtl_uString const *name, rtl_uString const *typeName, RTValueType valueType, RTConstValueUnion valueValue) SAL_THROW_EXTERN_C()
Sets the data of a field of a type writer.
REG_DLLPUBLIC sal_Bool typereg_writer_setMethodData(void *handle, sal_uInt16 index, rtl_uString const *documentation, RTMethodMode flags, rtl_uString const *name, rtl_uString const *returnTypeName, sal_uInt16 parameterCount, sal_uInt16 exceptionCount) SAL_THROW_EXTERN_C()
Sets the data of a method of a type writer.
#define SAL_THROW_EXTERN_C()
REG_DLLPUBLIC sal_Bool typereg_writer_setSuperTypeName(void const *handle, sal_uInt16 index, rtl_uString const *typeName) SAL_THROW_EXTERN_C()
Sets the type name of a super type of a type writer.
typereg_Version
The version of a binary blob that represents a UNOIDL type.
specifies a variable container for field values.
REG_DLLPUBLIC void const * typereg_writer_getBlob(void *handle, sal_uInt32 *size) SAL_THROW_EXTERN_C()
Returns the blob of a type writer.
REG_DLLPUBLIC void typereg_writer_destroy(void *handle) SAL_THROW_EXTERN_C()
Destroys a type writer.
REG_DLLPUBLIC sal_Bool typereg_writer_setMethodParameterData(void const *handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex, RTParamMode flags, rtl_uString const *name, rtl_uString const *typeName) SAL_THROW_EXTERN_C()
Sets the data of a parameter of a method of a type writer.
RTTypeClass
specifies the typeclass of a binary type blob.
RTValueType
specifies the type of a field value.
REG_DLLPUBLIC sal_Bool typereg_writer_setReferenceData(void *handle, sal_uInt16 index, rtl_uString const *documentation, RTReferenceType sort, RTFieldAccess flags, rtl_uString const *typeName) SAL_THROW_EXTERN_C()
Sets the data of a reference of a type writer.
RTMethodMode
specifies the mode of a method.
REG_DLLPUBLIC sal_Bool typereg_writer_setMethodExceptionTypeName(void const *handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex, rtl_uString const *typeName) SAL_THROW_EXTERN_C()
Sets an exception type name of a method of a type writer.
RTFieldAccess
specifies the type for the field access.