UDK 3.2.7 C/C++ API Reference
uno/sequence2.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 #ifndef _UNO_SEQUENCE2_H_
00029 #define _UNO_SEQUENCE2_H_
00030 
00031 #include <cppu/cppudllapi.h>
00032 #include <uno/data.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039 struct _typelib_TypeDescriptionReference;
00040 struct _typelib_TypeDescription;
00041 typedef sal_Sequence uno_Sequence;
00042 
00051 CPPU_DLLPUBLIC void SAL_CALL uno_sequence_assign(
00052     uno_Sequence ** ppDest,
00053     uno_Sequence * pSource,
00054     struct _typelib_TypeDescription * pTypeDescr,
00055     uno_ReleaseFunc release )
00056     SAL_THROW_EXTERN_C();
00065 CPPU_DLLPUBLIC void SAL_CALL uno_type_sequence_assign(
00066     uno_Sequence ** ppDest,
00067     uno_Sequence * pSource,
00068     struct _typelib_TypeDescriptionReference * pType,
00069     uno_ReleaseFunc release )
00070     SAL_THROW_EXTERN_C();
00071 
00084 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_construct(
00085     uno_Sequence ** ppSequence,
00086     struct _typelib_TypeDescription * pTypeDescr,
00087     void * pElements, sal_Int32 len,
00088     uno_AcquireFunc acquire )
00089     SAL_THROW_EXTERN_C();
00101 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_construct(
00102     uno_Sequence ** ppSequence,
00103     struct _typelib_TypeDescriptionReference * pType,
00104     void * pElements, sal_Int32 len,
00105     uno_AcquireFunc acquire )
00106     SAL_THROW_EXTERN_C();
00107 
00120 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_reference2One(
00121     uno_Sequence ** ppSequence,
00122     struct _typelib_TypeDescription * pTypeDescr,
00123     uno_AcquireFunc acquire,
00124     uno_ReleaseFunc release )
00125     SAL_THROW_EXTERN_C();
00138 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_reference2One(
00139     uno_Sequence ** ppSequence,
00140     struct _typelib_TypeDescriptionReference * pType,
00141     uno_AcquireFunc acquire,
00142     uno_ReleaseFunc release )
00143     SAL_THROW_EXTERN_C();
00144 
00157 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_realloc(
00158     uno_Sequence ** ppSequence,
00159     struct _typelib_TypeDescription * pTypeDescr,
00160     sal_Int32 nSize,
00161     uno_AcquireFunc acquire,
00162     uno_ReleaseFunc release )
00163     SAL_THROW_EXTERN_C();
00176 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_realloc(
00177     uno_Sequence ** ppSequence,
00178     struct _typelib_TypeDescriptionReference * pType,
00179     sal_Int32 nSize,
00180     uno_AcquireFunc acquire,
00181     uno_ReleaseFunc release )
00182     SAL_THROW_EXTERN_C();
00183 
00184 #ifdef __cplusplus
00185 }
00186 #endif
00187 
00188 #endif
00189 
00190 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines