Location:
agmfilts.h
Link against: agnmodel.lib
TAgnSymbolFilter
Supported from 5.0
A day filter which additionally may store an entry symbol. If it does, only instances with a matching entry symbol are valid. A flag is used to indicate whether or not the filter has an entry symbol. This class is used when populating year views.
|
Defined in TAgnSymbolFilter
:
EntrySymbol()
, ExternalizeL()
, HasEntrySymbol()
, InternalizeL()
, IsValid()
, SetEntrySymbol()
, SetHasEntrySymbol()
, TAgnSymbolFilter()
, Type()
Inherited from TAgnFilter
:
AreAlarmedOnlyIncluded()
,
AreAnnivsIncluded()
,
AreCrossedOutIncluded()
,
AreCrossedOutOnlyIncluded()
,
AreEventsIncluded()
,
AreNonRptsIncluded()
,
AreRptsIncluded()
,
AreTimedApptsIncluded()
,
AreTodosIncluded()
,
AreUnTimedApptsIncluded()
,
EAgnFilter
,
EDayFilter
,
EFindFilter
,
ESymbolFilter
,
ETidyFilter
,
RptNextInstanceOnly()
,
SetIncludeAlarmedOnly()
,
SetIncludeAnnivs()
,
SetIncludeCrossedOut()
,
SetIncludeCrossedOutOnly()
,
SetIncludeEvents()
,
SetIncludeNonRpts()
,
SetIncludeRpts()
,
SetIncludeRptsNextInstanceOnly()
,
SetIncludeTimedAppts()
,
SetIncludeTodos()
,
SetIncludeUnTimedAppts()
,
TType
TAgnSymbolFilter(CAgnEntryModel* aEntryModel);
C++ constructor with an agenda entry model. The filter is initialised to have no entry symbol.
|
void SetHasEntrySymbol(TBool aHasEntrySymbol);
Sets the ‘has entry symbol’ flag.
|
void SetEntrySymbol(TText aEntrySymbol);
Sets the entry symbol and sets the ‘has entry symbol’ flag to True.
|
TBool HasEntrySymbol() const;
Tests whether the filter has an entry symbol.
|
TText16 EntrySymbol() const;
Gets the entry symbol, as set by
SetEntrySymbol()
.
|
virtual TAgnFilter::TType Type();
Gets the filter type.
|
virtual TBool IsValid(const CAgnSortEntry* aElement) const;
Tests whether the entry is valid. Calls
TAgnDayFilter::IsValid()
. Then additionally, filters out the
following:
all entries with no entry symbol
if the filter has an entry symbol, entries which have an entry symbol if the two symbols do not match.
|
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises the filter object to a write stream.
|
void InternalizeL(RReadStream& aStream);
Internalises the filter object from a read stream.
|