Location:
agmfilts.h
Link against: agnmodel.lib
TAgnsrvFindFilter
Supported from 5.0
An agenda model filter which optionally uses a single entry symbol. If it does, instances which do not have an entry symbol, or have a different entry symbol are filtered out. This class is used when searching an agenda file. A flag is used to indicate whether or not the filter uses the entry symbol.
|
Defined in TAgnsrvFindFilter
:
EntrySymbol()
, ExternalizeL()
, IncludeOneSymbolOnly()
, InternalizeL()
, IsValid()
, SetEntrySymbol()
, SetIncludeOneSymbolOnly()
, TAgnsrvFindFilter()
, 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
TAgnsrvFindFilter();
The default C++ constructor constructs the find filter,
initialising its entry symbol to ‘E’ and its “use one
entry symbol only” flag to EFalse
.
void SetEntrySymbol(TChar aSymbol);
Sets the entry symbol. For the filter to use this entry symbol,
you should call SetIncludeOneSymbolOnly()
with an argument of
ETrue
.
|
void SetIncludeOneSymbolOnly(TBool aOneSymbol);
Sets the ‘include one entry symbol only’ flag.
|
TBool IncludeOneSymbolOnly() const;
Tests whether the ‘include one entry symbol only’ flag is set.
|
TAgnFilter::TType Type();
Gets the filter type.
|
virtual TBool IsValid(const CAgnSortEntry* aElement) const;
Tests whether the entry is valid with respect to the filter. Calls
TAgnFilter::IsValid()
. Additionally, if the filter has been set to
use the single entry symbol, entries which do not have an entry symbol, or
which have a different entry symbol are filtered out.
|
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises the find filter object to a write stream.
|
void InternalizeL(RReadStream& aStream);
Internalises the find filter object from a read stream.
|