| class CDiagResultDetailBasicItem : public CBase |
Diagnostics Result Database Detail Item Classe.
This class stores information needed for each entry in CDiagResultDetailBasic .
| Public Member Functions | |
|---|---|
| ~CDiagResultDetailBasicItem () | |
| void | ExternalizeL ( RWriteStream &) |
| TInt | FieldId () |
| const TDesC8 & | FieldName () |
| TInt | GetValue ( TInt &) |
| TInt | GetValue ( TPtrC8 &) |
| TInt | GetValue ( TPtrC16 &) |
| CDiagResultDetailBasicItem * | NewL ( TInt , const TDesC8 &, TInt ) |
| CDiagResultDetailBasicItem * | NewL ( TInt , const TDesC8 &, const TDesC8 &) |
| CDiagResultDetailBasicItem * | NewL ( TInt , const TDesC8 &, const TDesC16 &) |
| CDiagResultDetailBasicItem * | NewL ( RReadStream &) |
| TFieldType | Type () |
| Private Member Functions | |
|---|---|
| CDiagResultDetailBasicItem () | |
| void | InternalizeL ( RReadStream &) |
| Public Member Enumerations | |
|---|---|
| enum | TFieldType { ETypeInt = 0, ETypeDes16 , ETypeDes8 } |
| Private Attributes | |
|---|---|
| TInt | iFieldId |
| HBufC8 * | iFieldName |
| TFieldType | iFieldType |
| TValue | iValue |
| void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
Externalize to a stream.
| RWriteStream & aWriteStream |
| TInt | GetValue | ( | TInt & | aValue | ) | const |
Get value. If invalid aFieldId is passed, or type does not match, function will leave with KErrArgument.
| TInt & aValue | - Output paramater. The data will be stored here. |
| void | InternalizeL | ( | RReadStream & | aReadStream | ) | [private] |
Internalize from stream.
| RReadStream & aReadStream | - stream to read from. |
| CDiagResultDetailBasicItem * | NewL | ( | TInt | aFieldId, |
| const TDesC8 & | aFieldName, | |||
| TInt | aValue | |||
| ) | [static] | |||
Two-phase constructor.
| CDiagResultDetailBasicItem * | NewL | ( | TInt | aFieldId, |
| const TDesC8 & | aFieldName, | |||
| const TDesC8 & | aValue | |||
| ) | [static] | |||
Two-phase constructor.
| CDiagResultDetailBasicItem * | NewL | ( | TInt | aFieldId, |
| const TDesC8 & | aFieldName, | |||
| const TDesC16 & | aValue | |||
| ) | [static] | |||
Two-phase constructor.
| CDiagResultDetailBasicItem * | NewL | ( | RReadStream & | aReadStream | ) | [static] |
Two-phase constructor with RReadStream
| RReadStream & aReadStream | - stream to internalize from |
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.