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 voidExternalizeL(RWriteStream &)
IMPORT_C const CSmlFilterCapability &FilterCapability(TInt)
IMPORT_C TIntFilterCapabilityCount()
IMPORT_C const CSmlDataProperty &FolderProperty(TInt)
IMPORT_C TIntFolderPropertyCount()
IMPORT_C TBoolHasMaxItems()
IMPORT_C TBoolHasMaxSize()
IMPORT_C TBoolIsSupported(TOption)
IMPORT_C TIntMaxItems()
IMPORT_C TIntMaxSize()
IMPORT_C const CSmlMimeFormat &MimeFormat(TInt)
IMPORT_C TIntMimeFormatCount()
IMPORT_C TIntMimeFormatRxPref()
IMPORT_C TIntMimeFormatTxPref()
IMPORT_C CSmlDataStoreFormat *NewLC()
IMPORT_C CSmlDataStoreFormat *NewLC(const RStringPool &, TResourceReader &)
IMPORT_C CSmlDataStoreFormat *NewLC(const RStringPool &, RReadStream &)
IMPORT_C voidSetDisplayNameL(TDesC &)
IMPORT_C voidSetFilterCapabilitiesL(RPointerArray< CSmlFilterCapability > &)
IMPORT_C voidSetFolderPropertiesL(RPointerArray< CSmlDataProperty > &)
IMPORT_C voidSetMaxItems(TUint16)
IMPORT_C voidSetMaxSize(TUint16)
IMPORT_C voidSetMimeFormatRxPref(TInt)
IMPORT_C voidSetMimeFormatTxPref(TInt)
IMPORT_C voidSetMimeFormatsL(RPointerArray< CSmlMimeFormat > &)
IMPORT_C voidSetSupportedOptions(TUint32)
IMPORT_C voidSetSyncTypeMask(TSmlSyncTypeMask)
IMPORT_C TSmlSyncTypeMaskSyncTypes()
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
enumTOption { 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 voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

FilterCapability(TInt)

IMPORT_C const CSmlFilterCapability &FilterCapability(TIntaIndex)const

Parameters

TInt aIndex

FilterCapabilityCount()

IMPORT_C TIntFilterCapabilityCount()const

FolderProperty(TInt)

IMPORT_C const CSmlDataProperty &FolderProperty(TIntaIndex)const

Parameters

TInt aIndex

FolderPropertyCount()

IMPORT_C TIntFolderPropertyCount()const

HasMaxItems()

IMPORT_C TBoolHasMaxItems()const

HasMaxSize()

IMPORT_C TBoolHasMaxSize()const

IsSupported(TOption)

IMPORT_C TBoolIsSupported(TOptionaOption)const

Parameters

TOption aOption

MaxItems()

IMPORT_C TIntMaxItems()const

MaxSize()

IMPORT_C TIntMaxSize()const

MimeFormat(TInt)

IMPORT_C const CSmlMimeFormat &MimeFormat(TIntaIndex)const

Parameters

TInt aIndex

MimeFormatCount()

IMPORT_C TIntMimeFormatCount()const

MimeFormatRxPref()

IMPORT_C TIntMimeFormatRxPref()const

MimeFormatTxPref()

IMPORT_C TIntMimeFormatTxPref()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 voidSetDisplayNameL(TDesC &aDisplayName)

Parameters

TDesC & aDisplayName

SetFilterCapabilitiesL(RPointerArray< CSmlFilterCapability > &)

IMPORT_C voidSetFilterCapabilitiesL(RPointerArray< CSmlFilterCapability > &aFilterCapabilities)

Parameters

RPointerArray< CSmlFilterCapability > & aFilterCapabilities

SetFolderPropertiesL(RPointerArray< CSmlDataProperty > &)

IMPORT_C voidSetFolderPropertiesL(RPointerArray< CSmlDataProperty > &aFolderProperties)

Parameters

RPointerArray< CSmlDataProperty > & aFolderProperties

SetMaxItems(TUint16)

IMPORT_C voidSetMaxItems(TUint16aMaxItems)

Parameters

TUint16 aMaxItems

SetMaxSize(TUint16)

IMPORT_C voidSetMaxSize(TUint16aMaxSize)

Parameters

TUint16 aMaxSize

SetMimeFormatRxPref(TInt)

IMPORT_C voidSetMimeFormatRxPref(TIntaRxPref)

Parameters

TInt aRxPref

SetMimeFormatTxPref(TInt)

IMPORT_C voidSetMimeFormatTxPref(TIntaTxPref)

Parameters

TInt aTxPref

SetMimeFormatsL(RPointerArray< CSmlMimeFormat > &)

IMPORT_C voidSetMimeFormatsL(RPointerArray< CSmlMimeFormat > &aMimeFormats)

Parameters

RPointerArray< CSmlMimeFormat > & aMimeFormats

SetSupportedOptions(TUint32)

IMPORT_C voidSetSupportedOptions(TUint32aFlags)

Parameters

TUint32 aFlags

SetSyncTypeMask(TSmlSyncTypeMask)

IMPORT_C voidSetSyncTypeMask(TSmlSyncTypeMaskaSyncTypeMask)

Parameters

TSmlSyncTypeMask aSyncTypeMask

SyncTypes()

IMPORT_C TSmlSyncTypeMaskSyncTypes()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]