Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32std.h>

DECLARE_ROM_ARRAY

DECLARE_ROM_ARRAY (AName, AData, AType) const TFixedArray<AType,(sizeof(AData)/sizeof((AData)[0]))>& \
            AName = *(reinterpret_cast<const TFixedArray<AType, \
                           (sizeof(AData)/sizeof((AData)[0]))>* > (AData))

Description

Parameters

AName

AData

AType

[Top]


__ASSERT_ALWAYS_NO_LEAVE

__ASSERT_ALWAYS_NO_LEAVE (_s) {                                                     \
    try {                                                  \
        TTrapHandler* ____t = User::MarkCleanupStack();     \
        _s;                                                 \
        User::UnMarkCleanupStack(____t);                    \
        }                                                   \
    catch (XLeaveException& )                          \
        {                                                   \
        User::PanicUnexpectedLeave();                       \
        }                                                   \
    catch (...)                                             \
        {                                                   \
        User::Invariant();                                  \
        }                                                   \
    }

Description

Macro to assert in all builds that code does not leave

Parameters

_s

C++ statements to be executed which should not leave

[Top]


__ASSERT_DEBUG_NO_LEAVE

__ASSERT_DEBUG_NO_LEAVE (_s) { _s; }

Description

Macro to assert in debug builds that code does not leave

Parameters

_s

C++ statements to be executed which should not leave

[Top]


Typedef TLex

typedef TLex16 TLex;

Description

Provides access to general string-parsing functions suitable for numeric format conversions and syntactical-element parsing.

It maps directly to either a TLex16TLex16 for a Unicode build or a TLex8TLex8 for a non-Unicode build.

The build independent type should always be used unless an explicit 16 bit or 8 bit build variant is required.

See also:

[Top]


Typedef TLexMark

typedef TLexMark16 TLexMark;

Description

Defines the extraction mark used by the TLex classes to indicate the current lexical element being analysed.

It maps directly to either a TLexMark16TLexMark16 for a Unicode build or a TLexMark8TLexMark8 for a non-Unicode build.

The build independent type should always be used unless an explicit 16 bit or 8 bit build variant is required.

[Top]


Enum TKeyCmpText

TKeyCmpText

Description

Governs the type of comparison to be made between descriptor keys or between text keys.

See also:

ECmpNormal

For a Unicode build, this is the same as ECmpNormal16. For a non-Unicode build, this is the same as ECmpNormal8.

Using the build independent names (i.e. TPtrC, TPtr, TBufCTBufC, TBufTBuf or TText) allows the compiler to chose the correct variant according to the build.

ECmpNormal8

For descriptor keys, the key is assumed to be the 8 bit variant, derived from TDesc8. A simple comparison is done between the content of the descriptors; the data is not folded and collation rules are not applied for the purpose of the comparison.

For text keys, the key is assumed to be the 8 bit variant, of type TText8. A normal comparison is done between the text data; the data is not folded and collation rules are not applied for the purpose of the comparison.

ECmpNormal16

For descriptor keys, the key is assumed to be the 16 bit variant, derived from TDesc16. A simple comparison is done between the content of the descriptors; the data is not folded and collation rules are not applied for the purpose of the comparison.

For text keys, the key is assumed to be the 16 bit variant, of type TText16. A normal comparison is done between the text data; the data is not folded and collation rules are not applied for the purpose of the comparison.

ECmpFolded

For a Unicode build, this is the same as EcmpFolded16. For a non-Unicode build, this is the same as EcmpFolded8.

Using the build independent names (i.e. TPtrC, TPtr, TBufCTBufC, TBufTBuf or TText) allows the compiler to chose the correct variant according to the build.

ECmpFolded8

For descriptor keys, the key is assumed to be the 8 bit variant, derived from TDesc8. The descriptor contents are folded for the purpose of the comparison.

For text keys, the key is assumed to be the 8 bit variant, of type TText8. The text data is folded for the purpose of the comparison.

ECmpFolded16

For descriptor keys, the key is assumed to be the 16 bit variant, derived from TDesc16. The descriptor contents are folded for the purpose of the comparison.

For text keys, the key is assumed to be the 16 bit variant, of type TText16. The text data is folded for the purpose of the comparison.

ECmpCollated

For a Unicode build, this is the same as EcmpCollated16. For a non-Unicode build, this is the same as EcmpCollated8.

Using the build independent names (i.e. TPtrC, TPtr, TBufCTBufC, TBufTBuf or TText) allows the compiler to chose the correct variant according to the build.

ECmpCollated8

For descriptor keys, the key is assumed to be the 8 bit variant, derived from TDesc8. Collation rules are applied for the purpose of the comparison.

For text keys, the key is assumed to be the 8 bit variant, of type TText8. Collation rules are applied for the purpose of the comparison.

ECmpCollated16

For descriptor keys, the key is assumed to be the 16 bit variant, derived from TDesc16. Collation rules are applied for the purpose of the comparison.

For text keys, the key is assumed to be the 16 bit variant, of type TText16. Collation rules are applied for the purpose of the comparison.

[Top]


Enum TKeyCmpNumeric

TKeyCmpNumeric

Description

Governs the type of comparison to be made between numeric keys.

See also:

ECmpTInt8

The key is assumed to be of type TInt8.

ECmpTInt16

The key is assumed to be of type TInt16.

ECmpTInt32

The key is assumed to be of type TInt32.

ECmpTInt

The key is assumed to be of type TInt.

ECmpTUint8

The key is assumed to be of type TUint8.

ECmpTUint16

The key is assumed to be of type TUint16.

ECmpTUint32

The key is assumed to be of type TUint32.

ECmpTUint

The key is assumed to be of type TUint.

ECmpTInt64

The key is assumed to be of type TInt64.

[Top]


Enum TLocaleAspect

TLocaleAspect

Description

TLocaleAspect

Enumeration used with TExtendedLocale::LoadLocaleAspect(TUint,const TDesC &) to select which locale information is to be replaced from the contents of the Locale DLL being loaded.

ELocaleLanguageSettings - Replaces everything that should change with language selection e.g. Month names, Day names, etc,

ELocaleLocaleSettings - Replaces the currently selected currency symbol, TLocaleTLocale settings, and FAT utility functions

ELocaleTimeAndDateSettings - Replaces the current time and date display format settings.

ELocaleCollateSettings - Replaces the "system" preferred Charset (because that's where the collation table is!). The "Default" charset will remain unchanged until after the next power off/on cycle

ELocaleLanguageSettings

ELocaleCollateSetting

ELocaleLocaleSettings

ELocaleTimeDateSettings

[Top]


operator new(TUint,TLeave)

inline TAny* operator new(TUint aSize, TLeave);

Description

Parameters

TUintTUint aSize

TLeaveTLeave

Return value

TAnyTAny *

[Top]


operator new(TUint,TLeave,TUint)

inline TAny* operator new(TUint aSize, TLeave, TUint aExtraSize);

Description

Parameters

TUintTUint aSize

TLeaveTLeave

TUintTUint aExtraSize

Return value

TAnyTAny *

[Top]


operator new[](TUint,TLeave)

inline TAny* operator new[](TUint aSize, TLeave);

Description

Parameters

TUintTUint aSize

TLeaveTLeave

Return value

TAnyTAny *


e32std.h Global variables