LibreOffice Module registry (master) 1
typereg_reader.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <registry/regdllapi.h>
23#include <registry/types.hxx>
24#include <registry/version.h>
25
26#include <rtl/ustring.h>
27#include <sal/types.h>
28
54 void const * buffer, sal_uInt32 length,
55 void ** result);
56
64REG_DLLPUBLIC void typereg_reader_acquire(void * handle);
65
75REG_DLLPUBLIC void typereg_reader_release(void * handle);
76
89
102 void * handle, rtl_uString ** result);
103
116REG_DLLPUBLIC void typereg_reader_getFileName(void * handle, rtl_uString ** result);
117
134
145REG_DLLPUBLIC bool typereg_reader_isPublished(void * handle);
146
158REG_DLLPUBLIC void typereg_reader_getTypeName(void * handle, rtl_uString ** result);
159
170REG_DLLPUBLIC sal_uInt16 typereg_reader_getSuperTypeCount(void * handle);
171
187 void * handle, rtl_uString ** result, sal_uInt16 index);
188
199REG_DLLPUBLIC sal_uInt16 typereg_reader_getFieldCount(void * handle);
200
215 void * handle, rtl_uString ** result, sal_uInt16 index);
216
232 void * handle, rtl_uString ** result, sal_uInt16 index);
233
246 void * handle, sal_uInt16 index);
247
262 void * handle, rtl_uString ** result, sal_uInt16 index);
263
278 void * handle, rtl_uString ** result, sal_uInt16 index);
279
299 void * handle, sal_uInt16 index, RTValueType * type,
300 union RTConstValueUnion * value);
301
312REG_DLLPUBLIC sal_uInt16 typereg_reader_getMethodCount(void * handle);
313
328 void * handle, rtl_uString ** result, sal_uInt16 index);
329
342 void * handle, sal_uInt16 index);
343
358 void * handle, rtl_uString ** result, sal_uInt16 index);
359
374 void * handle, rtl_uString ** result, sal_uInt16 index);
375
388 void * handle, sal_uInt16 index);
389
407 void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex);
408
427 void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
428 sal_uInt16 parameterIndex);
429
448 void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
449 sal_uInt16 parameterIndex);
450
463 void * handle, sal_uInt16 index);
464
483 void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
484 sal_uInt16 exceptionIndex);
485
496REG_DLLPUBLIC sal_uInt16 typereg_reader_getReferenceCount(void * handle);
497
513 void * handle, rtl_uString ** result, sal_uInt16 index);
514
528 void * handle, sal_uInt16 index);
529
543 void * handle, sal_uInt16 index);
544
560 void * handle, rtl_uString ** result, sal_uInt16 index);
561
562/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define REG_DLLPUBLIC
Definition: regdllapi.h:27
REG_DLLPUBLIC void typereg_reader_acquire(void *handle)
Increments the reference count of a type reader.
Definition: reflread.cxx:1169
REG_DLLPUBLIC void typereg_reader_getFieldName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the name of a field of a type reader.
Definition: reflread.cxx:1287
REG_DLLPUBLIC sal_uInt16 typereg_reader_getMethodCount(void *handle)
Returns the number of methods of a type reader.
Definition: reflread.cxx:1379
REG_DLLPUBLIC void typereg_reader_getSuperTypeName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the type name of a super type of a type reader.
Definition: reflread.cxx:1590
REG_DLLPUBLIC void typereg_reader_getFieldTypeName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the type name of a field of a type reader.
Definition: reflread.cxx:1302
REG_DLLPUBLIC RTMethodMode typereg_reader_getMethodFlags(void *handle, sal_uInt16 index)
Returns the flags of a method of a type reader.
Definition: reflread.cxx:1497
REG_DLLPUBLIC void typereg_reader_getTypeName(void *handle, rtl_uString **result)
Returns the type name of a type reader.
Definition: reflread.cxx:1225
REG_DLLPUBLIC sal_uInt16 typereg_reader_getFieldCount(void *handle)
Returns the number of fields of a type reader.
Definition: reflread.cxx:1278
REG_DLLPUBLIC RTFieldAccess typereg_reader_getFieldFlags(void *handle, sal_uInt16 index)
Returns the flags of a field of a type reader.
Definition: reflread.cxx:1318
REG_DLLPUBLIC void typereg_reader_getReferenceDocumentation(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the documentation of a reference of a type reader.
Definition: reflread.cxx:1556
REG_DLLPUBLIC void typereg_reader_getDocumentation(void *handle, rtl_uString **result)
Returns the documentation of a type reader.
Definition: reflread.cxx:1243
REG_DLLPUBLIC void typereg_reader_getFieldDocumentation(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the documentation of a field of a type reader.
Definition: reflread.cxx:1346
REG_DLLPUBLIC typereg_Version typereg_reader_getVersion(void const *handle)
Returns the binary blob version of a type reader.
Definition: reflread.cxx:1188
REG_DLLPUBLIC void typereg_reader_getMethodExceptionTypeName(void *handle, rtl_uString **result, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex)
Returns the type name of an exception of a method of a type reader.
Definition: reflread.cxx:1465
REG_DLLPUBLIC void typereg_reader_getFileName(void *handle, rtl_uString **result)
Returns the file name of a type reader.
Definition: reflread.cxx:1260
REG_DLLPUBLIC void typereg_reader_getMethodDocumentation(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the documentation of a method of a type reader.
Definition: reflread.cxx:1506
REG_DLLPUBLIC sal_uInt16 typereg_reader_getMethodExceptionCount(void *handle, sal_uInt16 index)
Returns the number of exceptions of a method of a type reader.
Definition: reflread.cxx:1455
REG_DLLPUBLIC void typereg_reader_getFieldFileName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the file name of a field of a type reader.
Definition: reflread.cxx:1362
REG_DLLPUBLIC RTParamMode typereg_reader_getMethodParameterFlags(void *handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
Returns the flags of a parameter of a method of a type reader.
Definition: reflread.cxx:1446
REG_DLLPUBLIC sal_uInt16 typereg_reader_getReferenceCount(void *handle)
Returns the number of references of a type reader.
Definition: reflread.cxx:1522
REG_DLLPUBLIC void typereg_reader_getMethodParameterTypeName(void *handle, rtl_uString **result, sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
Returns the type name of a parameter of a method of a type reader.
Definition: reflread.cxx:1414
REG_DLLPUBLIC RTReferenceType typereg_reader_getReferenceSort(void *handle, sal_uInt16 index)
Returns the sort of a reference of a type reader.
Definition: reflread.cxx:1547
REG_DLLPUBLIC RTTypeClass typereg_reader_getTypeClass(void *handle)
Returns the type class of a type reader.
Definition: reflread.cxx:1199
REG_DLLPUBLIC void typereg_reader_getMethodParameterName(void *handle, rtl_uString **result, sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
Returns the name of a parameter of a method of a type reader.
Definition: reflread.cxx:1430
REG_DLLPUBLIC sal_uInt16 typereg_reader_getSuperTypeCount(void *handle)
Returns the number of super types of a type reader.
Definition: reflread.cxx:1581
REG_DLLPUBLIC bool 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.
Definition: reflread.cxx:1135
REG_DLLPUBLIC RTFieldAccess typereg_reader_getReferenceFlags(void *handle, sal_uInt16 index)
Returns the flags of a reference of a type reader.
Definition: reflread.cxx:1572
REG_DLLPUBLIC bool typereg_reader_getFieldValue(void *handle, sal_uInt16 index, RTValueType *type, union RTConstValueUnion *value)
Returns the value of a field of a type reader.
Definition: reflread.cxx:1327
REG_DLLPUBLIC void typereg_reader_getMethodReturnTypeName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the return type name of a method of a type reader.
Definition: reflread.cxx:1481
REG_DLLPUBLIC bool typereg_reader_isPublished(void *handle)
Returns whether a type reader is published.
Definition: reflread.cxx:1212
REG_DLLPUBLIC void typereg_reader_getMethodName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the name of a method of a type reader.
Definition: reflread.cxx:1388
REG_DLLPUBLIC sal_uInt16 typereg_reader_getMethodParameterCount(void *handle, sal_uInt16 index)
Returns the number of parameters of a method of a type reader.
Definition: reflread.cxx:1404
REG_DLLPUBLIC void typereg_reader_getReferenceTypeName(void *handle, rtl_uString **result, sal_uInt16 index)
Returns the type name of a reference of a type reader.
Definition: reflread.cxx:1531
REG_DLLPUBLIC void typereg_reader_release(void *handle)
Decrements the reference count of a type reader.
Definition: reflread.cxx:1177
RTReferenceType
specifies the type of a reference used in a service description.
Definition: types.hxx:303
RTParamMode
specifies the mode of a parameter.
Definition: types.hxx:274
RTValueType
specifies the type of a field value.
Definition: types.hxx:198
RTFieldAccess
specifies the type for the field access.
Definition: types.hxx:133
RTMethodMode
specifies the mode of a method.
Definition: types.hxx:235
RTTypeClass
specifies the typeclass of a binary type blob.
Definition: types.hxx:31
specifies a variable container for field values.
Definition: types.hxx:215
typereg_Version
The version of a binary blob that represents a UNOIDL type.
Definition: version.h:40