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 RString DataType ( ) const

DisplayName()

IMPORT_C const TDesC & DisplayName ( ) const

EnumValue(TInt)

IMPORT_C RString EnumValue ( TInt aIndex ) const

Parameters

TInt aIndex

EnumValueCount()

IMPORT_C TInt EnumValueCount ( ) const

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

Name()

IMPORT_C RString Name ( ) 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 void SetDataTypeL ( RString & aDataType )

Parameters

RString & aDataType

SetDisplayNameL(TDesC &)

IMPORT_C void SetDisplayNameL ( TDesC & aDisplayName )

Parameters

TDesC & aDisplayName

SetEnumValuesL(RArray< RString > &)

IMPORT_C void SetEnumValuesL ( RArray < RString > & aEnumValues )

Parameters

RArray < RString > & aEnumValues

SetNameL(RString &)

IMPORT_C void SetNameL ( 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]