MCTTokenTypeFilter Class Reference

#include <ct/mcttokentypefilter.h>

class MCTTokenTypeFilter
Public Member Functions
pure virtual TBool Accept(const CCTTokenTypeInfo &)

Detailed Description

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.

For most clients one of the following three defined subclasses will do what is wanted: Clients wanting more unusual matching criteria may need to write their own subclasses.
Since
v7.0

Member Function Documentation

Accept ( const CCTTokenTypeInfo & )

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

Tests whether the supplied token type should be included in the list.

Parameters
aTokenTypeThe token type to be tested.
Return Value
ETrue, if the supplied token type should be included in the list; EFalse, otherwise.