30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
extern size_t of_string_index_to_position(const char*, size_t, size_t);
@class OFArray;
/**
* \brief A class for handling strings.
*/
@interface OFString: OFObject <OFCopying, OFMutableCopying>
{
char *string;
unsigned int length;
#if defined(OF_APPLE_RUNTIME) && __LP64__
int _unused;
#endif
BOOL isUTF8;
|
|
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
extern size_t of_string_index_to_position(const char*, size_t, size_t);
@class OFArray;
/**
* \brief A class for handling strings.
*/
@interface OFString: OFObject <OFCopying, OFMutableCopying, OFComparing>
{
char *string;
unsigned int length;
#if defined(OF_APPLE_RUNTIME) && __LP64__
int _unused;
#endif
BOOL isUTF8;
|
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
|
*/
- (size_t)cStringLength;
/// \cond internal
- (BOOL)isUTF8;
/// \endcond
/**
* Compares the OFString to another OFString.
*
* \param str A string to compare with
* \return An of_comparison_result_t
*/
- (of_comparison_result_t)compare: (OFString*)str;
/**
* Compares the OFString to another OFString without caring about the case.
*
* \param str A string to compare with
* \return An of_comparison_result_t
*/
- (of_comparison_result_t)caseInsensitiveCompare: (OFString*)str;
|
<
<
<
<
<
<
<
<
|
261
262
263
264
265
266
267
268
269
270
271
272
273
274
|
*/
- (size_t)cStringLength;
/// \cond internal
- (BOOL)isUTF8;
/// \endcond
/**
* Compares the OFString to another OFString without caring about the case.
*
* \param str A string to compare with
* \return An of_comparison_result_t
*/
- (of_comparison_result_t)caseInsensitiveCompare: (OFString*)str;
|