CPbkFieldData Class Reference

class CPbkFieldData : public CBase

Inherits from

Constructor & Destructor Documentation

CPbkFieldData()

CPbkFieldData()[private, inline]

~CPbkFieldData()

~CPbkFieldData()

Destructor.

Member Functions Documentation

ConstructL(TPbkFieldId, const TDesC &)

voidConstructL(TPbkFieldIdaFieldId,
const TDesC &aText
)[private]

Parameters

TPbkFieldId aFieldId
const TDesC & aText

ConstructL(TPbkFieldId, const TTime &)

voidConstructL(TPbkFieldIdaFieldId,
const TTime &aTime
)[private]

Parameters

TPbkFieldId aFieldId
const TTime & aTime

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[private]

Parameters

RReadStream & aStream

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalizes this object to aStream.

Parameters

RWriteStream & aStream

FieldId()

TPbkFieldId FieldId()const [inline]

Returns the field id of this field data.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalizes this object from aStream.

Parameters

RReadStream & aStream

NewL(TPbkFieldId, const TDesC &)

IMPORT_C CPbkFieldData *NewL(TPbkFieldIdaFieldId,
const TDesC &aText
)[static]

Creates a new text field data.

Parameters

TPbkFieldId aFieldIdfield id to create
const TDesC & aTexttext to insert to field

NewL(TPbkFieldId, const TTime &)

IMPORT_C CPbkFieldData *NewL(TPbkFieldIdaFieldId,
const TTime &aTime
)[static]

Creates a new time field data.

Parameters

TPbkFieldId aFieldIdfield id to create
const TTime & aTimetime to insert to field

NewL(RReadStream &)

IMPORT_C CPbkFieldData *NewL(RReadStream &aStream)[static]

Creates a new field data object from aStream.

Parameters

RReadStream & aStream

PbkFieldId()

IMPORT_C TPbkFieldIdPbkFieldId()const

PbkFieldText()

IMPORT_C TPtrCPbkFieldText()const

PbkFieldTime()

IMPORT_C TTimePbkFieldTime()const

PbkFieldType()

IMPORT_C TStorageTypePbkFieldType()const

Text()

IMPORT_C const TDesC &Text()const
Returns the text value of this field data.
Exceptions
EPanicInvalidType

if Type() != KStrorageTypeText.

Time()

IMPORT_C const TTime &Time()const
Returns the Time value of this field data.
Exceptions
EPanicInvalidType

if Type() != KStoragetTypeDateTime.

Type()

TStorageType Type()const [inline]

Returns the type of this field data.

Member Enumerations Documentation

Enum TType

Enumerators

ETypeText = KStorageTypeText
ETypeTime = KStorageTypeDateTime

Member Data Documentation

TPbkFieldId iFieldId

TPbkFieldId iFieldId[private]

HBufC * iText

HBufC *iText[private]

TTime iTime

TTime iTime[private]

TType iType

TType iType[private]