#include <ct/ccttokentypeinfo.h>
Link against: ctfinder.lib
| class CCTTokenTypeInfo : public CBase, public CBase |
| Public Member Functions | |
|---|---|
| ~CCTTokenTypeInfo() | |
| IMPORT_C const RArray< TCTTokenTypeAttribute > & | Attributes() |
| IMPORT_C const RArray< TUid > & | Interfaces() |
| IMPORT_C const TDesC & | Label() |
| IMPORT_C void | ListL(RCPointerArray< CCTTokenTypeInfo > &, const MCTTokenTypeFilter &) |
| IMPORT_C void | ListL(RCPointerArray< CCTTokenTypeInfo > &) |
| IMPORT_C TUid | Type() |
Information about a token type.
A list of CCTTokenTypeInfo objects can be obtained using the static ListL() functions. Each CCTTokenTypeInfo object has a list of interfaces it supports, a list of TCTTokenTypeAttribute objects associated with it, and a label. Based on this, the client (or the user via a UI) can chose the required token type and load it via CCTTokenType::NewL().
| IMPORT_C const RArray< TCTTokenTypeAttribute > & | Attributes | ( | ) | const |
Gets a list of all attributes of this token type.
| IMPORT_C const TDesC & | Label | ( | ) | const |
Gets a human-readable name for the token type.
| IMPORT_C void | ListL | ( | RCPointerArray< CCTTokenTypeInfo > & | aTokenTypes, |
| const MCTTokenTypeFilter & | aFilter | |||
| ) | [static] | |||
Lists all the CCTTokenTypeInfo objects that match the filter expression.
This is the only way of creating CCTTokenTypeInfo objects.
| Parameters | |
|---|---|
| aTokenTypes | An array to which the found token types will be appended. Ownership of the CCTTokenTypeInfo objects, whose pointers are held by the array, are transferred to the caller. |
| aFilter | An object that is used to filter tokens, by being offered each token in turn and declining the ones that are not required. |
| IMPORT_C void | ListL | ( | RCPointerArray< CCTTokenTypeInfo > & | aTokenTypes | ) | [static] |
Lists all the CCTTokenTypeInfo objects.
This version does not take a filter, but returns all token types.
| Parameters | |
|---|---|
| aTokenTypes | An array to which the found token types will be appended. Ownership of the CCTTokenTypeInfo objects, whose pointers are held by the array, are transferred to the caller. |