83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
-
+
-
-
+
+
-
+
-
-
-
+
+
+
|
{
Class c = isa;
[self release];
@throw [OFNotImplementedException newWithClass: c
selector: _cmd];
}
- initWithCString: (const char*)str
- initWithUTF8String: (const char*)UTF8String
{
Class c = isa;
[self release];
@throw [OFNotImplementedException newWithClass: c
selector: _cmd];
}
- initWithCString: (const char*)str
encoding: (of_string_encoding_t)encoding
- initWithUTF8String: (const char*)UTF8String
length: (size_t)UTF8StringLength
{
Class c = isa;
[self release];
@throw [OFNotImplementedException newWithClass: c
selector: _cmd];
}
- initWithCString: (const char*)str
- initWithCString: (const char*)cString
encoding: (of_string_encoding_t)encoding
length: (size_t)len
{
Class c = isa;
[self release];
@throw [OFNotImplementedException newWithClass: c
selector: _cmd];
}
- initWithCString: (const char*)str
length: (size_t)len
- initWithCString: (const char*)cString
encoding: (of_string_encoding_t)encoding
length: (size_t)cStringLength
{
Class c = isa;
[self release];
@throw [OFNotImplementedException newWithClass: c
selector: _cmd];
}
|
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
|
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
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
|
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
-
+
-
+
|
if (initialized != SIZE_MAX)
[self finishInitialization];
return [super description];
}
/* From OFString */
- (const char*)cString
- (const char*)UTF8String
{
if (initialized != SIZE_MAX)
[self finishInitialization];
return [super UTF8String];
}
- (const char*)cStringWithEncoding: (of_string_encoding_t)encoding
{
if (initialized != SIZE_MAX)
[self finishInitialization];
return [super cString];
return [super cStringWithEncoding: encoding];
}
- (size_t)length
{
if (initialized != SIZE_MAX)
[self finishInitialization];
return [super length];
}
- (size_t)UTF8StringLength
{
if (initialized != SIZE_MAX)
[self finishInitialization];
return [super UTF8StringLength];
}
- (size_t)cStringLength
- (size_t)cStringLengthWithEncoding: (of_string_encoding_t)encoding
{
if (initialized != SIZE_MAX)
[self finishInitialization];
return [super cStringLength];
return [super cStringLengthWithEncoding: encoding];
}
- (of_comparison_result_t)caseInsensitiveCompare: (OFString*)otherString
{
if (initialized != SIZE_MAX)
[self finishInitialization];
|