CSmlDataProperty Class Reference

class CSmlDataProperty : public CBase

Property. A field in the Data Store.

Inherits from

Constructor & Destructor Documentation

~CSmlDataProperty()

IMPORT_C~CSmlDataProperty()[virtual]

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

Field()

IMPORT_C const CSmlDataField &Field()const

HasMaxOccur()

IMPORT_C TBoolHasMaxOccur()const

HasMaxSize()

IMPORT_C TBoolHasMaxSize()const

IsSupported(TOption)

IMPORT_C TBoolIsSupported(TOptionaOption)const

Parameters

TOption aOption

MaxOccur()

IMPORT_C TIntMaxOccur()const

MaxSize()

IMPORT_C TIntMaxSize()const

NewLC()

IMPORT_C CSmlDataProperty *NewLC()[static]

NewLC(const RStringPool &, TResourceReader &)

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

Parameters

const RStringPool & aStringPool
TResourceReader & aReader

NewLC(const RStringPool &, RReadStream &)

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

Parameters

const RStringPool & aStringPool
RReadStream & aStream

Param(TInt)

IMPORT_C const CSmlDataPropertyParam &Param(TIntaIndex)const

Parameters

TInt aIndex

ParamCount()

IMPORT_C TIntParamCount()const

SetDataFieldL(CSmlDataField &)

IMPORT_C voidSetDataFieldL(CSmlDataField &aDataField)

Parameters

CSmlDataField & aDataField

SetMaxOccur(TUint16)

IMPORT_C voidSetMaxOccur(TUint16aMaxOccur)

Parameters

TUint16 aMaxOccur

SetMaxSize(TUint16)

IMPORT_C voidSetMaxSize(TUint16aMaxSize)

Parameters

TUint16 aMaxSize

SetPropertyParamsL(RPointerArray< CSmlDataPropertyParam > &)

IMPORT_C voidSetPropertyParamsL(RPointerArray< CSmlDataPropertyParam > &aParams)

Parameters

RPointerArray< CSmlDataPropertyParam > & aParams

SetSupportedOptions(TUint32)

IMPORT_C voidSetSupportedOptions(TUint32aFlags)

Parameters

TUint32 aFlags

Member Enumerations Documentation

Enum TOption

Enumerators

EOptionHasMaxSize
EOptionHasMaxOccur
EOptionNoTruncate

Member Data Documentation

CSmlDataField * iField

CSmlDataField *iField[protected]

TUint32 iFlags

TUint32 iFlags[protected]

TUint16 iMaxOccur

TUint16 iMaxOccur[protected]

TUint16 iMaxSize

TUint16 iMaxSize[protected]

RPointerArray< CSmlDataPropertyParam > iParams

RPointerArray< CSmlDataPropertyParam >iParams[protected]