︙ | | |
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
|
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
|
-
+
-
+
-
+
-
+
|
*
* @return The objects of the array as a C array
*/
- (id*)objects;
/*!
* @brief Returns the index of the first object that is equivalent to the
* specified object or OF_NOT_FOUND if it was not found.
* specified object or `OF_NOT_FOUND` if it was not found.
*
* @param object The object whose index is returned
* @return The index of the first object equivalent to the specified object
* or OF_NOT_FOUND if it was not found
* or `OF_NOT_FOUND` if it was not found
*/
- (size_t)indexOfObject: (id)object;
/*!
* @brief Returns the index of the first object that has the same address as the
* specified object or OF_NOT_FOUND if it was not found.
* specified object or `OF_NOT_FOUND` if it was not found.
*
* @param object The object whose index is returned
* @return The index of the first object that has the same aaddress as
* the specified object or OF_NOT_FOUND if it was not found
* the specified object or `OF_NOT_FOUND` if it was not found
*/
- (size_t)indexOfObjectIdenticalTo: (id)object;
/*!
* @brief Checks whether the array contains an object with the specified
* address.
*
|
︙ | | |
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
-
-
-
+
+
+
|
/*!
* @brief Creates a string by joining all objects of the array.
*
* @param separator The string with which the objects should be joined
* @param options Options according to which the objects should be joined.@n
* Possible values are:
* Value | Description
* ---------------------|----------------------
* OF_ARRAY_SKIP_EMPTY | Skip empty components
* Value | Description
* ----------------------|----------------------
* `OF_ARRAY_SKIP_EMPTY` | Skip empty components
* @return A string containing all objects joined by the separator
*/
- (OFString*)componentsJoinedByString: (OFString*)separator
options: (int)options;
/*!
* @brief Creates a string by calling the selector on all objects of the array
|
︙ | | |
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
|
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
|
-
-
-
+
+
+
|
* @brief Creates a string by calling the selector on all objects of the array
* and joining the strings returned by calling the selector.
*
* @param separator The string with which the objects should be joined
* @param selector The selector to perform on the objects
* @param options Options according to which the objects should be joined.@n
* Possible values are:
* Value | Description
* ---------------------|----------------------
* OF_ARRAY_SKIP_EMPTY | Skip empty components
* Value | Description
* ----------------------|----------------------
* `OF_ARRAY_SKIP_EMPTY` | Skip empty components
* @return A string containing all objects joined by the separator
*/
- (OFString*)componentsJoinedByString: (OFString*)separator
usingSelector: (SEL)selector
options: (int)options;
/*!
|
︙ | | |
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
|
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
|
-
-
-
+
+
+
|
- (OFArray*)sortedArray;
/*!
* @brief Returns a sorted copy of the array.
*
* @param options The options to use when sorting the array.@n
* Possible values are:
* Value | Description
* -------------------------|-------------------------
* OF_ARRAY_SORT_DESCENDING | Sort in descending order
* Value | Description
* ---------------------------|-------------------------
* `OF_ARRAY_SORT_DESCENDING` | Sort in descending order
* @return A sorted copy of the array
*/
- (OFArray*)sortedArrayWithOptions: (int)options;
/*!
* @brief Returns a copy of the array with the order reversed.
*
|
︙ | | |
︙ | | |
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
|
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
|
-
+
-
+
-
-
+
+
-
+
|
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithUTF16String: (const of_char16_t*)string
length: (size_t)length;
/*!
* @brief Creates a new OFString from a UTF-16 encoded string, assuming the
* specified byte order if no BOM is found.
* specified byte order if no byte order mark is found.
*
* @param string The UTF-16 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithUTF16String: (const of_char16_t*)string
byteOrder: (of_byte_order_t)byteOrder;
/*!
* @brief Creates a new OFString from a UTF-16 encoded string with the
* specified length, assuming the specified byte order if no BOM is
* found.
* specified length, assuming the specified byte order if no byte order
* mark is found.
*
* @param string The UTF-16 string
* @param length The length of the UTF-16 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithUTF16String: (const of_char16_t*)string
length: (size_t)length
byteOrder: (of_byte_order_t)byteOrder;
/*!
|
︙ | | |
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
|
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
|
-
+
-
+
-
-
+
+
-
+
|
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithUTF32String: (const of_char32_t*)string
length: (size_t)length;
/*!
* @brief Creates a new OFString from a UTF-32 encoded string, assuming the
* specified byte order if no BOM is found.
* specified byte order if no byte order mark is found.
*
* @param string The UTF-32 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithUTF32String: (const of_char32_t*)string
byteOrder: (of_byte_order_t)byteOrder;
/*!
* @brief Creates a new OFString from a UTF-32 encoded string with the
* specified length, assuming the specified byte order if no BOM is
* found.
* specified length, assuming the specified byte order if no byte order
* mark is found.
*
* @param string The UTF-32 string
* @param length The length of the UTF-32 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithUTF32String: (const of_char32_t*)string
length: (size_t)length
byteOrder: (of_byte_order_t)byteOrder;
/*!
|
︙ | | |
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
|
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
|
-
+
-
+
-
-
+
+
-
+
|
* @return An initialized OFString
*/
- initWithUTF16String: (const of_char16_t*)string
length: (size_t)length;
/*!
* @brief Initializes an already allocated OFString with a UTF-16 string,
* assuming the specified byte order if no BOM is found.
* assuming the specified byte order if no byte order mark is found.
*
* @param string The UTF-16 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return An initialized OFString
*/
- initWithUTF16String: (const of_char16_t*)string
byteOrder: (of_byte_order_t)byteOrder;
/*!
* @brief Initializes an already allocated OFString with a UTF-16 string with
* the specified length, assuming the specified byte order if no BOM is
* found.
* the specified length, assuming the specified byte order if no byte
* order mark is found.
*
* @param string The UTF-16 string
* @param length The length of the UTF-16 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return An initialized OFString
*/
- initWithUTF16String: (const of_char16_t*)string
length: (size_t)length
byteOrder: (of_byte_order_t)byteOrder;
/*!
|
︙ | | |
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
|
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
|
-
+
-
+
-
-
+
+
-
+
|
* @return An initialized OFString
*/
- initWithUTF32String: (const of_char32_t*)string
length: (size_t)length;
/*!
* @brief Initializes an already allocated OFString with a UTF-32 string,
* assuming the specified byte order if no BOM is found.
* assuming the specified byte order if no byte order mark is found.
*
* @param string The UTF-32 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return An initialized OFString
*/
- initWithUTF32String: (const of_char32_t*)string
byteOrder: (of_byte_order_t)byteOrder;
/*!
* @brief Initializes an already allocated OFString with a UTF-32 string with
* the specified length, assuming the specified byte order if no BOM is
* found.
* the specified length, assuming the specified byte order if no byte
* order mark is found.
*
* @param string The UTF-32 string
* @param length The length of the UTF-32 string
* @param byteOrder The byte order to assume if there is no BOM
* @param byteOrder The byte order to assume if there is no byte order mark
* @return An initialized OFString
*/
- initWithUTF32String: (const of_char32_t*)string
length: (size_t)length
byteOrder: (of_byte_order_t)byteOrder;
/*!
|
︙ | | |
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
|
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
|
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
|
inRange: (of_range_t)range;
/*!
* @brief Returns the range of the first occurrence of the string.
*
* @param string The string to search
* @return The range of the first occurrence of the string or a range with
* OF_NOT_FOUND as start position if it was not found
* `OF_NOT_FOUND` as start position if it was not found
*/
- (of_range_t)rangeOfString: (OFString*)string;
/*!
* @brief Returns the range of the string.
*
* @param string The string to search
* @param options Options modifying search behaviour.@n
* Possible values are:
* Value | Description
* ---------------------------|-------------------------------
* OF_STRING_SEARCH_BACKWARDS | Search backwards in the string
* Value | Description
* -----------------------------|-------------------------------
* `OF_STRING_SEARCH_BACKWARDS` | Search backwards in the string
* @return The range of the first occurrence of the string or a range with
* OF_NOT_FOUND as start position if it was not found
* `OF_NOT_FOUND` as start position if it was not found
*/
- (of_range_t)rangeOfString: (OFString*)string
options: (int)options;
/*!
* @brief Returns the range of the string in the specified range.
*
* @param string The string to search
* @param options Options modifying search behaviour.@n
* Possible values are:
* Value | Description
* ---------------------------|-------------------------------
* OF_STRING_SEARCH_BACKWARDS | Search backwards in the string
* Value | Description
* -----------------------------|-------------------------------
* `OF_STRING_SEARCH_BACKWARDS` | Search backwards in the string
* @param range The range in which to search
* @return The range of the first occurrence of the string or a range with
* OF_NOT_FOUND as start position if it was not found
* `OF_NOT_FOUND` as start position if it was not found
*/
- (of_range_t)rangeOfString: (OFString*)string
options: (int)options
range: (of_range_t)range;
/*!
* @brief Returns whether the string contains the specified string.
|
︙ | | |
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
|
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
|
-
-
-
+
+
+
|
/*!
* @brief Separates an OFString into an OFArray of OFStrings.
*
* @param delimiter The delimiter for separating
* @param options Options according to which the string should be separated.@n
* Possible values are:
* Value | Description
* ---------------------|----------------------
* OF_STRING_SKIP_EMPTY | Skip empty components
* Value | Description
* -----------------------|----------------------
* `OF_STRING_SKIP_EMPTY` | Skip empty components
* @return An autoreleased OFArray with the separated string
*/
- (OFArray*)componentsSeparatedByString: (OFString*)delimiter
options: (int)options;
/*!
* @brief Returns the components of the path.
|
︙ | | |