CPbkFieldData Class Reference
| class CPbkFieldData : public CBase |
Constructor & Destructor Documentation
CPbkFieldData()
| CPbkFieldData | ( | ) | [private, inline] |
Member Functions Documentation
ConstructL(TPbkFieldId, const TDesC &)
ConstructL(TPbkFieldId, const TTime &)
ConstructL(RReadStream &)
ExternalizeL(RWriteStream &)
Externalizes this object to aStream.
FieldId()
Returns the field id of this field data.
InternalizeL(RReadStream &)
Internalizes this object from aStream.
NewL(TPbkFieldId, const TDesC &)
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 &)
Creates a new time field data.
Parameters
| TPbkFieldId aFieldId | field id to create |
| const TTime & aTime | time to insert to field |
NewL(RReadStream &)
Creates a new field data object from aStream.
PbkFieldText()
| IMPORT_C TPtrC | PbkFieldText | ( | ) | const |
PbkFieldTime()
| IMPORT_C TTime | PbkFieldTime | ( | ) | 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()
Returns the type of this field data.
Member Enumerations Documentation
Enum TType
Enumerators
| ETypeText = KStorageTypeText | |
| ETypeTime = KStorageTypeDateTime | |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.