YUMFileListParser.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00014 #ifndef YUMFileListParser_h
00015 #define YUMFileListParser_h
00016 
00017 
00018 #include <zypp/parser/yum/YUMParserData.h>
00019 #include <zypp/parser/XMLNodeIterator.h>
00020 #include <zypp/parser/LibXMLHelper.h>
00021 #include <list>
00022 #include <zypp/Arch.h>
00023 
00024 namespace zypp {
00025   namespace parser {
00026     namespace yum {
00027 
00048       class YUMFileListParser : public XMLNodeIterator<YUMFileListData_Ptr>
00049       {
00050       public:
00056         YUMFileListParser(std::istream &is, const std::string &baseUrl);
00057         YUMFileListParser();
00058         YUMFileListParser(YUMFileListData_Ptr& entry);
00059     
00060         
00064         virtual ~YUMFileListParser();
00065         
00066       private:
00072         virtual bool isInterested(const xmlNodePtr nodePtr);
00073         
00079         virtual YUMFileListData_Ptr process(const xmlTextReaderPtr reader);
00080     
00084         LibXMLHelper _helper;
00085         Arch _zypp_architecture;
00086       };
00087     } // namespace yum
00088   } // namespace parser
00089 } // namespace zypp
00090 
00091 #endif

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