CUpnpLocalStorage Class Reference

class CUpnpLocalStorage : public CBase

Local interface

avcontentdirectory.lib
Since
Series 60 3.0

Inherits from

Public Member Functions
~CUpnpLocalStorage ()
void GetContainerListL ( TInt , CUpnpBrowseCriteria *, TInt *, CUpnpContainerList *)
void GetItemListL ( TInt , CUpnpBrowseCriteria *, TInt *, CUpnpItemList *)
CUpnpItem * GetSharedItemL ( TInt )
CUpnpContainer * GetSingleContainerL ( TInt )
CUpnpLocalStorage * NewL (CUpnpMetadataStorage *)
CUpnpLocalStorage * NewLC (CUpnpMetadataStorage *)
void SetStateHandler (CUpnpStateHandler *)
void ShareItemListL ( CUpnpItemList *, TInt *)
void ShareObjectL ( CUpnpObject *)
void ShareReferenceL ( CUpnpItem *)
void ShareReferenceListL ( CUpnpItemList *, TInt *)
void UnshareContainerL ( TInt )
void UnshareItemL ( TInt )
void UnshareItemListL ( RArray < TInt > &, TInt *)
Private Member Functions
CUpnpLocalStorage (CUpnpMetadataStorage *)
void AddAttributesL ( TInt , CUpnpElement *)
void AddElementsL ( TInt , CUpnpObject *)
void ConstructL ()
CUpnpAttributeBean * CreateAttributeBeanLC ( CUpnpAttribute &)
CUpnpElementBean * CreateElementBeanLC ( CUpnpElement &)
CUpnpObjectBean * CreateObjectBeanLC ( CUpnpObject *)
void DoShareObjectL ( TInt , CUpnpObject *)
void DoShareReferenceL ( TInt , CUpnpItem *)
void GetObjectL ( TInt , CUpnpObject *, TBool )
void HandleResourcesL ( CUpnpObject *)
TInt ReferedObjectIdL ( TInt )
HBufC8 * ValAsUriL (const TDesC8 &)
void ValidateContainerL ( TInt )
void ValidateItemL ( 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 *)

void AddAttributesL ( TInt aElmId,
CUpnpElement * aElm
) [private]

Parameters

TInt aElmId
CUpnpElement * aElm

AddElementsL(TInt, CUpnpObject *)

void AddElementsL ( TInt aObjectID,
CUpnpObject * aObj
) [private]

Parameters

TInt aObjectID
CUpnpObject * aObj

ConstructL()

void ConstructL ( ) [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 *)

void DoShareObjectL ( TInt aContainer,
CUpnpObject * aItem
) [private]

Parameters

TInt aContainer
CUpnpObject * aItem

DoShareReferenceL(TInt, CUpnpItem *)

void DoShareReferenceL ( TInt aContainerId,
CUpnpItem * aRefItem
) [private]

Parameters

TInt aContainerId
CUpnpItem * aRefItem

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

void GetContainerListL ( TInt aContainerId,
CUpnpBrowseCriteria * aBrowseCriteria,
TInt * aTotalMatches,
CUpnpContainerList * aList
)

Parameters

TInt aContainerId
CUpnpBrowseCriteria * aBrowseCriteria
TInt * aTotalMatches
CUpnpContainerList * aList

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

void GetItemListL ( TInt aContainerId,
CUpnpBrowseCriteria * aBrowseCriteria,
TInt * aTotalMatches,
CUpnpItemList * aItemList
)

Parameters

TInt aContainerId
CUpnpBrowseCriteria * aBrowseCriteria
TInt * aTotalMatches
CUpnpItemList * aItemList

GetObjectL(TInt, CUpnpObject *, TBool)

void GetObjectL ( TInt aObjId,
CUpnpObject * aObj,
TBool aAll = ETrue
) [private]

Parameters

TInt aObjId
CUpnpObject * aObj
TBool aAll = ETrue

GetSharedItemL(TInt)

CUpnpItem * GetSharedItemL ( TInt aItemId )

Parameters

TInt aItemId

GetSingleContainerL(TInt)

CUpnpContainer * GetSingleContainerL ( TInt aContainerId )

Parameters

TInt aContainerId

HandleResourcesL(CUpnpObject *)

void HandleResourcesL ( 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 ( TInt aObjectId ) [private]

Parameters

TInt aObjectId

SetStateHandler(CUpnpStateHandler *)

void SetStateHandler ( CUpnpStateHandler * aStateHandler )

Parameters

CUpnpStateHandler * aStateHandler

ShareItemListL(CUpnpItemList *, TInt *)

void ShareItemListL ( CUpnpItemList * aItemList,
TInt * aExecutionStatus
)

Parameters

CUpnpItemList * aItemList
TInt * aExecutionStatus

ShareObjectL(CUpnpObject *)

void ShareObjectL ( CUpnpObject * aItem )

Parameters

CUpnpObject * aItem

ShareReferenceL(CUpnpItem *)

void ShareReferenceL ( CUpnpItem * aItem )

Parameters

CUpnpItem * aItem

ShareReferenceListL(CUpnpItemList *, TInt *)

void ShareReferenceListL ( CUpnpItemList * aItemList,
TInt * aExecutionStatus
)

Parameters

CUpnpItemList * aItemList
TInt * aExecutionStatus

UnshareContainerL(TInt)

void UnshareContainerL ( TInt aItemId )

Parameters

TInt aItemId

UnshareItemL(TInt)

void UnshareItemL ( TInt aItemId )

Parameters

TInt aItemId

UnshareItemListL(RArray< TInt > &, TInt *)

void UnshareItemListL ( 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)

void ValidateContainerL ( TInt aContainerId ) [private]

Parameters

TInt aContainerId

ValidateItemL(TInt)

void ValidateItemL ( TInt aItemId ) [private]

Parameters

TInt aItemId

Member Data Documentation

CUpnpMetadataStorage * iMetadataStorage

CUpnpMetadataStorage * iMetadataStorage [private]

CUpnpStateHandler * iStateHandler

CUpnpStateHandler * iStateHandler [private]