CUpnpObjectList Class Reference

class CUpnpObjectList : public CBase

UPnPItemList class

upnpavobjects.lib
Since
Series 60 3.0

Inherits from

Constructor & Destructor Documentation

CUpnpObjectList()

CUpnpObjectList ( ) [protected]

C++ default constructor.

~CUpnpObjectList()

~CUpnpObjectList ( ) [virtual]

Destructor.

Member Functions Documentation

AppendObjectL(CUpnpObject &)

IMPORT_C void AppendObjectL ( CUpnpObject & aNewObject )
Appends new object to hierarchy
Since
Series 60 3.0

Parameters

CUpnpObject & aNewObject

ConstructL()

void ConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const
Externalizes itemlist information to stream. Leaves in case of errors.
Since
Series 60 3.0

Parameters

RWriteStream & aStream

FindObject(const TDesC8 &)

IMPORT_C CUpnpObject * FindObject ( const TDesC8 & aObjectId )
Searches object from the object hierarchy
Since
Series 60 3.0

Parameters

const TDesC8 & aObjectId

FindObjectIndex(const TDesC8 &)

TInt FindObjectIndex ( const TDesC8 & aObjId ) const [private]

Parameters

const TDesC8 & aObjId

IdsToDes8L()

IMPORT_C HBufC8 * IdsToDes8L ( ) const
Serialize ids of contained objects to a heap based descriptor.
Since
Series 60 3.0

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )
Internalizes itemlist information from stream. Leaves in case of errors.
Since
Series 60 3.0

Parameters

RReadStream & aStream

NewL()

IMPORT_C CUpnpObjectList * NewL ( ) [static]

Two-phased constructor.

NewLC()

IMPORT_C CUpnpObjectList * NewLC ( ) [static]

ObjectCount()

IMPORT_C TInt ObjectCount ( ) const
Returns childcount of the itemlist
Since
Series 60 3.0

Remove(const TDesC8 &)

IMPORT_C CUpnpObject * Remove ( const TDesC8 & aId )
Detaches object from the hierarchy.
Since
Series 60 3.0

Parameters

const TDesC8 & aId id of the object to be removed and destroyed

RemoveAndDestroy(const TDesC8 &)

IMPORT_C void RemoveAndDestroy ( const TDesC8 & aId )
Removes object from the hierarchy.
Since
Series 60 3.0

Parameters

const TDesC8 & aId id of the object to be removed and destroyed

ToDes8L()

IMPORT_C HBufC8 * ToDes8L ( ) const
Serialize the whole list to a heap based descriptor.
Since
Series 60 3.0

operator[](TInt)

IMPORT_C CUpnpObject * operator[] ( TInt aIndex ) const

Parameters

TInt aIndex

Member Data Documentation

RPointerArray< CUpnpObject > iObjects

RPointerArray < CUpnpObject > iObjects [private]