libzypp: zypp/parser/susetags/RepoIndex.h Source File

libzypp 17.25.10

RepoIndex.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #ifndef ZYPP_PARSER_SUSETAGS_REPOINDEX_H
13 #define ZYPP_PARSER_SUSETAGS_REPOINDEX_H
14
15 #include <iosfwd>
16 #include <list>
17 #include <map>
18
19 #include <zypp/base/ReferenceCounted.h>
20 #include <zypp/base/NonCopyable.h>
21 #include <zypp/base/PtrTypes.h>
22
23 #include <zypp/Arch.h>
24 #include <zypp/CheckSum.h>
25 #include <zypp/Pathname.h>
26 #include <zypp/Locale.h>
27
29 namespace zypp
30 {
32 namespace parser
33 {
35 namespace susetags
36 {
37
38 DEFINE_PTR_TYPE(RepoIndex);
39
41 //
42 // CLASS NAME : RepoIndex
43 //
48 class RepoIndex : public base::ReferenceCounted, private base::NonCopyable
49 {
50 friend class ContentFileReader;
51 public:
52 typedef std::map<std::string, CheckSum> FileChecksumMap;
53
54 Pathname descrdir;
55 Pathname datadir;
56
57 FileChecksumMap metaFileChecksums;
58 FileChecksumMap mediaFileChecksums;
59 FileChecksumMap signingKeys;
60
61 protected:
63 virtual std::ostream & dumpOn( std::ostream & str ) const;
64 };
66
68 } // namespace susetags
71 } // namespace parser
74 } // namespace zypp
76 #endif // ZYPP_PARSER_SUSETAGS_REPOINDEX_H
Arch.h
CheckSum.h
Locale.h
NonCopyable.h
Pathname.h
PtrTypes.h
ReferenceCounted.h
zypp::base::ReferenceCounted
Base class for reference counted objects.
Definition: ReferenceCounted.h:34
zypp::filesystem::Pathname
Pathname.
Definition: Pathname.h:45
zypp::parser::susetags::ContentFileReader
Parse repoindex part from a content file.
Definition: ContentFileReader.h:46
zypp::parser::susetags::RepoIndex
Repository content data (from /content file).
Definition: RepoIndex.h:49
zypp::parser::susetags::RepoIndex::metaFileChecksums
FileChecksumMap metaFileChecksums
Definition: RepoIndex.h:57
zypp::parser::susetags::RepoIndex::datadir
Pathname datadir
Definition: RepoIndex.h:55
zypp::parser::susetags::RepoIndex::signingKeys
FileChecksumMap signingKeys
Definition: RepoIndex.h:59
zypp::parser::susetags::RepoIndex::descrdir
Pathname descrdir
Definition: RepoIndex.h:54
zypp::parser::susetags::RepoIndex::dumpOn
virtual std::ostream & dumpOn(std::ostream &str) const
Overload to realize std::ostream & operator<<.
Definition: RepoIndex.cc:33
zypp::parser::susetags::RepoIndex::mediaFileChecksums
FileChecksumMap mediaFileChecksums
Definition: RepoIndex.h:58
zypp::parser::susetags::RepoIndex::FileChecksumMap
std::map< std::string, CheckSum > FileChecksumMap
Definition: RepoIndex.h:52
str
String related utilities and Regular expression matching.
zypp::base::NonCopyable
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition: NonCopyable.h:26
zypp::parser::susetags::DEFINE_PTR_TYPE
DEFINE_PTR_TYPE(RepoIndex)
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2