CEnclosure Class Reference

class CEnclosure : public CBase

Holds information about a feed's enclosure.

Library: FeedsEngine.lib

Since
3.1

Inherits from

Constructor & Destructor Documentation

CEnclosure(CFeedsEntity *)

CEnclosure(CFeedsEntity *aFeedsEntity)[private]

C++ default constructor.

Parameters

CFeedsEntity * aFeedsEntity

~CEnclosure()

IMPORT_C~CEnclosure()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

ContentType()

IMPORT_C const TDesC &ContentType()const

Returns the enclosure's content-type.

Since
3.1

Debug_Print(void)

IMPORT_C voidDebug_Print(void)const

Prints the enclosure to the log file.

Since
3.1

Parameters

void

NewL(CFeedsEntity *)

CEnclosure *NewL(CFeedsEntity *aFeedsEntity)[private, static]

Two-phased constructor. Only called from RFeed.

Parameters

CFeedsEntity * aFeedsEntity

SetAttribute(TUint, const TPtrC &)

voidSetAttribute(TUintaAttribute,
const TPtrC &aAttributeValue
)[private]

Sets an attribute.

Since
3.1

Parameters

TUint aAttributeThe attribute.
const TPtrC & aAttributeValueThe attribute value.

Size()

IMPORT_C const TDesC &Size()const

Returns the enclosure's Size.

Since
3.1

Url()

IMPORT_C const TDesC &Url()const

Returns the enclosure's url.

Since
3.1

Member Data Documentation

TPtrC iContentType

TPtrC iContentType[private]

CFeedsEntity * iFeedsEntity

CFeedsEntity *iFeedsEntity[private]

TLeakTracker iLeakTracker

TLeakTrackeriLeakTracker[private]

TPtrC iSize

TPtrC iSize[private]

TPtrC iUrl

TPtrC iUrl[private]