TCTFindTokenTypesByInterfaceAndAttribute Class Reference

class TCTFindTokenTypesByInterfaceAndAttribute : public MCTTokenTypeFilter

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

On construction, an array containing the required interfaces and an array of required attributes/values is passed in.

Token types will be matched if every interface in the supplied array is supported by the token type, and every attribute is defined and has the same value.

v7.0

Inherits from

Constructor & Destructor Documentation

TCTFindTokenTypesByInterfaceAndAttribute(const TArray< TUid >, const TArray< TCTTokenTypeAttribute >)

IMPORT_CTCTFindTokenTypesByInterfaceAndAttribute(const TArray< TUid >aInterfaces,
const TArray< TCTTokenTypeAttribute >aAttributes
)

Constructor.

Parameters

const TArray< TUid > aInterfacesAn array of Uids corresponding to the interfaces that the token type must support.
const TArray< TCTTokenTypeAttribute > aAttributesAn array of the attributes and values that must be defined for the token type.

Member Functions Documentation

Accept(const CCTTokenTypeInfo &)

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

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

ETrue if all the interfaces and attributes associated with the filter are supported by the token type; EFalse, otherwise.

Parameters

const CCTTokenTypeInfo & aTokenTypeThe token type to be tested.

Member Data Documentation

const TArray< TCTTokenTypeAttribute > iAttributes

const TArray< TCTTokenTypeAttribute >iAttributes[private]

const TArray< TUid > iInterfaces

const TArray< TUid >iInterfaces[private]