CSyncMLFilter Class Reference

class CSyncMLFilter : public CBase

Filter Class.

syncmldatafilter.lib

Inherits from

Constructor & Destructor Documentation

CSyncMLFilter()

CSyncMLFilter ( ) [private]

Basic constructor.

~CSyncMLFilter()

IMPORT_C ~CSyncMLFilter ( )

Destructor.

Member Functions Documentation

DataSize()

IMPORT_C TInt DataSize ( )

Size of data

DisplayDescription()

IMPORT_C const TDesC & DisplayDescription ( ) const

Description of filter.

DisplayName()

IMPORT_C const TDesC & DisplayName ( ) const

Name of filter.

Enabled()

IMPORT_C TBool Enabled ( ) const

Filter enable/disable information.

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalizes filter.

Parameters

RWriteStream & aStream Specifies stream where filter is externalized.

FilterId()

IMPORT_C TUint FilterId ( ) const

ID of filter.

FilterProperties()

IMPORT_C RPointerArray < CSyncMLFilterProperty > & FilterProperties ( )

Properties of filter.

MatchTypeSupported()

IMPORT_C TBool MatchTypeSupported ( ) const

Information about match type effect to filter.

NewLC()

IMPORT_C CSyncMLFilter * NewLC ( ) [static]

Symbian two-phased constructor.

NewLC(TResourceReader &)

IMPORT_C CSyncMLFilter * NewLC ( TResourceReader & aReader ) [static]

Symbian two-phased constructor.

Parameters

TResourceReader & aReader TResourceReader for recource file that includes needed information to initialize filter.

NewLC(RReadStream &)

IMPORT_C CSyncMLFilter * NewLC ( RReadStream & aStream ) [static]

Symbian two-phased constructor.

Parameters

RReadStream & aStream RReadStream for stream that includes needed information to initialize filter.

SetEnabledL(const TBool)

IMPORT_C void SetEnabledL ( const TBool aEnabled )

Set filter enable/disable information.

Parameters

const TBool aEnabled ETrue if filter enabled and EFalse is filter is disabled

SetMatchTypeSupported(const TBool)

IMPORT_C void SetMatchTypeSupported ( const TBool aSupported )

Set information about match type effect to filter.

Parameters

const TBool aSupported ETrue if match type affect to filter and EFalse if it does not affect.

SetSupportedByServerL(const TBool)

IMPORT_C void SetSupportedByServerL ( const TBool aSupported )

Set information about server capabilities to support this filter.

Parameters

const TBool aSupported ETrue if filter is supported by server and EFalse if it is not supported.

SupportedByServer()

IMPORT_C TBool SupportedByServer ( ) const

Information about server capabilities to support this filter.

Member Data Documentation

HBufC * iDisplayDescription

HBufC * iDisplayDescription [private]

HBufC * iDisplayName

HBufC * iDisplayName [private]

TBool iEnabled

TBool iEnabled [private]

TUint iFilterId

TUint iFilterId [private]

TBool iMatchTypeSupported

TBool iMatchTypeSupported [private]

RPointerArray< CSyncMLFilterProperty > iProperties

RPointerArray < CSyncMLFilterProperty > iProperties [private]

TBool iSupportedByServer

TBool iSupportedByServer [private]