Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32std.h

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, TBufC, TBuf 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, TBufC, TBuf 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, TBufC, TBuf 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.