CSmlDataField Class Reference

class CSmlDataField : public CBase

Holds data defining a property value or property parameter value. This includes Name, display name, and data type - including any enumerations.

Inherits from

Constructor & Destructor Documentation

~CSmlDataField()

IMPORT_C~CSmlDataField()[virtual]

Member Functions Documentation

DataType()

IMPORT_C RStringDataType()const

DisplayName()

IMPORT_C const TDesC &DisplayName()const

EnumValue(TInt)

IMPORT_C RStringEnumValue(TIntaIndex)const

Parameters

TInt aIndex

EnumValueCount()

IMPORT_C TIntEnumValueCount()const

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

Name()

IMPORT_C RStringName()const

NewLC()

IMPORT_C CSmlDataField *NewLC()[static]

Data field class Holds data defining a property value or property parameter value. This includes Name, display name, and data type - including any enumerations.

NewLC(const RStringPool &, TResourceReader &)

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

Parameters

const RStringPool & aStringPool
TResourceReader & aReader

NewLC(const RStringPool &, RReadStream &)

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

Parameters

const RStringPool & aStringPool
RReadStream & aStream

SetDataTypeL(RString &)

IMPORT_C voidSetDataTypeL(RString &aDataType)

Parameters

RString & aDataType

SetDisplayNameL(TDesC &)

IMPORT_C voidSetDisplayNameL(TDesC &aDisplayName)

Parameters

TDesC & aDisplayName

SetEnumValuesL(RArray< RString > &)

IMPORT_C voidSetEnumValuesL(RArray< RString > &aEnumValues)

Parameters

RArray< RString > & aEnumValues

SetNameL(RString &)

IMPORT_C voidSetNameL(RString &aName)

Parameters

RString & aName

Member Data Documentation

RString iDataType

RString iDataType[protected]

HBufC * iDisplayName

HBufC *iDisplayName[protected]

RArray< RString > iEnumValues

RArray< RString >iEnumValues[protected]

RString iName

RString iName[protected]