class CCTTokenTypeInfo : public CBase |
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().
v7.0
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() |
Private Member Functions | |
---|---|
CCTTokenTypeInfo(CImplementationInformation *) |
Private Attributes | |
---|---|
RArray< TCTTokenTypeAttribute > | iAttributes |
CImplementationInformation * | iEcomImplementationInfo |
RArray< TUid > | iInterfaces |
CCTTokenTypeInfo | ( | CImplementationInformation * | aEcomImplementationInfo | ) | [private] |
Constructor
CImplementationInformation * aEcomImplementationInfo |
IMPORT_C const RArray< TCTTokenTypeAttribute > & | Attributes | ( | ) | const |
Gets a list of all attributes of this token type.
A list of all attributes of this token type.
IMPORT_C const RArray< TUid > & | Interfaces | ( | ) | const |
Gets a list of all interfaces supported by this token type.
A list of all the interfaces supported by this token type.
IMPORT_C const TDesC & | Label | ( | ) | const |
Gets a human-readable name for the token type.
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.
RCPointerArray< CCTTokenTypeInfo > & 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. |
const MCTTokenTypeFilter & 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.
RCPointerArray< CCTTokenTypeInfo > & 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. |