CUPnPObjectStack Class Reference

class CUPnPObjectStack : public CBase

A Stack class, which is used to hold UPnP objects in order while parsing xml.

Since
Series 60 3.1 upnpxmlparser.lib

Inherits from

Constructor & Destructor Documentation

CUPnPObjectStack()

CUPnPObjectStack()[private, inline]

Constructor.

~CUPnPObjectStack()

~CUPnPObjectStack()[inline, virtual]

Destructor.

Member Functions Documentation

Count()

TInt Count()[inline]

Returns the current count of the stack.

NewL()

CUPnPObjectStack *NewL()[static, inline]

2-phased constructor.

Pop()

CUpnpObject *Pop()[inline]

Pops top object from the stack.

PushL(CUpnpObject *)

voidPushL(CUpnpObject *aObject)[inline]

Pushes object to the stack.

Parameters

CUpnpObject * aObject

Reset()

voidReset()[inline]

Clears the stack.

ResetAndDestroy()

voidResetAndDestroy()[inline]

Clears the stack and deletes all the objects in it.

Top()

CUpnpObject *Top()[inline]

Retuns the pointer of the top object.

Member Data Documentation

RPointerArray< CUpnpObject > * iStack

RPointerArray< CUpnpObject > *iStack[private]

An array, which contains the objects in the stack. Own.