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 public: 00051 typedef std::map<std::string, CheckSum> FileChecksumMap; 00052 00053 Locale language; 00054 std::string timezone; 00055 Arch defaultBase; 00056 std::list<Locale> languages; 00057 std::list<std::string> flags; 00058 00059 Pathname descrdir; 00060 Pathname datadir; 00061 00062 FileChecksumMap metaFileChecksums; 00063 FileChecksumMap mediaFileChecksums; 00064 FileChecksumMap signingKeys; 00065 00066 protected: 00068 //virtual std::ostream & dumpOn( std::ostream & str ) const; 00069 }; 00071 00073 } // namespace susetags 00076 } // namespace parser 00079 } // namespace zypp 00081 #endif // ZYPP_PARSER_SUSETAGS_REPOINDEX_H
1.5.3