Aegis  4.25.D505
Public Member Functions | Private Member Functions | Private Attributes
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

The destructor.

Constructor.

Parameters:
readerThe xml_text_reader using this object.
outThe output destination to write to.
use_current_timeBoolean 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).

The copy constructor.

The default constructor. Don't use.


Member Function Documentation

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

The assignment operator. Don't use.

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

text handler

Reimplemented from xml_node.


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: