CLbtTriggerFilterComposite Class Reference
class CLbtTriggerFilterComposite : public CLbtTriggerFilterBase
|
Class representing a composite filter. This class is used to combine multiple filters.
All filters combined in this class will be applied when listing triggers. Currently only ECompositionTypeAnd is supported to be the composition type. In this case, only those triggers that fulfill the criteria specified by all the filters will be retrieved.
Inherits from
-
CLbtTriggerFilterComposite
Constructor & Destructor Documentation
CLbtTriggerFilterComposite()
CLbtTriggerFilterComposite
|
(
|
)
|
[private]
|
CLbtTriggerFilterComposite(const CLbtTriggerFilterComposite &)
By default, prohibit copy constructor
~CLbtTriggerFilterComposite()
IMPORT_C
|
~CLbtTriggerFilterComposite
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddFilterL(CLbtTriggerFilterBase *)
Parameters
CLbtTriggerFilterBase
* aFilter
|
Pointer to the filter to be added. If the pointer is NULL, this function does nothing. Ownership of aFilter is transferred to this object.
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Symbian 2nd phase constructor
DoExternalizeL(RWriteStream &)
void
|
DoExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [protected, virtual]
|
Parameters
RWriteStream
& aStream
|
Stream to which the object should be externalized.
|
DoInternalizeL(RReadStream &)
void
|
DoInternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[protected, virtual]
|
Parameters
RReadStream
& aStream
|
Stream from which the object should be internalized.
|
GetFilter(TInt)
Gets pointer to the filter at the specific position.
-
panic
-
USER 130 if aIndex is negative, or greater than the total number of filters contained in this object.
Parameters
TInt
aIndex
|
The position of the filter. The value shall be in the range of 0 to NumberOfFilters()- 1.
|
NumberOfFilters()
IMPORT_C
TInt
|
NumberOfFilters
|
(
|
)
|
const
|
Gets the number of filters contained in this object.
RemoveFilter(TInt)
IMPORT_C void
|
RemoveFilter
|
(
|
TInt
|
aIndex
|
)
|
|
Remove the specific trigger filter from this object
-
panic
-
USER 130 if aIndex is negative, or greater than the total number of filters contained in this object.
Parameters
TInt
aIndex
|
The position of the filter to be removed.
|
Reset()
Remove all trigger filters contained in this object.
operator=(const CLbtTriggerFilterComposite &)
Prohibit assigment operator
Member Enumerations Documentation
Enum TCompositeType
Enumerators
ECompositionTypeAnd
|
Criteria in all composited filters must be fulfiled.
|
Member Data Documentation
RPointerArray< CLbtTriggerFilterBase > iFilters
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.