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 44 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 248 of file mystringreverse.cpp.
CMyStringReverse * CMyStringReverse::NewL | ( | CConsoleBase * | aConsole | ) | [static] |
Creates an object of the CMyStringReverse class.
aConsole | The user console. |
Definition at line 40 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 79 of file mystringreverse.cpp.
void CMyStringReverse::DoCancel | ( | ) |
Cancel any outstanding request.
Definition at line 234 of file mystringreverse.cpp.
void CMyStringReverse::AddToScheduler | ( | ) |
Adds this active object to the active scheduler
Definition at line 50 of file mystringreverse.cpp.
void CMyStringReverse::ReadOption | ( | ) |
Reads the option entered by the user.
Definition at line 170 of file mystringreverse.cpp.
void CMyStringReverse::ReadChar | ( | ) |
Reads the character entered by the user.
Definition at line 182 of file mystringreverse.cpp.
void CMyStringReverse::PrintStrings | ( | ) |
Prints the data in iString and iReverseString.
Definition at line 193 of file mystringreverse.cpp.