CSmlDataStoreFormat Class Reference

#include <SmlDataFormat.h>

Link against: smlstoreformat.lib

class CSmlDataStoreFormat : public CBase

Inherits from

  • CSmlDataStoreFormat
    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
    Public Member Enumerations
    enumTOption { EOptionHasMaxSize, EOptionHasMaxItems, EOptionHierarchial }
    Public Member Functions
    virtual ~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()

    Detailed Description

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

    Member Attribute Documentation

    iDisplayName

    HBufC *iDisplayName[protected]

    iFilterCapabilities

    RPointerArray< CSmlFilterCapability >iFilterCapabilities[protected]

    iFlags

    TUint32 iFlags[protected]

    iFolderProperties

    RPointerArray< CSmlDataProperty >iFolderProperties[protected]

    iMaxItems

    TUint16 iMaxItems[protected]

    iMaxSize

    TUint16 iMaxSize[protected]

    iMimeFormats

    RPointerArray< CSmlMimeFormat >iMimeFormats[protected]

    iRxPref

    TInt iRxPref[protected]

    iSyncTypeMask

    TSmlSyncTypeMask iSyncTypeMask[protected]

    iTxPref

    TInt iTxPref[protected]

    Member Enumeration Documentation

    Enum TOption

    Constructor & Destructor Documentation

    ~CSmlDataStoreFormat ( )

    IMPORT_C~CSmlDataStoreFormat()[virtual]

    Member Function Documentation

    DisplayName ( )

    IMPORT_C const TDesC &DisplayName()const

    ExternalizeL ( RWriteStream & )

    IMPORT_C voidExternalizeL(RWriteStream &aStream)const

    FilterCapability ( TInt )

    IMPORT_C const CSmlFilterCapability &FilterCapability(TIntaIndex)const

    FilterCapabilityCount ( )

    IMPORT_C TIntFilterCapabilityCount()const

    FolderProperty ( TInt )

    IMPORT_C const CSmlDataProperty &FolderProperty(TIntaIndex)const

    FolderPropertyCount ( )

    IMPORT_C TIntFolderPropertyCount()const

    HasMaxItems ( )

    IMPORT_C TBoolHasMaxItems()const

    HasMaxSize ( )

    IMPORT_C TBoolHasMaxSize()const

    IsSupported ( TOption )

    IMPORT_C TBoolIsSupported(TOptionaOption)const

    MaxItems ( )

    IMPORT_C TIntMaxItems()const

    MaxSize ( )

    IMPORT_C TIntMaxSize()const

    MimeFormat ( TInt )

    IMPORT_C const CSmlMimeFormat &MimeFormat(TIntaIndex)const

    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]

    NewLC ( const RStringPool &, RReadStream & )

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

    SetDisplayNameL ( TDesC & )

    IMPORT_C voidSetDisplayNameL(TDesC &aDisplayName)

    SetFilterCapabilitiesL ( RPointerArray< CSmlFilterCapability > & )

    IMPORT_C voidSetFilterCapabilitiesL(RPointerArray< CSmlFilterCapability > &aFilterCapabilities)

    SetFolderPropertiesL ( RPointerArray< CSmlDataProperty > & )

    IMPORT_C voidSetFolderPropertiesL(RPointerArray< CSmlDataProperty > &aFolderProperties)

    SetMaxItems ( TUint16 )

    IMPORT_C voidSetMaxItems(TUint16aMaxItems)

    SetMaxSize ( TUint16 )

    IMPORT_C voidSetMaxSize(TUint16aMaxSize)

    SetMimeFormatRxPref ( TInt )

    IMPORT_C voidSetMimeFormatRxPref(TIntaRxPref)

    SetMimeFormatTxPref ( TInt )

    IMPORT_C voidSetMimeFormatTxPref(TIntaTxPref)

    SetMimeFormatsL ( RPointerArray< CSmlMimeFormat > & )

    IMPORT_C voidSetMimeFormatsL(RPointerArray< CSmlMimeFormat > &aMimeFormats)

    SetSupportedOptions ( TUint32 )

    IMPORT_C voidSetSupportedOptions(TUint32aFlags)

    SetSyncTypeMask ( TSmlSyncTypeMask )

    IMPORT_C voidSetSyncTypeMask(TSmlSyncTypeMaskaSyncTypeMask)

    SyncTypes ( )

    IMPORT_C TSmlSyncTypeMaskSyncTypes()const