Public Member Functions | |
void | RunL () |
void | DoCancel () |
void | AddToScheduler () |
~CMyStringReverse () | |
void | ReadOption () |
void | ReadChar () |
void | PrintStrings () |
Static Public Member Functions | |
static CMyStringReverse * | NewL (CConsoleBase *aConsole) |
This class has the doubly linked list, iString. This string represents the user-entered string. The member functions of this class allow users to edit the string and get a reverse string of this string.
Definition at line 33 of file mystringreverse.h.
CMyStringReverse::~CMyStringReverse | ( | ) |
Destructor. The TLetter objects were allocated memory at runtime. Iterate over the list to delete them.
Definition at line 236 of file mystringreverse.cpp.
CMyStringReverse * CMyStringReverse::NewL | ( | CConsoleBase * | aConsole | ) | [static] |
Creates an object of the CMyStringReverse class.
aConsole | The user console. |
Definition at line 28 of file mystringreverse.cpp.
void CMyStringReverse::RunL | ( | ) |
Handles the key press events for this active object. The following actions are defined for a key press event:
Definition at line 67 of file mystringreverse.cpp.
void CMyStringReverse::DoCancel | ( | ) |
Cancel any outstanding request.
Definition at line 222 of file mystringreverse.cpp.
void CMyStringReverse::AddToScheduler | ( | ) |
Adds this active object to the active scheduler
Definition at line 38 of file mystringreverse.cpp.
void CMyStringReverse::ReadOption | ( | ) |
Reads the option entered by the user.
Definition at line 158 of file mystringreverse.cpp.
void CMyStringReverse::ReadChar | ( | ) |
Reads the character entered by the user.
Definition at line 170 of file mystringreverse.cpp.
void CMyStringReverse::PrintStrings | ( | ) |
Prints the data in iString and iReverseString.
Definition at line 181 of file mystringreverse.cpp.
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.