CSyncMLFilter Class Reference

#include <SyncMLDataFilter.h>

Link against: syncmldatafilter.lib

class CSyncMLFilter : public CBase

Inherits from

  • CSyncMLFilter

    Detailed Description

    Filter Class.

    Constructor & Destructor Documentation

    ~CSyncMLFilter ( )

    IMPORT_C~CSyncMLFilter()

    Destructor.

    Member Function Documentation

    DataSize ( )

    IMPORT_C TIntDataSize()

    Size of data

    Returns: Size of internal data

    DisplayDescription ( )

    IMPORT_C const TDesC &DisplayDescription()const

    Description of filter.

    Returns: TDesC Description of the filter.

    DisplayName ( )

    IMPORT_C const TDesC &DisplayName()const

    Name of filter.

    Returns: TDesC Name of the filter.

    Enabled ( )

    IMPORT_C TBoolEnabled()const

    Filter enable/disable information.

    Returns: TBool ETrue if filter is enabled. Otherwise EFalse is returned.

    ExternalizeL ( RWriteStream & )

    IMPORT_C voidExternalizeL(RWriteStream &aStream)const

    Externalizes filter.

    ParameterDescription
    aStreamSpecifies stream where filter is externalized.

    FilterId ( )

    IMPORT_C TUintFilterId()const

    ID of filter.

    Returns: TUint ID of the filter.

    FilterProperties ( )

    IMPORT_C RPointerArray< CSyncMLFilterProperty > &FilterProperties()

    Properties of filter.

    Returns: RPointerArray Properties of filter.

    MatchTypeSupported ( )

    IMPORT_C TBoolMatchTypeSupported()const

    Information about match type effect to filter.

    Returns: TBool ETrue if match type affect to filter. Otherwise EFalse is returned.

    NewLC ( )

    IMPORT_C CSyncMLFilter *NewLC()[static]

    Symbian two-phased constructor.

    NewLC ( TResourceReader & )

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

    Symbian two-phased constructor.

    ParameterDescription
    aReaderTResourceReader for recource file that includes needed information to initialize filter.

    NewLC ( RReadStream & )

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

    Symbian two-phased constructor.

    ParameterDescription
    aStreamRReadStream for stream that includes needed information to initialize filter.

    SetEnabledL ( const TBool )

    IMPORT_C voidSetEnabledL(const TBoolaEnabled)

    Set filter enable/disable information.

    ParameterDescription
    aEnabledETrue if filter enabled and EFalse is filter is disabled

    SetMatchTypeSupported ( const TBool )

    IMPORT_C voidSetMatchTypeSupported(const TBoolaSupported)

    Set information about match type effect to filter.

    ParameterDescription
    aSupportedETrue if match type affect to filter and EFalse if it does not affect.

    SetSupportedByServerL ( const TBool )

    IMPORT_C voidSetSupportedByServerL(const TBoolaSupported)

    Set information about server capabilities to support this filter.

    ParameterDescription
    aSupportedETrue if filter is supported by server and EFalse if it is not supported.

    SupportedByServer ( )

    IMPORT_C TBoolSupportedByServer()const

    Information about server capabilities to support this filter.

    Returns: TBool ETrue if filter is supported by server. Otherwise EFalse is returned.