CCTTokenTypeInfo Class Reference

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() .

Since
v7.0

Inherits from

Constructor & Destructor Documentation

CCTTokenTypeInfo(CImplementationInformation *)

CCTTokenTypeInfo ( CImplementationInformation * aEcomImplementationInfo ) [private]

Constructor

Parameters

CImplementationInformation * aEcomImplementationInfo

~CCTTokenTypeInfo()

~CCTTokenTypeInfo ( )

Destructor.

Frees all resources owned by the object.

Member Functions Documentation

Attributes()

IMPORT_C const RArray < TCTTokenTypeAttribute > & Attributes ( ) const

Gets a list of all attributes of this token type.

Interfaces()

IMPORT_C const RArray < TUid > & Interfaces ( ) const

Gets a list of all interfaces supported by this token type.

Label()

IMPORT_C const TDesC & Label ( ) const

Gets a human-readable name for the token type.

ListL(RCPointerArray< CCTTokenTypeInfo > &, const MCTTokenTypeFilter &)

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

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.

ListL(RCPointerArray< CCTTokenTypeInfo > &)

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

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.

Type()

IMPORT_C TUid Type ( ) const

Gets the UID of this token type.

Member Data Documentation

RArray< TCTTokenTypeAttribute > iAttributes

RArray < TCTTokenTypeAttribute > iAttributes [private]

CImplementationInformation * iEcomImplementationInfo

CImplementationInformation * iEcomImplementationInfo [private]

RArray< TUid > iInterfaces

RArray < TUid > iInterfaces [private]