Oolite 1.91.0.7745-260117-205bce7
Loading...
Searching...
No Matches
NSString(OODisplayEncoding) Category Reference

#include <HeadUpDisplay.h>

Instance Methods

(const char *) - cStringUsingOoliteEncoding
(const char *) - cStringUsingOoliteEncodingAndRemapping

Detailed Description

Definition at line 360 of file HeadUpDisplay.h.

Method Documentation

◆ cStringUsingOoliteEncoding

- (const char *) cStringUsingOoliteEncoding

Definition at line 4419 of file HeadUpDisplay.m.

4420{
4421 if (sEncodingCoverter == nil) InitTextEngine();
4422
4423 // Note: the data will be autoreleased, so the bytes behave as though they're autoreleased too.
4424 return [[self dataUsingEncoding:[sEncodingCoverter encoding] allowLossyConversion:YES] bytes];
4425}
static OOEncodingConverter * sEncodingCoverter
return nil
NSStringEncoding encoding()

References cStringUsingOoliteEncoding, OOEncodingConverter::encoding, nil, and sEncodingCoverter.

Referenced by cStringUsingOoliteEncoding.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cStringUsingOoliteEncodingAndRemapping

- (const char *) cStringUsingOoliteEncodingAndRemapping

Definition at line 4428 of file HeadUpDisplay.m.

4429{
4430 if (sEncodingCoverter == nil) InitTextEngine();
4431
4432 // Note: the data will be autoreleased, so the bytes behave as though they're autoreleased too.
4433 return [[sEncodingCoverter convertString:self] bytes];
4434}
NSData * convertString:(NSString *string)

References OOEncodingConverter::convertString:, cStringUsingOoliteEncodingAndRemapping, nil, and sEncodingCoverter.

Referenced by cStringUsingOoliteEncodingAndRemapping.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this category was generated from the following files: