CCTTokenTypeInfo Class Reference

#include <ct/ccttokentypeinfo.h>

Link against: ctfinder.lib

class CCTTokenTypeInfo : public CBase

Inherits from

  • CCTTokenTypeInfo

    Detailed Description

    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

    Constructor & Destructor Documentation

    ~CCTTokenTypeInfo ( )

    ~CCTTokenTypeInfo()

    Destructor.

    Frees all resources owned by the object.

    Member Function Documentation

    Attributes ( )

    IMPORT_C const RArray< TCTTokenTypeAttribute > &Attributes()const

    Gets a list of all attributes of this token type.

    Returns: 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.

    Returns: 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.

    Returns: 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.

    ParameterDescription
    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.
    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.

    ParameterDescription
    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.

    Returns: The UID of this token type.