CUpnpContainer Class Reference

class CUpnpContainer : public CUpnpObject

UPnPContainer interface

upnpavobjects.lib
Since
Series 60 3.0

Inherits from

Public Member Functions
~CUpnpContainer ()
IMPORT_C void AppendObjectL ( CUpnpObject &)
IMPORT_C void ExternalizeL ( RWriteStream &)
IMPORT_C CUpnpObject * FindObject (const TDesC8 &)
IMPORT_C void InternalizeL ( RReadStream &)
IMPORT_C CUpnpContainer * NewL ()
IMPORT_C TInt ObjectCount ()
TUPnPObjectType ObjectType ()
IMPORT_C void RemoveObjectL (const TDesC8 &)
IMPORT_C CUpnpObject * operator[] ( TInt )
Private Member Functions
CUpnpContainer ()
void ConstructL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CUpnpObject::AddElementL(CUpnpElement *)
CUpnpObject::AddResourceL(const TDesC16 &,const TDesC8 &)
CUpnpObject::BaseExternalizeL(RWriteStream &)const
CUpnpObject::BaseInternalizeL(RReadStream &)
CUpnpObject::CUpnpObject()
CUpnpObject::CopyL(const CUpnpObject &)
CUpnpObject::GetElements()
CUpnpObject::Id()const
CUpnpObject::ObjectClass()const
CUpnpObject::ParentId()const
CUpnpObject::RemoveElementL(const CUpnpElement *)
CUpnpObject::Restricted()const
CUpnpObject::SafeExternalizeL(RWriteStream &,const TDesC8 &,const TInt)const
CUpnpObject::SetIdL(const TDesC8 &)
CUpnpObject::SetObjectClassL(const TDesC8 &)
CUpnpObject::SetParentIdL(const TDesC8 &)
CUpnpObject::SetRestricted(TBool)
CUpnpObject::SetTitleL(const TDesC8 &)
CUpnpObject::SetWriteStatus(TBool)
CUpnpObject::Title()const
CUpnpObject::ToDes8L()const
CUpnpObject::WriteStatus()const
CUpnpObject::operator=(const CUpnpObject &)
CUpnpObject::~CUpnpObject()
Private Attributes
CUpnpObjectList * iObjects
Inherited Attributes
CUpnpObject::iElements
CUpnpObject::iId
CUpnpObject::iObjectClass
CUpnpObject::iParentId
CUpnpObject::iRestricted
CUpnpObject::iTitle
CUpnpObject::iWriteStatus

Constructor & Destructor Documentation

CUpnpContainer()

CUpnpContainer ( ) [private]

C++ default constructor.

~CUpnpContainer()

~CUpnpContainer ( ) [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 ( ) [private]

By default Symbian 2nd phase constructor is private.

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const [virtual]
Externalizes container 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

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStream

NewL()

IMPORT_C CUpnpContainer * NewL ( ) [static]

Two-phased constructor.

ObjectCount()

IMPORT_C TInt ObjectCount ( )
Returns childcount of the container (including sub-containers)
Since
Series 60 3.0

ObjectType()

TUPnPObjectType ObjectType ( ) const [virtual]
Returns type of the object (= container)
Since
Series 60 3.0

RemoveObjectL(const TDesC8 &)

IMPORT_C void RemoveObjectL ( const TDesC8 & aObjectId )
Removes object from the hierarchy if found.
Since
Series 60 3.0

Parameters

const TDesC8 & aObjectId

operator[](TInt)

IMPORT_C CUpnpObject * operator[] ( TInt aIndex )

Parameters

TInt aIndex

Member Data Documentation

CUpnpObjectList * iObjects

CUpnpObjectList * iObjects [private]