#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 |
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). |
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.
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.
bool xml_node_rss_timedate::set_current_time [private] |
Set the time to the current time?
Definition at line 76 of file timedate.h.