#include <SyncMLDataFilter.h>
| class CSyncMLFilter : public CBase |
| Public Member Functions | |
|---|---|
| ~CSyncMLFilter() | |
| IMPORT_C TInt | DataSize() |
| IMPORT_C const TDesC & | DisplayDescription() |
| IMPORT_C const TDesC & | DisplayName() |
| IMPORT_C TBool | Enabled() |
| IMPORT_C void | ExternalizeL(RWriteStream &) |
| IMPORT_C TUint | FilterId() |
| IMPORT_C RPointerArray< CSyncMLFilterProperty > & | FilterProperties() |
| IMPORT_C TBool | MatchTypeSupported() |
| IMPORT_C CSyncMLFilter * | NewLC() |
| IMPORT_C CSyncMLFilter * | NewLC(TResourceReader &) |
| IMPORT_C CSyncMLFilter * | NewLC(RReadStream &) |
| IMPORT_C void | SetEnabledL(const TBool) |
| IMPORT_C void | SetMatchTypeSupported(const TBool) |
| IMPORT_C void | SetSupportedByServerL(const TBool) |
| IMPORT_C TBool | SupportedByServer() |
Filter Class.
| IMPORT_C const TDesC & | DisplayDescription | ( | ) | const |
Description of filter.
Returns: TDesC Description of the filter.
| IMPORT_C TBool | Enabled | ( | ) | const |
Filter enable/disable information.
Returns: TBool ETrue if filter is enabled. Otherwise EFalse is returned.
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalizes filter.
| Parameter | Description |
|---|---|
| aStream | Specifies stream where filter is externalized. |
| IMPORT_C RPointerArray< CSyncMLFilterProperty > & | FilterProperties | ( | ) |
Properties of filter.
Returns: RPointerArray Properties of filter.
| IMPORT_C TBool | MatchTypeSupported | ( | ) | const |
Information about match type effect to filter.
Returns: TBool ETrue if match type affect to filter. Otherwise EFalse is returned.
| IMPORT_C CSyncMLFilter * | NewLC | ( | TResourceReader & | aReader | ) | [static] |
Symbian two-phased constructor.
| Parameter | Description |
|---|---|
| aReader | TResourceReader for recource file that includes needed information to initialize filter. |
| IMPORT_C CSyncMLFilter * | NewLC | ( | RReadStream & | aStream | ) | [static] |
Symbian two-phased constructor.
| Parameter | Description |
|---|---|
| aStream | RReadStream for stream that includes needed information to initialize filter. |
| IMPORT_C void | SetEnabledL | ( | const TBool | aEnabled | ) |
Set filter enable/disable information.
| Parameter | Description |
|---|---|
| aEnabled | ETrue if filter enabled and EFalse is filter is disabled |
| IMPORT_C void | SetMatchTypeSupported | ( | const TBool | aSupported | ) |
Set information about match type effect to filter.
| Parameter | Description |
|---|---|
| aSupported | ETrue if match type affect to filter and EFalse if it does not affect. |
| IMPORT_C void | SetSupportedByServerL | ( | const TBool | aSupported | ) |
Set information about server capabilities to support this filter.
| Parameter | Description |
|---|---|
| aSupported | ETrue if filter is supported by server and EFalse if it is not supported. |
| IMPORT_C TBool | SupportedByServer | ( | ) | const |
Information about server capabilities to support this filter.
Returns: TBool ETrue if filter is supported by server. Otherwise EFalse is returned.