UserPromptService::CDecisionView Class Reference
class UserPromptService::CDecisionView : public CActive |
Stores a handle to a view object and provides a method to retrieve a record from the view.
Inherits from
- UserPromptService::CDecisionView
Constructor & Destructor Documentation
CDecisionView()
CDecisionView | ( | ) | [protected] |
Constructor for decision view object.
~CDecisionView()
Destructor for the decision view object.
Member Functions Documentation
DoCancel()
void | DoCancel | ( | ) | [protected, virtual] |
EvaluateView(TRequestStatus &)
Performs all steps of the view evaluation, returning immediately and signalling when all steps are complete.
Parameters
TRequestStatus & aStatus | The request status used to contain completion information for the function. On completion, the status value should be interpreted as follows: 0, evaluation is complete.< 0, an error code. |
GenerateRecordL(RDbRowSet &, CDbColSet *)
Retrieves all decision record fileds from the given rowset and generates a decision record from these information.
Parameters
RDbRowSet & aRowSet | A database rowset object. |
CDbColSet * aColSet | A database column set object. |
NewLC()
Creates a decision view object. The function leaves, if creation of the view object fails.
NextDecisionL()
Moves the cursor to the next row in the view object and returns the current decision row. If there are no more rows, the cursor is positioned to the end of the view object.
RunError(TInt)
TInt
| RunError | ( | TInt | aError | ) | [protected, virtual] |
RunL()
void | RunL | ( | ) | [protected, virtual] |
From CActive. Handles an evaluation request completion event and evaluate next part if required.
Member Data Documentation
TRequestStatus * iClientStatus
Copy of the status variable of the client which requested the evaluation service
CDbColSet * iColSet
Pointer to the decision database column set definition
RDbView
iDbView
Handle to the view object generated from an SQL query
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.