UDK 3.2.7 C/C++ API Reference
|
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 _RTL_USTRBUF_H_ 00030 #define _RTL_USTRBUF_H_ 00031 00032 #include <rtl/ustring.h> 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00049 SAL_DLLPUBLIC void SAL_CALL rtl_uStringbuffer_newFromStr_WithLength( 00050 rtl_uString ** newStr, 00051 const sal_Unicode * value, 00052 sal_Int32 count ); 00053 00069 SAL_DLLPUBLIC sal_Int32 SAL_CALL rtl_uStringbuffer_newFromStringBuffer( 00070 rtl_uString ** newStr, 00071 sal_Int32 capacity, 00072 rtl_uString * oldStr ); 00073 00091 SAL_DLLPUBLIC void SAL_CALL rtl_uStringbuffer_ensureCapacity( 00092 /*inout*/rtl_uString ** This, 00093 /*inout*/sal_Int32* capacity, 00094 sal_Int32 minimumCapacity); 00095 00111 SAL_DLLPUBLIC void SAL_CALL rtl_uStringbuffer_insert( 00112 /*inout*/rtl_uString ** This, 00113 /*inout*/sal_Int32 * capacity, 00114 sal_Int32 offset, 00115 const sal_Unicode * str, 00116 sal_Int32 len); 00117 00135 SAL_DLLPUBLIC void SAL_CALL rtl_uStringbuffer_insertUtf32( 00136 rtl_uString ** pThis, sal_Int32 * capacity, sal_Int32 offset, sal_uInt32 c) 00137 SAL_THROW_EXTERN_C(); 00138 00159 SAL_DLLPUBLIC void SAL_CALL rtl_uStringbuffer_insert_ascii( 00160 /*inout*/rtl_uString ** This, 00161 /*inout*/sal_Int32 * capacity, 00162 sal_Int32 offset, 00163 const sal_Char * str, 00164 sal_Int32 len); 00165 00177 SAL_DLLPUBLIC void SAL_CALL rtl_uStringbuffer_remove( 00178 /*inout*/rtl_uString ** This, 00179 sal_Int32 start, 00180 sal_Int32 len ); 00181 00193 SAL_DLLPUBLIC rtl_uString * SAL_CALL rtl_uStringBuffer_makeStringAndClear( 00194 /*inout*/ rtl_uString ** ppThis, 00195 sal_Int32 *nCapacity ); 00196 00208 SAL_DLLPUBLIC rtl_uString * SAL_CALL rtl_uStringBuffer_refReturn( rtl_uString *pThis ); 00209 00210 #ifdef __cplusplus 00211 } 00212 #endif 00213 00214 #endif /* _RTL_USTRBUF_H_ */ 00215 00216 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */