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

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.

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.

A list of all the interfaces supported by this token type.

Label()

IMPORT_C const TDesC &Label()const

Gets a human-readable name for the token type.

A human-readable name for the token type.

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

IMPORT_C voidListL(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 > & aTokenTypesAn 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 & aFilterAn 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 voidListL(RCPointerArray< CCTTokenTypeInfo > &aTokenTypes)[static]

Lists all the CCTTokenTypeInfo objects.

This version does not take a filter, but returns all token types.

Parameters

RCPointerArray< CCTTokenTypeInfo > & aTokenTypesAn 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 TUidType()const

Gets the UID of this token type.

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]