03.01.2013 Views

Chapter 1

Chapter 1

Chapter 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

In v7.0, the structure of ROM images was changed so that a single ROM can support more<br />

than one locale. This is intended to make it easier for Symbian OS licensees to produce<br />

ROMs for closely related locales.<br />

Quick selection table<br />

This table lists the most frequently used collection types, and shows the key distinctions<br />

among them.<br />

Class name Frequency of<br />

insertions and<br />

deletions<br />

Array<br />

length<br />

Access<br />

type<br />

TArray Never Any Random T<br />

TFixedArray<br />

Infrequent Fixed Random T<br />

RPointerArray Infrequent Bounded Random T*<br />

RArray Infrequent Bounded Random T<br />

Data<br />

types<br />

RArray Infrequent Bounded Random TInt<br />

RArray Infrequent Bounded Random TUint<br />

CArrayFixSeg Frequent Unbounded Random T<br />

CArrayPtrSeg Frequent Unbounded Random T*<br />

TSglQue Frequent Unbounded Sequential, T<br />

single<br />

direction<br />

TDblQue Frequent Unbounded Sequential, T<br />

both<br />

directions<br />

CDesCArrayFlat Infrequent Bounded Random Any 16-bit<br />

descriptor<br />

CDesCArraySeg Frequent Unbounded Random Any 16-bit<br />

descriptor<br />

CPtrCArray Infrequent Bounded Random TPtrC16<br />

In a multiple-locale ROM, most files will be identical for all locales supported, even the<br />

language-specific ones, such as resource files (assuming that the languages are closely<br />

related). In this case, to keep the ROM size down to a minimum, it makes sense to store a<br />

single copy of the common files, and only duplicate the files that are different.<br />

To enable this, the ability to set a language downgrade path was added. The language<br />

downgrade path is used when a language-specific file cannot be found for the ROM locale; it<br />

specifies which languages can provide an alternative version.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!