CUpnpLocalStorage Class Reference

class CUpnpLocalStorage : public CBase

Local interface

avcontentdirectory.lib
Since
Series 60 3.0

Inherits from

Public Member Functions
~CUpnpLocalStorage()
voidGetContainerListL(TInt, CUpnpBrowseCriteria *, TInt *, CUpnpContainerList *)
voidGetItemListL(TInt, CUpnpBrowseCriteria *, TInt *, CUpnpItemList *)
CUpnpItem *GetSharedItemL(TInt)
CUpnpContainer *GetSingleContainerL(TInt)
CUpnpLocalStorage *NewL(CUpnpMetadataStorage *)
CUpnpLocalStorage *NewLC(CUpnpMetadataStorage *)
voidSetStateHandler(CUpnpStateHandler *)
voidShareItemListL(CUpnpItemList *, TInt *)
voidShareObjectL(CUpnpObject *)
voidShareReferenceL(CUpnpItem *)
voidShareReferenceListL(CUpnpItemList *, TInt *)
voidUnshareContainerL(TInt)
voidUnshareItemL(TInt)
voidUnshareItemListL(RArray< TInt > &, TInt *)
Private Member Functions
CUpnpLocalStorage(CUpnpMetadataStorage *)
voidAddAttributesL(TInt, CUpnpElement *)
voidAddElementsL(TInt, CUpnpObject *)
voidConstructL()
CUpnpAttributeBean *CreateAttributeBeanLC(CUpnpAttribute &)
CUpnpElementBean *CreateElementBeanLC(CUpnpElement &)
CUpnpObjectBean *CreateObjectBeanLC(CUpnpObject *)
voidDoShareObjectL(TInt, CUpnpObject *)
voidDoShareReferenceL(TInt, CUpnpItem *)
voidGetObjectL(TInt, CUpnpObject *, TBool)
voidHandleResourcesL(CUpnpObject *)
TInt ReferedObjectIdL(TInt)
HBufC8 *ValAsUriL(const TDesC8 &)
voidValidateContainerL(TInt)
voidValidateItemL(TInt)
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()
Private Attributes
CUpnpMetadataStorage *iMetadataStorage
CUpnpStateHandler *iStateHandler

Constructor & Destructor Documentation

CUpnpLocalStorage(CUpnpMetadataStorage *)

CUpnpLocalStorage(CUpnpMetadataStorage *aMetadataStorage)[private]

C++ default constructor.

Parameters

CUpnpMetadataStorage * aMetadataStorage

~CUpnpLocalStorage()

~CUpnpLocalStorage()[virtual]

Destructor.

Member Functions Documentation

AddAttributesL(TInt, CUpnpElement *)

voidAddAttributesL(TIntaElmId,
CUpnpElement *aElm
)[private]

Parameters

TInt aElmId
CUpnpElement * aElm

AddElementsL(TInt, CUpnpObject *)

voidAddElementsL(TIntaObjectID,
CUpnpObject *aObj
)[private]

Parameters

TInt aObjectID
CUpnpObject * aObj

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CreateAttributeBeanLC(CUpnpAttribute &)

CUpnpAttributeBean *CreateAttributeBeanLC(CUpnpAttribute &aAttr)[private]

Parameters

CUpnpAttribute & aAttr

CreateElementBeanLC(CUpnpElement &)

CUpnpElementBean *CreateElementBeanLC(CUpnpElement &aItem)[private]

Parameters

CUpnpElement & aItem

CreateObjectBeanLC(CUpnpObject *)

CUpnpObjectBean *CreateObjectBeanLC(CUpnpObject *aItem)[private]

Parameters

CUpnpObject * aItem

DoShareObjectL(TInt, CUpnpObject *)

voidDoShareObjectL(TIntaContainer,
CUpnpObject *aItem
)[private]

Parameters

TInt aContainer
CUpnpObject * aItem

DoShareReferenceL(TInt, CUpnpItem *)

voidDoShareReferenceL(TIntaContainerId,
CUpnpItem *aRefItem
)[private]

Parameters

TInt aContainerId
CUpnpItem * aRefItem

GetContainerListL(TInt, CUpnpBrowseCriteria *, TInt *, CUpnpContainerList *)

