CPhoneGsmHandlerContainer Class Reference

class CPhoneGsmHandlerContainer : public CPhoneGsmHandlerBase

It is container for handlers. It can also be used as a handler.

Since
1.0 phoneparser.lib

Inherits from

Constructor & Destructor Documentation

CPhoneGsmHandlerContainer()

CPhoneGsmHandlerContainer ( ) [private]

C++ default constructor.

CPhoneGsmHandlerContainer(const CPhoneGsmHandlerContainer &)

CPhoneGsmHandlerContainer ( const CPhoneGsmHandlerContainer & ) [private]

Parameters

const CPhoneGsmHandlerContainer &

~CPhoneGsmHandlerContainer()

IMPORT_C ~CPhoneGsmHandlerContainer ( )

Destructor.

Member Functions Documentation

AddHandlerL(CPhoneGsmHandlerBase &)

IMPORT_C void AddHandlerL ( CPhoneGsmHandlerBase & aHandler )

Add a new handler to the container.

Note that ownership is transferred. The method panics if you try to add same instance twice.

Parameters

CPhoneGsmHandlerBase & aHandler

ConstructL()

void ConstructL ( ) [private]

Symbian OS constructor.

NewL()

IMPORT_C CPhoneGsmHandlerContainer * NewL ( ) [static]

Two-phased constructor.

ProcessL(CPhoneGsmParserResult &)

void ProcessL ( CPhoneGsmParserResult & aResult ) [virtual]

From CPhoneGsmHandlerBase , process the results of parsing.

Note that it will forward the request to each of the contained handler.

Parameters

CPhoneGsmParserResult & aResult It is results to be processed.

operator=(const CPhoneGsmHandlerContainer &)

CPhoneGsmHandlerContainer & operator= ( const CPhoneGsmHandlerContainer & ) [private]

Parameters

const CPhoneGsmHandlerContainer &

Member Type Definitions Documentation

Typedef CHandlerArray

typedef CArrayPtrFlat < CPhoneGsmHandlerBase > CHandlerArray [private]

Member Data Documentation

CHandlerArray * iHandlers

CHandlerArray * iHandlers [private]