CFeed Class Reference
class CFeed : public CBase |
Holds information about a feed.
Library: FeedsEngine.lib
Constructor & Destructor Documentation
CFeed(CFeedsEntity *)
CFeed | ( | CFeedsEntity * | aFeedsEntity | ) | [private] |
Parameters
CFeedsEntity * aFeedsEntity | |
~CFeed()
IMPORT_C | ~CFeed | ( | ) | [virtual] |
Member Functions Documentation
AddItemL(CItem *)
void | AddItemL | ( | CItem * | aItem | ) | [private] |
Appends the new Item to the Feed. aItem is adopted by this method.
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
Date()
IMPORT_C const TTime & | Date | ( | ) | const |
Debug_Print(void)
IMPORT_C void | Debug_Print | ( | void | | ) | const |
Prints the feed to the log file.
Debug_PrintInfo(const TDesC &, RFile &)
IMPORT_C void | Debug_PrintInfo | ( | const TDesC & | aUrl, |
| RFile & | aFile |
| ) | const |
Prints info about the feed.
Parameters
const TDesC & aUrl | The feeds url. |
RFile & aFile | The log file. |
Description()
IMPORT_C const TDesC & | Description | ( | ) | const |
Returns the feed's description.
Id()
Returns the feed's unique id.
ItemAt(TInt)
IMPORT_C const CItem & | ItemAt | ( | TInt | aIndex | ) | const |
Returns the item at the given index
Parameters
TInt aIndex | The index of the item. |
ItemCount(void)
IMPORT_C TInt | ItemCount | ( | void | | ) | const |
Returns the number of items.
ItemStatusL(RArray< TInt > &, RArray< TItemStatus > &)
IMPORT_C void | ItemStatusL | ( | RArray< TInt > & | aItemIds, |
| RArray< TItemStatus > & | aItemStatus |
| ) | const |
Returns the INITIAL status of each of the items in the feed. The caller can then modify the values and call RFeed::UpdateFeedItemStatusL to request the feeds server to update the feed's item status.
Parameters
RArray< TInt > & aItemIds | The ids of the items. |
RArray< TItemStatus > & aItemStatus | The coresponding status of each of the items in the feed. |
NewL(CFeedsEntity *)
CFeed * | NewL | ( | CFeedsEntity * | aFeedsEntity | ) | [private, static] |
Two-phased constructor. aPackedFeed is adopted by this method. Only called from RFeed.
Parameters
CFeedsEntity * aFeedsEntity | |
SetAttribute(TUint, const TPtrC &)
void | SetAttribute | ( | TUint | aAttribute, |
| const TPtrC & | aAttributeValue |
| ) | [private] |
Parameters
TUint aAttribute | The attribute. |
const TPtrC & aAttributeValue | The attribute value. |
Title()
IMPORT_C const TDesC & | Title | ( | ) | const |
Returns the feed's title.
Url()
IMPORT_C const TDesC & | Url | ( | ) | const |
Member Data Documentation
TPtrC
iDescription
TPtrC
| iDescription | [private] |
CFeedsEntity * iFeedsEntity
CFeedsEntity * | iFeedsEntity | [private] |
RPointerArray< CItem > iItems
TLeakTracker iLeakTracker
TLeakTracker | iLeakTracker | [private] |
TInt
iOtherDescriptions
TInt
| iOtherDescriptions | [private] |
TInt
iOtherLinks
TInt
| iOtherLinks | [private] |
TInt
iOtherTitles
TInt
| iOtherTitles | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.