YUMPatchesParser.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00015 #ifndef YUMPatchesParser_h
00016 #define YUMPatchesParser_h
00017 
00018 #include <zypp/parser/yum/YUMParserData.h>
00019 #include <zypp/parser/XMLNodeIterator.h>
00020 #include <zypp/parser/LibXMLHelper.h>
00021 #include <list>
00022 
00023 namespace zypp {
00024   namespace parser {
00025     namespace yum {
00026 
00047       class YUMPatchesParser : public XMLNodeIterator<YUMPatchesData_Ptr>
00048       {
00049       public:
00050         YUMPatchesParser(std::istream &is, const std::string &baseUrl);
00051         YUMPatchesParser();
00052         YUMPatchesParser(YUMPatchesData_Ptr& entry);
00053         virtual ~YUMPatchesParser();
00054     
00055       private:
00056         virtual bool isInterested(const xmlNodePtr nodePtr);
00057         virtual YUMPatchesData_Ptr process(const xmlTextReaderPtr reader);
00058         LibXMLHelper _helper;
00059       };
00060     } // namespace yum
00061   } // namespace parser
00062 } // namespace zypp
00063 
00064 #endif

Generated on Thu Jul 6 00:07:21 2006 for zypp by  doxygen 1.4.6