Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

YUMOtherParser.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013 File:       YUMOtherParser.h
00014 
00015 Author:     Michael Radziej <mir@suse.de>
00016 Maintainer: Michael Radziej <mir@suse.de>
00017 
00018 Purpose:    Parses other.xml files in a YUM repository
00019 
00020 /-*/
00021 
00022 #ifndef YUMOtherParser_h
00023 #define YUMOtherParser_h
00024 
00025 
00026 #include <y2pm/YUMParserData.h>
00027 #include <y2util/XMLNodeIterator.h>
00028 #include <y2util/LibXMLHelper.h>
00029 #include <list>
00030 
00031 namespace YUM {
00032 
00053   class YUMOtherParser : public XMLNodeIterator<YUMOtherDataPtr>
00054   {
00055   public:
00061     YUMOtherParser(std::istream &is, const std::string &baseUrl);
00062 
00063     YUMOtherParser();
00064     YUMOtherParser(YUMOtherDataPtr& entry);
00065     
00069     virtual ~YUMOtherParser();
00070     
00071   private:
00077     virtual bool isInterested(const xmlNodePtr nodePtr);
00078     
00084     virtual YUMOtherDataPtr process(const xmlTextReaderPtr reader);
00085 
00089     LibXMLHelper _helper;
00090   };
00091 }
00092 
00093 #endif

Generated on Mon Sep 12 21:52:13 2005 for yast2-packagemanager by  doxygen 1.4.4