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 void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

Field()

IMPORT_C const CSmlDataField & Field ( ) const

HasMaxOccur()

IMPORT_C TBool HasMaxOccur ( ) const

HasMaxSize()

IMPORT_C TBool HasMaxSize ( ) const

IsSupported(TOption)

IMPORT_C TBool IsSupported ( TOption aOption ) const

Parameters

TOption aOption

MaxOccur()

IMPORT_C TInt MaxOccur ( ) const

MaxSize()

IMPORT_C TInt MaxSize ( ) 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 ( TInt aIndex ) const

Parameters

TInt aIndex

ParamCount()

IMPORT_C TInt ParamCount ( ) const

SetDataFieldL(CSmlDataField &)

IMPORT_C void SetDataFieldL ( CSmlDataField & aDataField )

Parameters

CSmlDataField & aDataField

SetMaxOccur(TUint16)

IMPORT_C void SetMaxOccur ( TUint16 aMaxOccur )

Parameters

TUint16 aMaxOccur

SetMaxSize(TUint16)

IMPORT_C void SetMaxSize ( TUint16 aMaxSize )

Parameters

TUint16 aMaxSize

SetPropertyParamsL(RPointerArray< CSmlDataPropertyParam > &)

IMPORT_C void SetPropertyParamsL ( RPointerArray < CSmlDataPropertyParam > & aParams )

SetSupportedOptions(TUint32)

IMPORT_C void SetSupportedOptions ( TUint32 aFlags )

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]