RepoParser.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP2_PARSER_SUSETAGS_REPOPARSER_H
00013 #define ZYPP2_PARSER_SUSETAGS_REPOPARSER_H
00014 
00015 #include <iosfwd>
00016 
00017 #include "zypp/base/PtrTypes.h"
00018 #include "zypp/base/NonCopyable.h"
00019 
00020 #include "zypp/data/RecordId.h"
00021 #include "zypp/data/ResolvableDataConsumer.h"
00022 
00023 #include "zypp/ProgressData.h"
00024 
00026 namespace zypp
00027 { 
00028 
00029   namespace parser
00030   { 
00031 
00032     namespace susetags
00033     { 
00034 
00036       //
00037       //        CLASS NAME : RepoParser
00038       //
00065       class RepoParser : private base::NonCopyable
00066       {
00067       public:
00074         RepoParser( const data::RecordId & repositoryId_r,
00075                     data::ResolvableDataConsumer & consumer_r,
00076                     const ProgressData::ReceiverFnc & fnc_r = ProgressData::ReceiverFnc() );
00078         ~RepoParser();
00079 
00085         void parse( const Pathname & reporoot_r );
00086 
00087         public:
00088           class Impl;
00089         private:
00090           RW_pointer<Impl,rw_pointer::Scoped<Impl> > _pimpl;
00091       };
00093 
00095     } // namespace susetags
00098   } // namespace parser
00101 } // namespace zypp
00103 #endif // ZYPP2_PARSER_SUSETAGS_REPOPARSER_H

Generated on Tue Sep 25 19:23:02 2007 for libzypp by  doxygen 1.5.3