AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ustrbuf.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 
4 #ifndef INCLUDED_RTL_USTRBUF_H
5 #define INCLUDED_RTL_USTRBUF_H
6 
7 #include "sal/config.h"
8 
9 #include "rtl/ustring.h"
10 #include "sal/saldllapi.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
28  rtl_uString ** newStr,
29  const sal_Unicode * value,
30  sal_Int32 count );
31 
48  rtl_uString ** newStr,
49  sal_Int32 capacity,
50  rtl_uString * oldStr );
51 
71  rtl_uString ** This,
72  sal_Int32* capacity,
73  sal_Int32 minimumCapacity);
74 
93  /*inout*/rtl_uString ** This,
94  /*inout*/sal_Int32 * capacity,
95  sal_Int32 offset,
96  const sal_Unicode * str,
97  sal_Int32 len);
98 
117  rtl_uString ** pThis, sal_Int32 * capacity, sal_Int32 offset, sal_uInt32 c)
119 
141  /*inout*/rtl_uString ** This,
142  /*inout*/sal_Int32 * capacity,
143  sal_Int32 offset,
144  const char * str,
145  sal_Int32 len);
146 
160  rtl_uString ** This,
161  sal_Int32 start,
162  sal_Int32 len );
163 
176  /*inout*/ rtl_uString ** ppThis,
177  sal_Int32 *nCapacity ) SAL_RETURNS_NONNULL;
178 
190 SAL_DLLPUBLIC rtl_uString * SAL_CALL rtl_uStringBuffer_refReturn( rtl_uString *pThis );
191 
192 #ifdef __cplusplus
193 }
194 #endif
195 
196 #endif // INCLUDED_RTL_USTRBUF_H
197 
198 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAL_DLLPUBLIC void rtl_uStringbuffer_remove(rtl_uString **This, sal_Int32 start, sal_Int32 len)
Removes the characters in a substring of this sequence.
SAL_DLLPUBLIC void rtl_uStringbuffer_insertUtf32(rtl_uString **pThis, sal_Int32 *capacity, sal_Int32 offset, sal_uInt32 c) SAL_THROW_EXTERN_C()
Inserts a single UTF-32 character into this string buffer.
sal_uInt16 sal_Unicode
Definition: types.h:103
SAL_DLLPUBLIC rtl_uString * rtl_uStringBuffer_refReturn(rtl_uString *pThis)
References and returns an immutable rtl_uString object, from a mutable string-buffer object...
CPPU_DLLPUBLIC void SAL_THROW_EXTERN_C()
This method is called to wait for a reply of a previously sent request.
SAL_DLLPUBLIC rtl_uString * rtl_uStringBuffer_makeStringAndClear(rtl_uString **ppThis, sal_Int32 *nCapacity) SAL_RETURNS_NONNULL
Returns an immutable rtl_uString object, while clearing the string buffer.
SAL_DLLPUBLIC void rtl_uStringbuffer_insert(rtl_uString **This, sal_Int32 *capacity, sal_Int32 offset, const sal_Unicode *str, sal_Int32 len)
Inserts the string representation of the str array argument into this string buffer.
SAL_DLLPUBLIC sal_Int32 rtl_uStringbuffer_newFromStringBuffer(rtl_uString **newStr, sal_Int32 capacity, rtl_uString *oldStr)
Allocates a new String that contains the same sequence of characters as the string argument...
SAL_DLLPUBLIC void rtl_uStringbuffer_newFromStr_WithLength(rtl_uString **newStr, const sal_Unicode *value, sal_Int32 count)
Allocates a new String that contains characters from the character array argument.
SAL_DLLPUBLIC void rtl_uStringbuffer_insert_ascii(rtl_uString **This, sal_Int32 *capacity, sal_Int32 offset, const char *str, sal_Int32 len)
Inserts the 8-Bit ASCII string representation of the str array argument into this string buffer...
SAL_DLLPUBLIC void rtl_uStringbuffer_ensureCapacity(rtl_uString **This, sal_Int32 *capacity, sal_Int32 minimumCapacity)
Ensures that the capacity of the buffer is at least equal to the specified minimum.
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14