AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
strbuf.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_STRBUF_H
5 #define INCLUDED_RTL_STRBUF_H
6 
7 #include "sal/config.h"
8 
9 #include "rtl/string.h"
10 #include "sal/saldllapi.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
28  rtl_String ** newStr,
29  const char * value,
30  sal_Int32 count);
31 
48  rtl_String ** newStr,
49  sal_Int32 capacity,
50  rtl_String * oldStr );
51 
71  rtl_String ** This,
72  sal_Int32* capacity,
73  sal_Int32 minimumCapacity);
74 
75 
94  rtl_String ** This,
95  sal_Int32 * capacity,
96  sal_Int32 offset,
97  const char * str,
98  sal_Int32 len);
99 
113  rtl_String ** This,
114  sal_Int32 start,
115  sal_Int32 len );
116 
117 #ifdef __cplusplus
118 }
119 #endif
120 
121 #endif // INCLUDED_RTL_STRBUF_H
122 
123 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAL_DLLPUBLIC void rtl_stringbuffer_insert(rtl_String **This, sal_Int32 *capacity, sal_Int32 offset, const char *str, sal_Int32 len)
Inserts the string representation of the char array argument into this string buffer.
SAL_DLLPUBLIC void rtl_stringbuffer_newFromStr_WithLength(rtl_String **newStr, const char *value, sal_Int32 count)
Allocates a new String that contains characters from the character array argument.
SAL_DLLPUBLIC void rtl_stringbuffer_ensureCapacity(rtl_String **This, sal_Int32 *capacity, sal_Int32 minimumCapacity)
Ensures that the capacity of the buffer is at least equal to the specified minimum.
SAL_DLLPUBLIC sal_Int32 rtl_stringbuffer_newFromStringBuffer(rtl_String **newStr, sal_Int32 capacity, rtl_String *oldStr)
Allocates a new String that contains the same sequence of characters as the string argument...
SAL_DLLPUBLIC void rtl_stringbuffer_remove(rtl_String **This, sal_Int32 start, sal_Int32 len)
Removes the characters in a substring of this sequence.
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14