Location:
agmfilts.h
Link against: agnmodel.lib
TAgnFilter
Supported from 5.0
Identifies which model entry types should be involved when tidying, finding or populating an instance or symbol list. It is usually used in combination with a date or date range.
Defined in TAgnFilter
:
AreAlarmedOnlyIncluded()
, AreAnnivsIncluded()
, AreCrossedOutIncluded()
, AreCrossedOutOnlyIncluded()
, AreEventsIncluded()
, AreNonRptsIncluded()
, AreRptsIncluded()
, AreTimedApptsIncluded()
, AreTodosIncluded()
, AreUnTimedApptsIncluded()
, EAgnFilter
, EDayFilter
, EFindFilter
, ESymbolFilter
, ETidyFilter
, IsValid()
, RptNextInstanceOnly()
, SetIncludeAlarmedOnly()
, SetIncludeAnnivs()
, SetIncludeCrossedOut()
, SetIncludeCrossedOutOnly()
, SetIncludeEvents()
, SetIncludeNonRpts()
, SetIncludeRpts()
, SetIncludeRptsNextInstanceOnly()
, SetIncludeTimedAppts()
, SetIncludeTodos()
, SetIncludeUnTimedAppts()
, TAgnFilter()
, TType
, Type()
TAgnFilter();
The default C++ constructor constructs the filter and sets it to include all entry types.
void SetIncludeAlarmedOnly(TBool aIncludeAlarmed);
Sets whether the filter should only include alarmed entries.
|
void SetIncludeAnnivs(TBool aIncludeAnnivs);
Sets the filter to include / exclude anniversary entries.
|
void SetIncludeCrossedOut(TBool aIncludeCrossedOut);
Sets the filter to include / exclude crossed-out entries.
|
void SetIncludeCrossedOutOnly(TBool aIncludeCrossedOutOnly);
Supported from 6.0
Sets whether the filter should only include crossed-out entries.
|
void SetIncludeEvents(TBool aIncludeEvents);
Sets the filter to include / exclude event entries.
|
void SetIncludeNonRpts(TBool aIncludeNonRpts);
Sets the filter to include / exclude non-repeated entries.
|
void SetIncludeRpts(TBool aIncludeRpts);
Sets the filter to include / exclude repeated entries.
|
void SetIncludeRptsNextInstanceOnly(TBool aIncludeRptsNextInstanceOnly);
Sets the filter to include / exclude the next instance only of repeated entries.
|
void SetIncludeTimedAppts(TBool aIncludeTimedAppts);
Sets the filter to include / exclude timed appointments.
|
void SetIncludeTodos(TBool aIncludeTodos);
Sets the filter to include / exclude to-do entries.
|
void SetIncludeUnTimedAppts(TBool aIncludeUntimedAppts);
Sets the filter to include / exclude untimed appointments, i.e. day notes.
|
virtual TType Type();
This is overridden by the derived classes TAgnSymbolFilter
,
TAgnDayFilter
, TAgnSrvFindFilter
and
TAgnSrvTidyFilter
to return the type of filter. This
implementation returns EAgnFilter
.
|
TBool AreAlarmedOnlyIncluded() const;
Returns whether the filter only includes alarmed entries.
|
TBool AreAnnivsIncluded() const;
Returns whether the filter includes / excludes anniversaries.
|
TBool AreCrossedOutIncluded() const;
Returns whether the filter includes / excludes crossed-out entries.
|
TBool AreCrossedOutOnlyIncluded() const;
Supported from 6.0
Returns whether the filter only includes crossed-out entries.
|
TBool AreEventsIncluded() const;
Returns whether the filter includes / excludes events.
|
TBool AreNonRptsIncluded() const;
Returns whether the filter includes / excludes non-repeating entries.
|
TBool AreRptsIncluded() const;
Returns whether the filter includes / excludes repeating entries.
|
TBool AreTimedApptsIncluded() const;
Returns whether the filter includes / excludes timed appointments.
|
TBool AreTodosIncluded() const;
Returns whether the filter includes / excludes to-do entries.
|
TBool AreUnTimedApptsIncluded() const;
Returns whether the filter includes / excludes untimed appointments, i.e. day notes.
|
TBool RptNextInstanceOnly() const;
Returns whether the filter only includes the next instance of a repeating entry.
|
virtual TBool IsValid(const CAgnSortEntry* aElement) const;
Returns whether the type of the specified entry is included in or excluded from the filter.
|
|
TBool IsValid(const TAgnLiteEntry& aLiteEntry) const;
Returns whether the type of the specified entry is included in or excluded from the filter.
|
|
TType
Filter type
|