voidGetContainerListL(TIntaContainerId,
CUpnpBrowseCriteria *aBrowseCriteria,
TInt *aTotalMatches,
CUpnpContainerList *aList
)

Parameters

TInt aContainerId
CUpnpBrowseCriteria * aBrowseCriteria
TInt * aTotalMatches
CUpnpContainerList * aList

GetItemListL(TInt, CUpnpBrowseCriteria *, TInt *, CUpnpItemList *)

voidGetItemListL(TIntaContainerId,
CUpnpBrowseCriteria *aBrowseCriteria,
TInt *aTotalMatches,
CUpnpItemList *aItemList
)

Parameters

TInt aContainerId
CUpnpBrowseCriteria * aBrowseCriteria
TInt * aTotalMatches
CUpnpItemList * aItemList

GetObjectL(TInt, CUpnpObject *, TBool)

voidGetObjectL(TIntaObjId,
CUpnpObject *aObj,
TBoolaAll = ETrue
)[private]

Parameters

TInt aObjId
CUpnpObject * aObj
TBool aAll = ETrue

GetSharedItemL(TInt)

CUpnpItem *GetSharedItemL(TIntaItemId)

Parameters

TInt aItemId

GetSingleContainerL(TInt)

CUpnpContainer *GetSingleContainerL(TIntaContainerId)

Parameters

TInt aContainerId

HandleResourcesL(CUpnpObject *)

voidHandleResourcesL(CUpnpObject *aItem)[private]

Parameters

CUpnpObject * aItem

NewL(CUpnpMetadataStorage *)

CUpnpLocalStorage *NewL(CUpnpMetadataStorage *aMetadataStorage)[static]

Two-phased constructor.

Parameters

CUpnpMetadataStorage * aMetadataStorage

NewLC(CUpnpMetadataStorage *)

CUpnpLocalStorage *NewLC(CUpnpMetadataStorage *aMetadataStorage)[static]

Parameters

CUpnpMetadataStorage * aMetadataStorage

ReferedObjectIdL(TInt)

TInt ReferedObjectIdL(TIntaObjectId)[private]

Parameters

TInt aObjectId

SetStateHandler(CUpnpStateHandler *)

voidSetStateHandler(CUpnpStateHandler *aStateHandler)

Parameters

CUpnpStateHandler * aStateHandler

ShareItemListL(CUpnpItemList *, TInt *)

voidShareItemListL(CUpnpItemList *aItemList,
TInt *aExecutionStatus
)

Parameters

CUpnpItemList * aItemList
TInt * aExecutionStatus

ShareObjectL(CUpnpObject *)

voidShareObjectL(CUpnpObject *aItem)

Parameters

CUpnpObject * aItem

ShareReferenceL(CUpnpItem *)

voidShareReferenceL(CUpnpItem *aItem)

Parameters

CUpnpItem * aItem

ShareReferenceListL(CUpnpItemList *, TInt *)

voidShareReferenceListL(CUpnpItemList *aItemList,
TInt *aExecutionStatus
)

Parameters

CUpnpItemList * aItemList
TInt * aExecutionStatus

UnshareContainerL(TInt)

voidUnshareContainerL(TIntaItemId)

Parameters

TInt aItemId

UnshareItemL(TInt)

voidUnshareItemL(TIntaItemId)

Parameters

TInt aItemId

UnshareItemListL(RArray< TInt > &, TInt *)

voidUnshareItemListL(RArray< TInt > &aItemList,
TInt *aExecutionStatus
)

Parameters

RArray< TInt > & aItemList
TInt * aExecutionStatus

ValAsUriL(const TDesC8 &)

HBufC8 *ValAsUriL(const TDesC8 &aElmValue)const [private]

Parameters

const TDesC8 & aElmValue

ValidateContainerL(TInt)

voidValidateContainerL(TIntaContainerId)[private]

Parameters

TInt aContainerId

ValidateItemL(TInt)

voidValidateItemL(TIntaItemId)[private]

Parameters

TInt aItemId

Member Data Documentation

CUpnpMetadataStorage * iMetadataStorage

CUpnpMetadataStorage *iMetadataStorage[private]

CUpnpStateHandler * iStateHandler

CUpnpStateHandler *iStateHandler[private]