CSmlDataStoreFormat Class Reference

class CSmlDataStoreFormat : public CBase

The format and capabilities of Data Stores of a specific type.

Inherits from

Public Member Functions
~CSmlDataStoreFormat ()
IMPORT_C const TDesC & DisplayName ()
IMPORT_C void ExternalizeL ( RWriteStream &)
IMPORT_C const CSmlFilterCapability & FilterCapability ( TInt )
IMPORT_C TInt FilterCapabilityCount ()
IMPORT_C const CSmlDataProperty & FolderProperty ( TInt )
IMPORT_C TInt FolderPropertyCount ()
IMPORT_C TBool HasMaxItems ()
IMPORT_C TBool HasMaxSize ()
IMPORT_C TBool IsSupported ( TOption )
IMPORT_C TInt MaxItems ()
IMPORT_C TInt MaxSize ()
IMPORT_C const CSmlMimeFormat & MimeFormat ( TInt )
IMPORT_C TInt MimeFormatCount ()
IMPORT_C TInt MimeFormatRxPref ()
IMPORT_C TInt MimeFormatTxPref ()
IMPORT_C CSmlDataStoreFormat * NewLC ()
IMPORT_C CSmlDataStoreFormat * NewLC (const RStringPool &, TResourceReader &)
IMPORT_C CSmlDataStoreFormat * NewLC (const RStringPool &, RReadStream &)
IMPORT_C void SetDisplayNameL ( TDesC &)
IMPORT_C void SetFilterCapabilitiesL ( RPointerArray < CSmlFilterCapability > &)
IMPORT_C void SetFolderPropertiesL ( RPointerArray < CSmlDataProperty > &)
IMPORT_C void SetMaxItems ( TUint16 )
IMPORT_C void SetMaxSize ( TUint16 )
IMPORT_C void SetMimeFormatRxPref ( TInt )
IMPORT_C void SetMimeFormatTxPref ( TInt )
IMPORT_C void SetMimeFormatsL ( RPointerArray < CSmlMimeFormat > &)
IMPORT_C void SetSupportedOptions ( TUint32 )
IMPORT_C void SetSyncTypeMask ( TSmlSyncTypeMask )
IMPORT_C TSmlSyncTypeMask SyncTypes ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enum TOption { EOptionHasMaxSize , EOptionHasMaxItems , EOptionHierarchial }
Protected Attributes
HBufC * iDisplayName
RPointerArray < CSmlFilterCapability > iFilterCapabilities
TUint32 iFlags
RPointerArray < CSmlDataProperty > iFolderProperties
TUint16 iMaxItems
TUint16 iMaxSize
RPointerArray < CSmlMimeFormat > iMimeFormats
TInt iRxPref
TSmlSyncTypeMask iSyncTypeMask
TInt iTxPref

Constructor & Destructor Documentation

~CSmlDataStoreFormat()

IMPORT_C ~CSmlDataStoreFormat ( ) [virtual]

Member Functions Documentation

DisplayName()

IMPORT_C const TDesC & DisplayName ( ) const

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

FilterCapability(TInt)

IMPORT_C const CSmlFilterCapability & FilterCapability ( TInt aIndex ) const

Parameters

TInt aIndex

FilterCapabilityCount()

IMPORT_C TInt FilterCapabilityCount ( ) const

FolderProperty(TInt)

IMPORT_C const CSmlDataProperty & FolderProperty ( TInt aIndex ) const

Parameters

TInt aIndex

FolderPropertyCount()

IMPORT_C TInt FolderPropertyCount ( ) const

HasMaxItems()

IMPORT_C TBool HasMaxItems ( ) const

HasMaxSize()

IMPORT_C TBool HasMaxSize ( ) const

IsSupported(TOption)

IMPORT_C TBool IsSupported ( TOption aOption ) const

Parameters

TOption aOption

MaxItems()

IMPORT_C TInt MaxItems ( ) const

MaxSize()

IMPORT_C TInt MaxSize ( ) const

MimeFormat(TInt)

IMPORT_C const CSmlMimeFormat & MimeFormat ( TInt aIndex ) const

Parameters

TInt aIndex

MimeFormatCount()

