rss_item Class Reference

#include <item.h>


Public Member Functions

virtual ~rss_item ()
 rss_item ()
 rss_item (const rss_item &)
rss_itemoperator= (const rss_item &)
void handle_title (const nstring &value)
void handle_description (const nstring &value)
void handle_pub_date (const nstring &value)
void handle_link (const nstring &value)
void handle_author (const nstring &value)
void handle_category (const nstring &value)
void handle_comments (const nstring &value)
void handle_enclosure (const nstring &value)
void handle_guid (const nstring &value, bool is_perma_link)
void handle_source (const nstring &value)
void print (output::pointer out) const
void handle_change (change::pointer cp)

Private Attributes

nstring title
nstring description
nstring pub_date
nstring link
nstring author
nstring category
nstring comments
nstring enclosure
nstring guid
bool guidIsPermaLink
nstring source


Detailed Description

The rss_item class is used to represent an Item in an RSS feed.

Definition at line 34 of file item.h.


Constructor & Destructor Documentation

virtual rss_item::~rss_item (  )  [virtual]

The destructor.

rss_item::rss_item (  ) 

The default constructor.

rss_item::rss_item ( const rss_item  ) 

The copy constructor.


Member Function Documentation

rss_item& rss_item::operator= ( const rss_item  ) 

The assignment operator.

void rss_item::handle_title ( const nstring value  ) 

The handle_title method is used to set the title of the item.

void rss_item::handle_description ( const nstring value  ) 

The handle_description method is used to set the description of the item.

void rss_item::handle_pub_date ( const nstring value  ) 

The handle_pub_date method is used to set the pub_date of the item.

void rss_item::handle_link ( const nstring value  ) 

Add a link (URL) for the item.

void rss_item::handle_author ( const nstring value  ) 

Add the email address of the author of the item.

void rss_item::handle_category ( const nstring value  ) 

Add a category for this item to be included with.

void rss_item::handle_comments ( const nstring value  ) 

Add the URL of a page for comments relating to the item.

void rss_item::handle_enclosure ( const nstring value  ) 

Add a description of a media object attached to the item.

void rss_item::handle_guid ( const nstring value,
bool  is_perma_link 
)

Add a string that uniquely identifies the item.

void rss_item::handle_source ( const nstring value  ) 

Add the RSS channel that the item came from.

void rss_item::print ( output::pointer  out  )  const

Print out the contents of the item.

void rss_item::handle_change ( change::pointer  cp  ) 

the handle_change method is used to set the attributes of the RSS item from the given change.

Parameters:
cp The change to take the attributes from.


Field Documentation

The item's title.

Definition at line 127 of file item.h.

The item's description.

Definition at line 132 of file item.h.

The item's publication date.

Definition at line 137 of file item.h.

The item's link (URL).

Definition at line 142 of file item.h.

The email address of the author of the item.

Definition at line 147 of file item.h.

The category of the item.

Definition at line 152 of file item.h.

URL of a page for comments relating to the item.

Definition at line 157 of file item.h.

Describes a media object that is attached to the item.

Definition at line 162 of file item.h.

A string that uniquely identifies the item.

Definition at line 167 of file item.h.

bool rss_item::guidIsPermaLink [private]

A flag indicating whether or not the GUID is a permanent link.

Definition at line 172 of file item.h.

The RSS channel that the item came from.

Definition at line 177 of file item.h.


The documentation for this class was generated from the following file:

Generated on Wed Mar 12 23:37:44 2008 for Aegis by  doxygen 1.5.5