CUpnpAttribute Class Reference

class CUpnpAttribute : public CBase

UPnP CUpnpAttribute header

upnpavobjects.lib
Since
Series 60 3.0

Inherits from

Constructor & Destructor Documentation

CUpnpAttribute()

CUpnpAttribute ( ) [private]

C++ default constructor.

~CUpnpAttribute()

~CUpnpAttribute ( ) [virtual]

C++ default constructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aName ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aName

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStream

MapItemNameToProperLength(TDesC8 &)

TInt MapItemNameToProperLength ( TDesC8 & aItemName ) const [private]

Parameters

TDesC8 & aItemName

Name()

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

NewL(const TDesC8 &)

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

Parameters

const TDesC8 & aName =  KNullDesC8 ()

NewLC(const TDesC8 &)

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

Two-phased constructor.

Parameters

const TDesC8 & aName =  KNullDesC8 ()

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

void SafeExternalizeL ( RWriteStream & aStream,
const TDesC8 & aDesc,
const TInt aNumber
) const [private]
Safely externalizes attribute information to stream. Leaves in case of errors.
Since
Series 60 3.0

Parameters

RWriteStream & aStream
const TDesC8 & aDesc
const TInt aNumber

SetNameL(const TDesC8 &)

IMPORT_C void SetNameL ( const TDesC8 & aName )
Externalizes attribute information to stream. Leaves in case of errors.
Since
Series 60 3.0
Since
Series 60 3.0

Parameters

const TDesC8 & aName

SetValueL(const TDesC8 &)

IMPORT_C void SetValueL ( const TDesC8 & aValue )
Sets scope for the UPnP attribute. Leaves in case of errors.
Since
Series 60 3.0

Parameters

const TDesC8 & aValue

Value()

IMPORT_C const TDesC8 & Value ( ) const
Gets name for the UPnP attribute
Since
Series 60 3.0

Member Data Documentation

HBufC8 * iName

HBufC8 * iName [private]

HBufC8 * iValue

HBufC8 * iValue [private]