#include <ct/mcttokentypefilter.h>
| class MCTTokenTypeFilter |
| Public Member Functions | |
|---|---|
| pure virtual TBool | Accept(const CCTTokenTypeInfo &) |
A filter that is used to control which token types appear in a list returned by CCTTokenTypeInfo::ListL().
Each possible token type is offered to the filter in turn, which returns ETrue if it is to be included.
TCTAllTokenTypes -- returns everything
TCTFindTokenTypesByInterface -- finds token types that support all of a supplied set of interfaces
TCTFindTokenTypesByInterfaceAndAttribute -- finds token types that match a particular list of interfaces, and a particular set of attribute/value pairs.
| TBool | Accept | ( | const CCTTokenTypeInfo & | aTokenType | ) | const [pure virtual] |
Tests whether the supplied token type should be included in the list.
| Parameter | Description |
|---|---|
| aTokenType | The token type to be tested. |
Returns: ETrue, if the supplied token type should be included in the list; EFalse, otherwise.