Oolite
Loading...
Searching...
No Matches
NSString(OODisplayEncoding) Category Reference

#include <HeadUpDisplay.h>

Instance Methods

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

Detailed Description

Definition at line 352 of file HeadUpDisplay.h.

Method Documentation

◆ cStringUsingOoliteEncoding

- (const char *) cStringUsingOoliteEncoding

Definition at line 4083 of file HeadUpDisplay.m.

4084{
4085 if (sEncodingCoverter == nil)
4086 InitTextEngine();
4087
4088 // Note: the data will be autoreleased, so the bytes behave as though they're autoreleased too.
4089 return [[self dataUsingEncoding:[sEncodingCoverter encoding] allowLossyConversion:YES] bytes];
4090}
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 4092 of file HeadUpDisplay.m.

4093{
4094 if (sEncodingCoverter == nil)
4095 InitTextEngine();
4096
4097 // Note: the data will be autoreleased, so the bytes behave as though they're autoreleased too.
4098 return [[sEncodingCoverter convertString:self] bytes];
4099}
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: