27#include <rtl/ustring.hxx>
57 Reader(
void const * buffer, sal_uInt32 length)
61 throw std::bad_alloc();
126 rtl_uString * s =
nullptr;
129 throw std::bad_alloc();
131 return OUString(s, SAL_NO_ACQUIRE);
144 rtl_uString * s =
nullptr;
147 throw std::bad_alloc();
149 return OUString(s, SAL_NO_ACQUIRE);
185 rtl_uString * s =
nullptr;
188 throw std::bad_alloc();
190 return OUString(s, SAL_NO_ACQUIRE);
214 rtl_uString * s =
nullptr;
217 throw std::bad_alloc();
219 return OUString(s, SAL_NO_ACQUIRE);
242 rtl_uString * s =
nullptr;
245 throw std::bad_alloc();
247 return OUString(s, SAL_NO_ACQUIRE);
261 rtl_uString * s =
nullptr;
264 throw std::bad_alloc();
266 return OUString(s, SAL_NO_ACQUIRE);
290 rtl_uString * s =
nullptr;
293 throw std::bad_alloc();
295 return OUString(s, SAL_NO_ACQUIRE);
308 rtl_uString * s =
nullptr;
311 throw std::bad_alloc();
313 return OUString(s, SAL_NO_ACQUIRE);
330 throw std::bad_alloc();
355 rtl_uString * s =
nullptr;
358 throw std::bad_alloc();
360 return OUString(s, SAL_NO_ACQUIRE);
384 rtl_uString * s =
nullptr;
387 throw std::bad_alloc();
389 return OUString(s, SAL_NO_ACQUIRE);
402 rtl_uString * s =
nullptr;
405 throw std::bad_alloc();
407 return OUString(s, SAL_NO_ACQUIRE);
433 sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
const
436 m_handle, methodIndex, parameterIndex);
453 sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
const
455 rtl_uString * s =
nullptr;
457 m_handle, &s, methodIndex, parameterIndex);
459 throw std::bad_alloc();
461 return OUString(s, SAL_NO_ACQUIRE);
478 sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
const
480 rtl_uString * s =
nullptr;
482 m_handle, &s, methodIndex, parameterIndex);
484 throw std::bad_alloc();
486 return OUString(s, SAL_NO_ACQUIRE);
514 sal_uInt16 methodIndex, sal_uInt16 exceptionIndex)
const
516 rtl_uString * s =
nullptr;
518 m_handle, &s, methodIndex, exceptionIndex);
520 throw std::bad_alloc();
522 return OUString(s, SAL_NO_ACQUIRE);
546 rtl_uString * s =
nullptr;
549 throw std::bad_alloc();
551 return OUString(s, SAL_NO_ACQUIRE);
589 rtl_uString * s =
nullptr;
592 throw std::bad_alloc();
594 return OUString(s, SAL_NO_ACQUIRE);
specifies a helper class for const values.
A type reader working on a binary blob that represents a UNOIDL type.
OUString getFieldDocumentation(sal_uInt16 index) const
Returns the documentation of a field of this type reader.
OUString getSuperTypeName(sal_uInt16 index) const
Returns the type name of a super type of this type reader.
sal_uInt16 getSuperTypeCount() const
Returns the number of super types of this type reader.
OUString getFileName() const
Returns the file name of this type reader.
typereg_Version getVersion() const
Returns the binary blob version of this type reader.
RTConstValue getFieldValue(sal_uInt16 index) const
Returns the value of a field of this type reader.
sal_uInt16 getMethodParameterCount(sal_uInt16 index) const
Returns the number of parameters of a method of this type reader.
OUString getMethodName(sal_uInt16 index) const
Returns the name of a method of this type reader.
OUString getReferenceTypeName(sal_uInt16 index) const
Returns the type name of a reference of this type reader.
Reader(Reader const &other)
Shares a type reader between two Reader instances.
OUString getFieldFileName(sal_uInt16 index) const
Returns the file name of a field of this type reader.
OUString getMethodParameterName(sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const
Returns the name of a parameter of a method of this type reader.
OUString getDocumentation() const
Returns the documentation of this type reader.
RTParamMode getMethodParameterFlags(sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const
Returns the flags of a parameter of a method of this type reader.
Reader & operator=(Reader const &other)
Replaces the underlying type reader.
RTMethodMode getMethodFlags(sal_uInt16 index) const
Returns the flags of a method of this type reader.
sal_uInt16 getMethodExceptionCount(sal_uInt16 index) const
Returns the number of exceptions of a method of this type reader.
OUString getTypeName() const
Returns the type name of this type reader.
bool isPublished() const
Returns whether this type reader is published.
~Reader()
Destroys this Reader instance.
OUString getReferenceDocumentation(sal_uInt16 index) const
Returns the documentation of a reference of this type reader.
OUString getMethodDocumentation(sal_uInt16 index) const
Returns the documentation of a method of this type reader.
RTFieldAccess getReferenceFlags(sal_uInt16 index) const
Returns the flags of a reference of this type reader.
Reader(void const *buffer, sal_uInt32 length)
Creates a type reader.
OUString getMethodExceptionTypeName(sal_uInt16 methodIndex, sal_uInt16 exceptionIndex) const
Returns the type name of an exception of a method of this type reader.
RTFieldAccess getFieldFlags(sal_uInt16 index) const
Returns the flags of a field of this type reader.
RTTypeClass getTypeClass() const
Returns the type class of this type reader.
OUString getFieldTypeName(sal_uInt16 index) const
Returns the type name of a field of this type reader.
OUString getMethodReturnTypeName(sal_uInt16 index) const
Returns the return type name of a method of this type reader.
sal_uInt16 getFieldCount() const
Returns the number of fields of this type reader.
OUString getFieldName(sal_uInt16 index) const
Returns the name of a field of this type reader.
OUString getMethodParameterTypeName(sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const
Returns the type name of a parameter of a method of this type reader.
sal_uInt16 getReferenceCount() const
Returns the number of references of this type reader.
bool isValid() const
Returns whether this type reader is valid.
sal_uInt16 getMethodCount() const
Returns the number of methods of this type reader.
RTReferenceType getReferenceSort(sal_uInt16 index) const
Returns the sort of a reference of this type reader.
void TYPEREG_CALLTYPE typereg_reader_getFieldDocumentation(void *hEntry, rtl_uString **pDoku, sal_uInt16 index)
Returns the documentation of a field of a type reader.
sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodExceptionCount(void *hEntry, sal_uInt16 index)
Returns the number of exceptions of a method of a type reader.
sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getReferenceCount(void *hEntry)
Returns the number of references of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getFieldFileName(void *hEntry, rtl_uString **pFieldFileName, sal_uInt16 index)
Returns the file name of a field of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getFileName(void *hEntry, rtl_uString **pFileName)
Returns the file name of a type reader.
bool TYPEREG_CALLTYPE typereg_reader_getFieldValue(void *hEntry, sal_uInt16 index, RTValueType *type, RTConstValueUnion *value)
Returns the value of a field of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getSuperTypeName(void *hEntry, rtl_uString **pSuperTypeName, sal_uInt16 index)
Returns the type name of a super type of a type reader.
sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodCount(void *hEntry)
Returns the number of methods of a type reader.
void TYPEREG_CALLTYPE typereg_reader_acquire(void *hEntry)
Increments the reference count of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getDocumentation(void *hEntry, rtl_uString **pDoku)
Returns the documentation of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getMethodParameterName(void *hEntry, rtl_uString **pMethodParamName, sal_uInt16 index, sal_uInt16 paramIndex)
Returns the name of a parameter of a method of a type reader.
bool TYPEREG_CALLTYPE typereg_reader_create(void const *buffer, sal_uInt32 length, void **result)
Creates a type reader working on a binary blob that represents a UNOIDL type.
void TYPEREG_CALLTYPE typereg_reader_release(void *hEntry)
Decrements the reference count of a type reader.
typereg_Version TYPEREG_CALLTYPE typereg_reader_getVersion(void const *handle)
Returns the binary blob version of a type reader.
RTTypeClass TYPEREG_CALLTYPE typereg_reader_getTypeClass(void *hEntry)
Returns the type class of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getFieldName(void *hEntry, rtl_uString **pFieldName, sal_uInt16 index)
Returns the name of a field of a type reader.
bool TYPEREG_CALLTYPE typereg_reader_isPublished(void *hEntry)
Returns whether a type reader is published.
void TYPEREG_CALLTYPE typereg_reader_getTypeName(void *hEntry, rtl_uString **pTypeName)
Returns the type name of a type reader.
RTMethodMode TYPEREG_CALLTYPE typereg_reader_getMethodFlags(void *hEntry, sal_uInt16 index)
Returns the flags of a method of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getFieldTypeName(void *hEntry, rtl_uString **pFieldType, sal_uInt16 index)
Returns the type name of a field of a type reader.
sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getSuperTypeCount(void *hEntry)
Returns the number of super types of a type reader.
RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getFieldFlags(void *hEntry, sal_uInt16 index)
Returns the flags of a field of a type reader.
RTParamMode TYPEREG_CALLTYPE typereg_reader_getMethodParameterFlags(void *hEntry, sal_uInt16 index, sal_uInt16 paramIndex)
Returns the flags of a parameter of a method of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getMethodName(void *hEntry, rtl_uString **pMethodName, sal_uInt16 index)
Returns the name of a method of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getReferenceDocumentation(void *hEntry, rtl_uString **pReferenceDoku, sal_uInt16 index)
Returns the documentation of a reference of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getMethodReturnTypeName(void *hEntry, rtl_uString **pMethodReturnType, sal_uInt16 index)
Returns the return type name of a method of a type reader.
RTReferenceType TYPEREG_CALLTYPE typereg_reader_getReferenceSort(void *hEntry, sal_uInt16 index)
Returns the sort of a reference of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getMethodExceptionTypeName(void *hEntry, rtl_uString **pMethodExcpType, sal_uInt16 index, sal_uInt16 excIndex)
Returns the type name of an exception of a method of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getMethodParameterTypeName(void *hEntry, rtl_uString **pMethodParamType, sal_uInt16 index, sal_uInt16 paramIndex)
Returns the type name of a parameter of a method of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getMethodDocumentation(void *hEntry, rtl_uString **pMethodDoku, sal_uInt16 index)
Returns the documentation of a method of a type reader.
RTFieldAccess TYPEREG_CALLTYPE typereg_reader_getReferenceFlags(void *hEntry, sal_uInt16 index)
Returns the flags of a reference of a type reader.
sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getMethodParameterCount(void *hEntry, sal_uInt16 index)
Returns the number of parameters of a method of a type reader.
sal_uInt16 TYPEREG_CALLTYPE typereg_reader_getFieldCount(void *hEntry)
Returns the number of fields of a type reader.
void TYPEREG_CALLTYPE typereg_reader_getReferenceTypeName(void *hEntry, rtl_uString **pReferenceName, sal_uInt16 index)
Returns the type name of a reference of a type reader.
RTReferenceType
specifies the type of a reference used in a service description.
RTParamMode
specifies the mode of a parameter.
RTFieldAccess
specifies the type for the field access.
RTMethodMode
specifies the mode of a method.
RTTypeClass
specifies the typeclass of a binary type blob.
typereg_Version
The version of a binary blob that represents a UNOIDL type.