Aegis  4.25.D505
libaegis/xml_node/rss/channel.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 2005 Matthew Lee
00004 //      Copyright (C) 2008 Peter Miller
00005 //
00006 //      This program is free software; you can redistribute it and/or modify
00007 //      it under the terms of the GNU General Public License as published by
00008 //      the Free Software Foundation; either version 3 of the License, or
00009 //      (at your option) any later version.
00010 //
00011 //      This program is distributed in the hope that it will be useful,
00012 //      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 //      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 //      GNU General Public License for more details.
00015 //
00016 //      You should have received a copy of the GNU General Public License
00017 //      along with this program. If not, see
00018 //      <http://www.gnu.org/licenses/>.
00019 //
00020 
00021 #ifndef LIBAEGIS_XML_NODE_RSS_CHANNEL_H
00022 #define LIBAEGIS_XML_NODE_RSS_CHANNEL_H
00023 
00024 #include <libaegis/xml_node/rss.h>
00025 
00026 // Forward declarations
00027 class rss_item;
00028 
00047 class xml_node_rss_channel:
00048     public xml_node_rss
00049 {
00050 public:
00054     virtual ~xml_node_rss_channel();
00055 
00067     xml_node_rss_channel(rss_item *the_item, xml_text_reader_by_node &reader,
00068         output::pointer out);
00069 
00073     xml_node_rss_channel(const xml_node_rss_channel &);
00074 
00078     virtual void element_begin(const nstring &name);
00079 
00083     virtual void element_end(const nstring &name);
00084 
00085 private:
00089     rss_item *new_item;
00090 
00094     xml_node_rss_channel();
00095 
00099     xml_node_rss_channel &operator=(const xml_node_rss_channel &);
00100 };
00101 
00102 #endif // LIBAEGIS_XML_NODE_RSS_CHANNEL_H