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  *
00004  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
00005  *
00006  * Copyright 2000, 2010 Oracle and/or its affiliates.
00007  *
00008  * OpenOffice.org - a multi-platform office productivity suite
00009  *
00010  * This file is part of OpenOffice.org.
00011  *
00012  * OpenOffice.org is free software: you can redistribute it and/or modify
00013  * it under the terms of the GNU Lesser General Public License version 3
00014  * only, as published by the Free Software Foundation.
00015  *
00016  * OpenOffice.org is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Lesser General Public License version 3 for more details
00020  * (a copy is included in the LICENSE file that accompanied this code).
00021  *
00022  * You should have received a copy of the GNU Lesser General Public License
00023  * version 3 along with OpenOffice.org.  If not, see
00024  * <http://www.openoffice.org/license.html>
00025  * for a copy of the LGPLv3 License.
00026  *
00027  ************************************************************************/
00028 
00029 #ifndef INCLUDED_registry_reader_h
00030 #define INCLUDED_registry_reader_h
00031 
00032 #include "registry/regdllapi.h"
00033 #include "registry/types.h"
00034 #include "registry/version.h"
00035 
00036 #include "rtl/ustring.h"
00037 #include "sal/types.h"
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00072 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_create(
00073     void const * buffer, sal_uInt32 length, sal_Bool copy,
00074     enum typereg_Version maxVersion, void ** result)
00075     SAL_THROW_EXTERN_C();
00076 
00084 REG_DLLPUBLIC void SAL_CALL typereg_reader_acquire(void * handle) SAL_THROW_EXTERN_C();
00085 
00095 REG_DLLPUBLIC void SAL_CALL typereg_reader_release(void * handle) SAL_THROW_EXTERN_C();
00096 
00108 REG_DLLPUBLIC enum typereg_Version SAL_CALL typereg_reader_getVersion(void * handle)
00109     SAL_THROW_EXTERN_C();
00110 
00122 REG_DLLPUBLIC void SAL_CALL typereg_reader_getDocumentation(
00123     void * handle, rtl_uString ** result) SAL_THROW_EXTERN_C();
00124 
00137 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFileName(void * handle, rtl_uString ** result)
00138     SAL_THROW_EXTERN_C();
00139 
00155 REG_DLLPUBLIC enum RTTypeClass SAL_CALL typereg_reader_getTypeClass(void * handle)
00156     SAL_THROW_EXTERN_C();
00157 
00168 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_isPublished(void * handle)
00169     SAL_THROW_EXTERN_C();
00170 
00182 REG_DLLPUBLIC void SAL_CALL typereg_reader_getTypeName(void * handle, rtl_uString ** result)
00183     SAL_THROW_EXTERN_C();
00184 
00195 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getSuperTypeCount(void * handle)
00196     SAL_THROW_EXTERN_C();
00197 
00212 REG_DLLPUBLIC void SAL_CALL typereg_reader_getSuperTypeName(
00213     void * handle, rtl_uString ** result, sal_uInt16 index)
00214     SAL_THROW_EXTERN_C();
00215 
00226 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getFieldCount(void * handle)
00227     SAL_THROW_EXTERN_C();
00228 
00242 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldDocumentation(
00243     void * handle, rtl_uString ** result, sal_uInt16 index)
00244     SAL_THROW_EXTERN_C();
00245 
00260 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldFileName(
00261     void * handle, rtl_uString ** result, sal_uInt16 index)
00262     SAL_THROW_EXTERN_C();
00263 
00275 REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getFieldFlags(
00276     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00277 
00291 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldName(
00292     void * handle, rtl_uString ** result, sal_uInt16 index)
00293     SAL_THROW_EXTERN_C();
00294 
00308 REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName(
00309     void * handle, rtl_uString ** result, sal_uInt16 index)
00310     SAL_THROW_EXTERN_C();
00311 
00330 REG_DLLPUBLIC sal_Bool SAL_CALL typereg_reader_getFieldValue(
00331     void * handle, sal_uInt16 index, enum RTValueType * type,
00332     union RTConstValueUnion * value)
00333     SAL_THROW_EXTERN_C();
00334 
00345 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodCount(void * handle)
00346     SAL_THROW_EXTERN_C();
00347 
00361 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodDocumentation(
00362     void * handle, rtl_uString ** result, sal_uInt16 index)
00363     SAL_THROW_EXTERN_C();
00364 
00376 REG_DLLPUBLIC enum RTMethodMode SAL_CALL typereg_reader_getMethodFlags(
00377     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00378 
00392 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodName(
00393     void * handle, rtl_uString ** result, sal_uInt16 index)
00394     SAL_THROW_EXTERN_C();
00395 
00409 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodReturnTypeName(
00410     void * handle, rtl_uString ** result, sal_uInt16 index)
00411     SAL_THROW_EXTERN_C();
00412 
00424 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodParameterCount(
00425     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00426 
00443 REG_DLLPUBLIC enum RTParamMode SAL_CALL typereg_reader_getMethodParameterFlags(
00444     void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex)
00445     SAL_THROW_EXTERN_C();
00446 
00464 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterName(
00465     void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
00466     sal_uInt16 parameterIndex)
00467     SAL_THROW_EXTERN_C();
00468 
00486 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodParameterTypeName(
00487     void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
00488     sal_uInt16 parameterIndex)
00489     SAL_THROW_EXTERN_C();
00490 
00502 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getMethodExceptionCount(
00503     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00504 
00522 REG_DLLPUBLIC void SAL_CALL typereg_reader_getMethodExceptionTypeName(
00523     void * handle, rtl_uString ** result, sal_uInt16 methodIndex,
00524     sal_uInt16 exceptionIndex)
00525     SAL_THROW_EXTERN_C();
00526 
00537 REG_DLLPUBLIC sal_uInt16 SAL_CALL typereg_reader_getReferenceCount(void * handle)
00538     SAL_THROW_EXTERN_C();
00539 
00554 REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceDocumentation(
00555     void * handle, rtl_uString ** result, sal_uInt16 index)
00556     SAL_THROW_EXTERN_C();
00557 
00570 REG_DLLPUBLIC RTFieldAccess SAL_CALL typereg_reader_getReferenceFlags(
00571     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00572 
00585 REG_DLLPUBLIC enum RTReferenceType SAL_CALL typereg_reader_getReferenceSort(
00586     void * handle, sal_uInt16 index) SAL_THROW_EXTERN_C();
00587 
00602 REG_DLLPUBLIC void SAL_CALL typereg_reader_getReferenceTypeName(
00603     void * handle, rtl_uString ** result, sal_uInt16 index)
00604     SAL_THROW_EXTERN_C();
00605 
00606 #ifdef __cplusplus
00607 }
00608 #endif
00609 
00610 #endif
00611 
00612 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines