| class CDiagResultsDatabaseItem : public CBase |
Results database item.
| Public Member Functions | |
|---|---|
| ~CDiagResultsDatabaseItem () | |
| IMPORT_C const CBufFlat * | DetailsData () |
| IMPORT_C void | ExternalizeL ( RWriteStream &) |
| IMPORT_C CDiagResultsDatabaseItem * | NewL ( RReadStream &) |
| IMPORT_C CDiagResultsDatabaseItem * | NewL ( TUid , TBool , TResult , TTime , TTime , CBufFlat *) |
| IMPORT_C CDiagResultsDatabaseItem * | NewL (const CDiagResultsDatabaseItem &) |
| IMPORT_C CDiagResultsDatabaseItem * | NewLC ( TUid , TBool , TResult , TTime , TTime , CBufFlat *) |
| IMPORT_C TInt | Size () |
| IMPORT_C TResult | TestResult () |
| IMPORT_C TUid | TestUid () |
| IMPORT_C TTime | TimeCompleted () |
| IMPORT_C TTime | TimeStarted () |
| IMPORT_C TBool | WasDependency () |
| Private Member Functions | |
|---|---|
| CDiagResultsDatabaseItem ( TUid , TBool , TResult , TTime , TTime , CBufFlat *) | |
| CDiagResultsDatabaseItem () | |
| void | ConstructL ( RReadStream &) |
| IMPORT_C void | InternalizeL ( RReadStream &) |
| void | ReadTimeFromStreamL ( RReadStream &, TTime &) |
| void | WriteTimeToStreamL ( RWriteStream &, const TTime &) |
| Public Member Enumerations | |
|---|---|
| enum |
TResult
{
ESuccess = 0, EFailed , ESkipped , ECancelled , EInterrupted , ENotPerformed , EDependencyFailed , EWatchdogCancel , ESuspended , EQueuedToRun , EDependencySkipped } |
| Private Attributes | |
|---|---|
| TBool | iDependencyExecution |
| CBufFlat * | iDetailsData |
| TTime | iEndTime |
| TResult | iResult |
| TTime | iStartTime |
| TUid | iTestUid |
| CDiagResultsDatabaseItem | ( | TUid | aTestUid, |
| TBool | aDependencyExecution, | ||
| TResult | aResult, | ||
| TTime | aStartTime, | ||
| TTime | aEndTime, | ||
| CBufFlat * | aDetailsData | ||
| ) | [private] | ||
C++ Constructors.
| void | ConstructL | ( | RReadStream & | aStream | ) | [private] |
Construct from a stream.
| RReadStream & aStream | Read stream. |
| IMPORT_C const CBufFlat * | DetailsData | ( | ) | const |
Details data. This must be interpreted by the plug-ins before it can be used. Data is in object form.
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalize the test result to a stream.
| RWriteStream & aStream | Stream to write to. |
| IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [private] |
Internalize the test result from a stream.
| RReadStream & aStream | Stream to read from. |
| IMPORT_C CDiagResultsDatabaseItem * | NewL | ( | RReadStream & | aStream | ) | [static] |
NewL. Construct from a stream.
| RReadStream & aStream | Stream to read from. |
| IMPORT_C CDiagResultsDatabaseItem * | NewL | ( | TUid | aTestUid, |
| TBool | aDependencyExecution, | |||
| TResult | aResult, | |||
| TTime | aStartTime, | |||
| TTime | aEndTime, | |||
| CBufFlat * | aDetailsData | |||
| ) | [static] | |||
NewL.
| IMPORT_C CDiagResultsDatabaseItem * | NewL | ( | const CDiagResultsDatabaseItem & | aOriginal | ) | [static] |
NewL. Copy constructor. This will do a deep copy.
| const CDiagResultsDatabaseItem & aOriginal | - Original to copy data from. |
| IMPORT_C CDiagResultsDatabaseItem * | NewLC | ( | TUid | aTestUid, |
| TBool | aDependencyExecution, | |||
| TResult | aResult, | |||
| TTime | aStartTime, | |||
| TTime | aEndTime, | |||
| CBufFlat * | aDetailsData | |||
| ) | [static] | |||
NewLC.
| void | ReadTimeFromStreamL | ( | RReadStream & | aStream, |
| TTime & | aTime | |||
| ) | [private] | |||
Read TTime from read stream.
| RReadStream & aStream | read stream. |
| TTime & aTime | Contains time after stream is read. |
| IMPORT_C TInt | Size | ( | ) | const |
Calculate stream size in bytes. Size can be used to evaluate needed stream size.
| IMPORT_C TTime | TimeCompleted | ( | ) | const |
Time that test execution was completed. Universal time is used.
| IMPORT_C TTime | TimeStarted | ( | ) | const |
Time that test execution was started. Universal time is used.
| IMPORT_C TBool | WasDependency | ( | ) | const |
Whether the test was executed to satisfy dependency or not.
| void | WriteTimeToStreamL | ( | RWriteStream & | aStream, |
| const TTime & | aTime | |||
| ) | const [private] | |||
Write TTime into write stream.
| RWriteStream & aStream | Stream to write to. |
| const TTime & aTime | TTime that is written into the stream. |
Result of test.
| ESuccess = 0 | |
| EFailed | |
| ESkipped | |
| ECancelled | |
| EInterrupted | |
| ENotPerformed | |
| EDependencyFailed | |
| EWatchdogCancel | |
| ESuspended | |
| EQueuedToRun | |
| EDependencySkipped |
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.