libzypp  10.5.0
RepoIndex.h
Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_PARSER_SUSETAGS_REPOINDEX_H
00013 #define ZYPP_PARSER_SUSETAGS_REPOINDEX_H
00014 
00015 #include <iosfwd>
00016 #include <list>
00017 #include <map>
00018 
00019 #include "zypp/base/ReferenceCounted.h"
00020 #include "zypp/base/NonCopyable.h"
00021 #include "zypp/base/PtrTypes.h"
00022 
00023 #include "zypp/Arch.h"
00024 #include "zypp/CheckSum.h"
00025 #include "zypp/Pathname.h"
00026 #include "zypp/Locale.h"
00027 
00029 namespace zypp
00030 { 
00031 
00032   namespace parser
00033   { 
00034 
00035     namespace susetags
00036     { 
00037 
00038       DEFINE_PTR_TYPE(RepoIndex);
00039 
00041       //
00042       //        CLASS NAME : RepoIndex
00043       //
00048       class RepoIndex : public base::ReferenceCounted, private base::NonCopyable
00049       {
00050         friend class ContentFileReader;
00051         public:
00052           typedef std::map<std::string, CheckSum> FileChecksumMap;
00053 
00054           Pathname descrdir;
00055           Pathname datadir;
00056 
00057           FileChecksumMap metaFileChecksums;
00058           FileChecksumMap mediaFileChecksums;
00059           FileChecksumMap signingKeys;
00060 
00061         protected:
00063           virtual std::ostream & dumpOn( std::ostream & str ) const;
00064       };
00066 
00068     } // namespace susetags
00071   } // namespace parser
00074 } // namespace zypp
00076 #endif // ZYPP_PARSER_SUSETAGS_REPOINDEX_H