IMPORT_C TInt MimeFormatCount ( ) const

MimeFormatRxPref()

IMPORT_C TInt MimeFormatRxPref ( ) const

MimeFormatTxPref()

IMPORT_C TInt MimeFormatTxPref ( ) const

NewLC()

IMPORT_C CSmlDataStoreFormat * NewLC ( ) [static]

NewLC(const RStringPool &, TResourceReader &)

IMPORT_C CSmlDataStoreFormat * NewLC ( const RStringPool & aStringPool,
TResourceReader & aReader
) [static]

Parameters

const RStringPool & aStringPool
TResourceReader & aReader

NewLC(const RStringPool &, RReadStream &)

IMPORT_C CSmlDataStoreFormat * NewLC ( const RStringPool & aStringPool,
RReadStream & aStream
) [static]

Parameters

const RStringPool & aStringPool
RReadStream & aStream

SetDisplayNameL(TDesC &)

IMPORT_C void SetDisplayNameL ( TDesC & aDisplayName )

Parameters

TDesC & aDisplayName

SetFilterCapabilitiesL(RPointerArray< CSmlFilterCapability > &)

IMPORT_C void SetFilterCapabilitiesL ( RPointerArray < CSmlFilterCapability > & aFilterCapabilities )

Parameters

RPointerArray < CSmlFilterCapability > & aFilterCapabilities

SetFolderPropertiesL(RPointerArray< CSmlDataProperty > &)

IMPORT_C void SetFolderPropertiesL ( RPointerArray < CSmlDataProperty > & aFolderProperties )

Parameters

RPointerArray < CSmlDataProperty > & aFolderProperties

SetMaxItems(TUint16)

IMPORT_C void SetMaxItems ( TUint16 aMaxItems )

Parameters

TUint16 aMaxItems

SetMaxSize(TUint16)

IMPORT_C void SetMaxSize ( TUint16 aMaxSize )

Parameters

TUint16 aMaxSize

SetMimeFormatRxPref(TInt)

IMPORT_C void SetMimeFormatRxPref ( TInt aRxPref )

Parameters

TInt aRxPref

SetMimeFormatTxPref(TInt)

IMPORT_C void SetMimeFormatTxPref ( TInt aTxPref )

Parameters

TInt aTxPref

SetMimeFormatsL(RPointerArray< CSmlMimeFormat > &)

IMPORT_C void SetMimeFormatsL ( RPointerArray < CSmlMimeFormat > & aMimeFormats )

Parameters

RPointerArray < CSmlMimeFormat > & aMimeFormats

SetSupportedOptions(TUint32)

IMPORT_C void SetSupportedOptions ( TUint32 aFlags )

Parameters

TUint32 aFlags

SetSyncTypeMask(TSmlSyncTypeMask)

IMPORT_C void SetSyncTypeMask ( TSmlSyncTypeMask aSyncTypeMask )

Parameters

TSmlSyncTypeMask aSyncTypeMask

SyncTypes()

IMPORT_C TSmlSyncTypeMask SyncTypes ( ) const

Member Enumerations Documentation

Enum TOption

Enumerators

EOptionHasMaxSize
EOptionHasMaxItems
EOptionHierarchial

Member Data Documentation

HBufC * iDisplayName

HBufC * iDisplayName [protected]

RPointerArray< CSmlFilterCapability > iFilterCapabilities

RPointerArray < CSmlFilterCapability > iFilterCapabilities [protected]

TUint32 iFlags

TUint32 iFlags [protected]

RPointerArray< CSmlDataProperty > iFolderProperties

RPointerArray < CSmlDataProperty > iFolderProperties [protected]

TUint16 iMaxItems

TUint16 iMaxItems [protected]

TUint16 iMaxSize

TUint16 iMaxSize [protected]

RPointerArray< CSmlMimeFormat > iMimeFormats

RPointerArray < CSmlMimeFormat > iMimeFormats [protected]

TInt iRxPref

TInt iRxPref [protected]

TSmlSyncTypeMask iSyncTypeMask

TSmlSyncTypeMask iSyncTypeMask [protected]

TInt iTxPref

TInt iTxPref [protected]