|
Aegis
4.25.D505
|
#include <timedate.h>
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_timedate & | operator= (const xml_node_rss_timedate &) |
Private Attributes | |
| bool | set_current_time |
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.
| 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.
| 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). |
The copy constructor.
| xml_node_rss_timedate::xml_node_rss_timedate | ( | ) | [private] |
The default constructor. Don't use.
| 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.
bool xml_node_rss_timedate::set_current_time [private] |
Set the time to the current time?
Definition at line 76 of file timedate.h.
1.7.6.1