CUpnpElement Class Reference

class CUpnpElement : public CBase

UPnPContainer interface

upnpavobjects.lib
Since
Series 60 3.0

Inherits from

Constructor & Destructor Documentation

CUpnpElement()

CUpnpElement()[private]

C++ default constructor.

~CUpnpElement()

~CUpnpElement()[virtual]

Destructor.

Member Functions Documentation

AddAttributeL(CUpnpAttribute *)

IMPORT_C voidAddAttributeL(CUpnpAttribute *aNewAttribute)
Adds Attribute for the UPnP Object
Since
Series 60 3.0

Parameters

CUpnpAttribute * aNewAttribute

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aName)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aName

CopyL(const CUpnpElement &)

IMPORT_C voidCopyL(const CUpnpElement &aElement)
Copies contents from CUpnpElement given as parameter to this object. Leaves in case of errors.
Since
Series 60 3.0

Parameters

const CUpnpElement & aElement

ExternalizeL(RWriteStream &)

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

Parameters

RWriteStream & aStream

FilePath()

IMPORT_C const TDesC &FilePath()const
Gets path for the UPnP element res
Since
Series 60 3.0

GetAttributes()

IMPORT_C const RUPnPAttributesArray &GetAttributes()
Gets Attribute array of the object
Since
Series 60 3.0

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStream

IsRequired()

IMPORT_C TBoolIsRequired()const

MapItemNameToProperLength(TDesC8 &)

TInt MapItemNameToProperLength(TDesC8 &aItemName)const [private]

Parameters

TDesC8 & aItemName

Name()

IMPORT_C const TDesC8 &Name()const
Gets name for the UPnP element
Since
Series 60 3.0

NewL(const TDesC8 &)

IMPORT_C CUpnpElement *NewL(const TDesC8 &aName =  KNullDesC8())[static]

Parameters

const TDesC8 & aName =  KNullDesC8()

NewLC(const TDesC8 &)

IMPORT_C CUpnpElement *NewLC(const TDesC8 &aName =  KNullDesC8())[static]

Two-phased constructor.

Parameters

const TDesC8 & aName =  KNullDesC8()

RemoveAttributeL(const CUpnpAttribute *)

IMPORT_C voidRemoveAttributeL(const CUpnpAttribute *aNewAttribute)
Removes specified Attribute from the UPnP Object
Since
Series 60 3.0

Parameters

const CUpnpAttribute * aNewAttribute

SafeExternalize16L(RWriteStream &, const TDesC &, const TInt)

voidSafeExternalize16L(RWriteStream &aStream,
const TDesC &aDesc,
const TIntaNumber
)const [private]

Parameters

RWriteStream & aStream
const TDesC & aDesc
const TInt aNumber

SafeExternalizeL(RWriteStream &, const TDesC8 &, const TInt)

voidSafeExternalizeL(RWriteStream &aStream,
const TDesC8 &aDesc,
const TIntaNumber
)const [private]
Safely externalizes element information to stream. Leaves in case of errors.
Since
Series 60 3.0

Parameters

RWriteStream & aStream
const TDesC8 & aDesc
const TInt aNumber

SetFilePathL(const TDesC &)

IMPORT_C voidSetFilePathL(const TDesC &aFilePath)
SetFilePathL path for the UPnP element res
Since
Series 60 3.0

Parameters

const TDesC & aFilePath

SetIsRequired(TBool)

IMPORT_C voidSetIsRequired(TBoolaIsRequired)

Parameters

TBool aIsRequired

SetNameL(const TDesC8 &)

IMPORT_C voidSetNameL(const TDesC8 &aName)
Sets name for the UPnP element. Leaves in case of errors.
Since
Series 60 3.0

Parameters

const TDesC8 & aName

SetValueL(const TDesC8 &)

IMPORT_C voidSetValueL(const TDesC8 &aValue)
Sets value for the UPnP element. Leaves in case of errors.
Since
Series 60 3.0

Parameters

const TDesC8 & aValue

Value()

IMPORT_C const TDesC8 &Value()const
Gets value for the UPnP element
Since
Series 60 3.0

Member Data Documentation

RUPnPAttributesArray iAttributes

RUPnPAttributesArray iAttributes[private]

HBufC8 * iElementName

HBufC8 *iElementName[private]

HBufC8 * iElementValue

HBufC8 *iElementValue[private]

HBufC * iFilePath

HBufC *iFilePath[private]

TBool iIsRequired

TBool iIsRequired[private]