Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against:

Enum TKeyCmpText

TKeyCmpText

Support

Supported from 5.0

Description

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

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.

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.

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.

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.

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.

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.

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.

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.

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.