xml_node_rss_timedate Class Reference

#include <timedate.h>

Inheritance diagram for xml_node_rss_timedate:

xml_node_rss xml_node

Public Member Functions

virtual ~xml_node_rss_timedate ()
 xml_node_rss_timedate (xml_text_reader_by_node &reader, output::pointer out, bool use_current_time)
 xml_node_rss_timedate (const xml_node_rss_timedate &arg)
virtual void text (const nstring &name)

Private Member Functions

 xml_node_rss_timedate ()
xml_node_rss_timedateoperator= (const xml_node_rss_timedate &)

Private Attributes

bool set_current_time

Detailed Description

The xml_node_rss_timedate class is used to represent a node processing object for time/date elements of RSS channels (that is, pubDate and lastBuildDate).

Instantiating an object of this type will register itself with the xml_text_reader_by_node object (specified in the constructor) as the handler for the time/date elements.

The time and date elements are updated with the current date/time or just after midnight on the current date.

Definition at line 38 of file timedate.h.


Constructor & Destructor Documentation

virtual xml_node_rss_timedate::~xml_node_rss_timedate (  )  [virtual]

The destructor.

xml_node_rss_timedate::xml_node_rss_timedate ( xml_text_reader_by_node reader,
output::pointer  out,
bool  use_current_time 
)

Constructor.

Parameters:
reader The xml_text_reader using this object.
out The output destination to write to.
use_current_time Boolean indicating whether or not the time portion of the date/time element should be set to just after midnight (false), or to the current time (true).

xml_node_rss_timedate::xml_node_rss_timedate ( const xml_node_rss_timedate arg  ) 

The copy constructor.

xml_node_rss_timedate::xml_node_rss_timedate (  )  [private]

The default constructor. Don't use.


Member Function Documentation

virtual void xml_node_rss_timedate::text ( const nstring name  )  [virtual]

text handler

Reimplemented from xml_node.

xml_node_rss_timedate& xml_node_rss_timedate::operator= ( const xml_node_rss_timedate  )  [private]

The assignment operator. Don't use.


Field Documentation

Set the time to the current time?

Definition at line 76 of file timedate.h.


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

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