UDK 3.2.7 C/C++ API Reference

registry/reader.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
00002 /*
00003  * This file is part of the LibreOffice project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  *
00009  * This file incorporates work covered by the following license notice:
00010  *
00011  *   Licensed to the Apache Software Foundation (ASF) under one or more
00012  *   contributor license agreements. See the NOTICE file distributed
00013  *   with this work for additional information regarding copyright
00014  *   ownership. The ASF licenses this file to you under the Apache
00015  *   License, Version 2.0 (the "License"); you may not use this file
00016  *   except in compliance with the License. You may obtain a copy of
00017  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
00018  */
00019 
00020 #ifndef INCLUDED_registry_reader_h
00021 #define INCLUDED_registry_reader_h
00022 
00023 #include "registry/regdllapi.h"
00024 #include "registry/types.h"
00025 #include "registry/version.h"
00026 
00027 #include "rtl/ustring.h"
00028 #include "sal/types.h"
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00063 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_create(
00064     void const * buffer, sal_uInt32 length, sal_Bool copy,
00065     enum typereg_Version maxVersion, void ** result)
00066     SAL_THROW_EXTERN_C();
00067 
00075 REG_DLLPUBLIC void SAL_CALL typereg_reader_acquire(void * handle) SAL_THROW_EXTERN_C();
00076 
00086 REG_DLLPUBLIC void SAL_CALL typereg_reader_release(void * handle) SAL_THROW_EXTERN_C();
00087 
00099 REG_DLLPUBLIC enum typereg_Version SAL_CALL typereg_reader_getVersion(void * handle)
00100     SAL_THROW_EXTERN_C();
00101 
00113 REG_DLLPUBLIC void SAL_CALL typereg_reader_getDocumentation(
00114     void * handle, rtl_uString ** result) SAL_THROW_EXTERN_C();
00115 
00128 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFileName(void * handle, rtl_uString ** result)
00129     SAL_THROW_EXTERN_C();
00130 
00146 REG_DLLPUBLIC enum RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle)
00147     SAL_THROW_EXTERN_C();
00148 
00159 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_isPublished(void * handle)
00160     SAL_THROW_EXTERN_C();
00161 
00173 REG_DLLPUBLIC void SAL_CALL typereg_reader_getTypeName(void * handle, rtl_uString ** result)
00174     SAL_THROW_EXTERN_C();
00175 
00186 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getSuperTypeCount(void * handle)
00187     SAL_THROW_EXTERN_C();
00188 
00203 REG_DLLPUBLIC void SAL_CALL typereg_reader_getSuperTypeName(
00204     void * handle, rtl_uString ** result, sal_uInt16 index)
00205     SAL_THROW_EXTERN_C();
00206 
00217 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getFieldCount(void * handle)
00218     SAL_THROW_EXTERN_C();
00219 
00233 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldDocumentation(
00234     void * handle, rtl_uString ** result, sal_uInt16 index)
00235     SAL_THROW_EXTERN_C();
00236 
00251 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldFileName(
00252     void * handle, rtl_uString ** result, sal_uInt16 index)
00253     SAL_THROW_EXTERN_C();
00254 
00266 REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getFieldFlags(
00267     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00268 
00282 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldName(
00283     void * handle, rtl_uString ** result, sal_uInt16 index)
00284     SAL_THROW_EXTERN_C();
00285 
00299 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName(
00300     void * handle, rtl_uString ** result, sal_uInt16 index)
00301     SAL_THROW_EXTERN_C();
00302 
00321 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_getFieldValue(
00322     void * handle, sal_uInt16 index, enum RTValueType * type,
00323     union RTConstValueUnion * value)
00324     SAL_THROW_EXTERN_C();
00325 
00336 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodCount(void * handle)
00337     SAL_THROW_EXTERN_C();
00338 
00352 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodDocumentation(
00353     void * handle, rtl_uString ** result, sal_uInt16 index)
00354     SAL_THROW_EXTERN_C();
00355 
00367 REG_DLLPUBLIC enum RTMethodMode SAL_CALL typereg_reader_getMethodFlags(
00368     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00369 
00383 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodName(
00384     void * handle, rtl_uString ** result, sal_uInt16 index)
00385     SAL_THROW_EXTERN_C();
00386 
00400 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodReturnTypeName(
00401     void * handle, rtl_uString ** result, sal_uInt16 index)
00402     SAL_THROW_EXTERN_C();
00403 
00415 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodParameterCount(
00416     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00417 
00434 REG_DLLPUBLIC enum RTParamMode SAL_CALL typereg_reader_getMethodParameterFlags(
00435     void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
00436     SAL_THROW_EXTERN_C();
00437 
00455 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterName(
00456     void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
00457     sal_uInt16 parameterIndex)
00458     SAL_THROW_EXTERN_C();
00459 
00477 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterTypeName(
00478     void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
00479     sal_uInt16 parameterIndex)
00480     SAL_THROW_EXTERN_C();
00481 
00493 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodExceptionCount(
00494     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00495 
00513 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodExceptionTypeName(
00514     void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
00515     sal_uInt16 exceptionIndex)
00516     SAL_THROW_EXTERN_C();
00517 
00528 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getReferenceCount(void * handle)
00529     SAL_THROW_EXTERN_C();
00530 
00545 REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceDocumentation(
00546     void * handle, rtl_uString ** result, sal_uInt16 index)
00547     SAL_THROW_EXTERN_C();
00548 
00561 REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getReferenceFlags(
00562     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00563 
00576 REG_DLLPUBLIC enum RTReferenceType SAL_CALL typereg_reader_getReferenceSort(
00577     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00578 
00593 REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceTypeName(
00594     void * handle, rtl_uString ** result, sal_uInt16 index)
00595     SAL_THROW_EXTERN_C();
00596 
00597 #ifdef __cplusplus
00598 }
00599 #endif
00600 
00601 #endif
00602 
00603 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines