diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_long_number.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_long_number.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_long_number.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,271 +1,260 @@ - -
-Public Member Functions | |
void | RunL () |
void | DoCancel () |
void | AddToScheduler () |
void | ReadNumber () |
Public Member Functions | |
void | RunL () |
void | DoCancel () |
void | AddToScheduler () |
void | ReadNumber () |
~CLongNumber () | |
void | PrintNumber () |
void | InitializeIter () |
TBool | GetNumber (TInt &aValue) |
TBool | Slide () |
Static Public Member Functions | |
static CLongNumber * | NewL (CConsoleBase *aConsole) |
This class has an object of the TSglQue class, which represents the digits of an integer number list. It is derived from the CActive class to handle asynchronous user inputs. It has methods to:
+Definition at line 34 of file longnumber.h.
-Definition at line 34 of file longnumber.h.
+CLongNumber::~CLongNumber | +CLongNumber::~CLongNumber | ( | -+ | ) | -+ |
Destructor. The TDigit objects were allocated memory at runtime. Iterate over the list to delete them.
--Destructor. The TDigit objects were allocated memory at runtime. Iterate over the list to delete them. -
Definition at line 277 of file longnumber.cpp.
+Definition at line 277 of file longnumber.cpp.
-
CLongNumber * CLongNumber::NewL | +CLongNumber * CLongNumber::NewL | ( | CConsoleBase * | -aConsole | +aConsole | ) | - [static] |
+ [static] |
-Creates an object of the CLongNumber class.
Creates an object of the CLongNumber class.
+aConsole | The user console. |
Definition at line 30 of file longnumber.cpp.
+Definition at line 30 of file longnumber.cpp.
void CLongNumber::RunL | +void CLongNumber::RunL | ( | -+ | ) | -+ |
Handles the key-press events for this active object.
--Handles the key-press events for this active object. -
Definition at line 64 of file longnumber.cpp.
+Definition at line 64 of file longnumber.cpp.
void CLongNumber::DoCancel | +void CLongNumber::DoCancel | ( | -+ | ) | -+ |
Cancel any outstanding request.
--Cancel any outstanding request. -
Definition at line 263 of file longnumber.cpp.
+Definition at line 263 of file longnumber.cpp.
void CLongNumber::AddToScheduler | +void CLongNumber::AddToScheduler | ( | -+ | ) | -+ |
Adds this active object to the active scheduler
--Adds this active object to the active scheduler -
Definition at line 56 of file longnumber.cpp.
+Definition at line 56 of file longnumber.cpp.
void CLongNumber::ReadNumber | +void CLongNumber::ReadNumber | ( | -+ | ) | -+ |
Reads a number from the console.
--Reads a number from the console. -
Definition at line 183 of file longnumber.cpp.
+Definition at line 183 of file longnumber.cpp.
void CLongNumber::PrintNumber | +void CLongNumber::PrintNumber | ( | -+ | ) | -+ |
Prints the number.
--Prints the number. -
Definition at line 193 of file longnumber.cpp.
+Definition at line 193 of file longnumber.cpp.
void CLongNumber::InitializeIter | +void CLongNumber::InitializeIter | ( | -+ | ) | -+ |
Sets the iterator to the first element of the list.
--Sets the iterator to the first element of the list. -
Definition at line 221 of file longnumber.cpp.
+Definition at line 221 of file longnumber.cpp.
TBool CLongNumber::GetNumber | +TBool CLongNumber::GetNumber | ( | TInt & | -aValue | +aValue | ) | -+ |
-Gets the integer number of the TDigit node, which is pointed to by the iterator.
Gets the integer number of the TDigit node, which is pointed to by the iterator.
+aValue | The reference to an integer. On return, this stores the value of the digit. |
Definition at line 232 of file longnumber.cpp.
+Definition at line 232 of file longnumber.cpp.
TBool CLongNumber::Slide | +TBool CLongNumber::Slide | ( | -+ | ) | -+ |
Moves the iterator to the next node of the list.
+-Moves the iterator to the next node of the list.
Definition at line 248 of file longnumber.cpp.
+Definition at line 248 of file longnumber.cpp.
-