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 &)

void ConstructL ( TPbkFieldId aFieldId,
const TDesC & aText
) [private]

Parameters

TPbkFieldId aFieldId
const TDesC & aText

ConstructL(TPbkFieldId, const TTime &)

void ConstructL ( TPbkFieldId aFieldId,
const TTime & aTime
) [private]

Parameters

TPbkFieldId aFieldId
const TTime & aTime

ConstructL(RReadStream &)

void ConstructL ( RReadStream & aStream ) [private]

Parameters

RReadStream & aStream

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( 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 void InternalizeL ( RReadStream & aStream )

Internalizes this object from aStream.

Parameters

RReadStream & aStream

NewL(TPbkFieldId, const TDesC &)

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

Creates a new text field data.

Parameters

TPbkFieldId aFieldId field id to create
const TDesC & aText text to insert to field

NewL(TPbkFieldId, const TTime &)

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

Creates a new time field data.

Parameters

TPbkFieldId aFieldId field id to create
const TTime & aTime time 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 TPbkFieldId PbkFieldId ( ) const

PbkFieldText()

IMPORT_C TPtrC PbkFieldText ( ) const

PbkFieldTime()

IMPORT_C TTime PbkFieldTime ( ) const

PbkFieldType()

IMPORT_C TStorageType PbkFieldType ( ) 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]