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.
Public Member Functions | |
---|---|
TCTFindTokenTypesByInterfaceAndAttribute (const TArray < TUid >, const TArray < TCTTokenTypeAttribute >) | |
TBool | Accept (const CCTTokenTypeInfo &) |
Private Attributes | |
---|---|
const TArray < TCTTokenTypeAttribute > | iAttributes |
const TArray < TUid > | iInterfaces |
IMPORT_C | TCTFindTokenTypesByInterfaceAndAttribute | ( | const TArray < TUid > | aInterfaces, |
const TArray < TCTTokenTypeAttribute > | aAttributes | |||
) |
Constructor.
const TArray < TUid > aInterfaces | An array of Uids corresponding to the interfaces that the token type must support. |
const TArray < TCTTokenTypeAttribute > aAttributes | An array of the attributes and values that must be defined for the token type. |
TBool | Accept | ( | const CCTTokenTypeInfo & | aTokenType | ) | const [virtual] |
Tests whether all the interfaces and attributes associated with the filter are supported by the token type.
const CCTTokenTypeInfo & aTokenType | The token type to be tested. |
const TArray < TCTTokenTypeAttribute > | iAttributes | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.