TCTFindTokenTypesByInterface Class Reference

#include <ct/tctfindtokentypesbyinterface.h>

Link against: ctfinder.lib

class TCTFindTokenTypesByInterface : public MCTTokenTypeFilter

Inherits from

Public Member Functions
TCTFindTokenTypesByInterface(const TArray< TUid >)
virtual TBool Accept(const CCTTokenTypeInfo &)

Detailed Description

A filter that returns only those token types that match the required set of interfaces.

On construction, an array containing the required interfaces is passed in.

Token types will be matched if every interface in the supplied array is supported by the token type.

Since
v7.0

Constructor & Destructor Documentation

TCTFindTokenTypesByInterface ( const TArray< TUid > )

IMPORT_CTCTFindTokenTypesByInterface(const TArray< TUid >aInterfaces)

Constructor.

Parameters
aInterfacesAn array of Uids corresponding to the interfaces that the token type must support.

Member Function Documentation

Accept ( const CCTTokenTypeInfo & )

TBool Accept(const CCTTokenTypeInfo &aTokenType)const [virtual]

Reimplemented from MCTTokenTypeFilter::Accept(const CCTTokenTypeInfo &)const

Tests whether all the interfaces associated with the filter are supported by the token type.

Parameters
aTokenTypeThe token type to be tested.
Return Value
ETrue if all the interfaces associated with the filter are supported by the token type; EFalse, otherwise.