CLongNumber Class Reference

List of all members.

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 CLongNumberNewL (CConsoleBase *aConsole)

Detailed Description

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 46 of file longnumber.h.


Constructor & Destructor Documentation

CLongNumber::~CLongNumber (  ) 

Destructor. The TDigit objects were allocated memory at runtime. Iterate over the list to delete them.

Definition at line 289 of file longnumber.cpp.


Member Function Documentation

CLongNumber * CLongNumber::NewL ( CConsoleBase *  aConsole  )  [static]

Creates an object of the CLongNumber class.

Parameters:
aConsole The user console.
Returns:
A pointer to the object of the CLongNumber class.

Definition at line 42 of file longnumber.cpp.

void CLongNumber::RunL (  ) 
void CLongNumber::DoCancel (  ) 
void CLongNumber::AddToScheduler (  ) 
void CLongNumber::ReadNumber (  ) 
void CLongNumber::PrintNumber (  ) 
void CLongNumber::InitializeIter (  ) 
TBool CLongNumber::GetNumber ( TInt &  aValue  ) 

Gets the integer number of the TDigit node, which is pointed to by the iterator.

Parameters:
aValue The reference to an integer. On return, this stores the value of the digit.
Returns:
EFalse if the iterator has reached the end of the list, else ETrue.

Definition at line 244 of file longnumber.cpp.

TBool CLongNumber::Slide (  ) 

Generated by  doxygen 1.6.2