Location:
e32base.h
Link against: euser.lib
TKeyArrayPak
Supported from 5.0
Defines the characteristics of a key used to access the elements of packed arrays.
An object of this type can represent three categories of key, depending on the constructor used:
a descriptor key
a text key
a numeric key.
The InsertIsqL(), Find() and FindIsqL() member functions of the CArrayPakFlat class hierarchy need a TKeyArrayPak object as an argument to define the location and type of key within an array element.
Note that a TKeyArrayVar object is required for sorting a packed array. The implementation of the SortL() member function of the CArrayPakFlat class constructs a temporary CArrayVarFlat object which requires the TKeyArrayVar object.
|
Defined in TKeyArrayPak:
TKeyArrayPak()
Inherited from TKey:
At(),
Compare(),
SetPtr()
TKeyArrayPak(TInt anOffset,TKeyCmpText aType);
Constructs the characteristics of a descriptor key.
No length value is passed as this is taken from the descriptor type key.
|
TKeyArrayPak(TInt anOffset,TKeyCmpText aType,TInt aLength);
Constructs the characteristics of a text key.
|
TKeyArrayPak(TInt anOffset,TKeyCmpNumeric aType);
Constructs the characteristics of a numeric key.
|