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

libzypp 17.25.10

RepoIndex.cc
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #include <iostream>
13 #include <zypp/base/LogTools.h>
14
15 #include <zypp/parser/susetags/RepoIndex.h>
16
17 using std::endl;
18 #undef ZYPP_BASE_LOGGER_LOGGROUP
19 #define ZYPP_BASE_LOGGER_LOGGROUP "parser::susetags"
20
22 namespace zypp
23 {
25 namespace parser
26 {
28 namespace susetags
29 {
30
31 IMPL_PTR_TYPE(RepoIndex);
32
33 std::ostream & RepoIndex::dumpOn( std::ostream & str ) const
34 {
35 return str
36 << "RepoIndex checksums: META files " << metaFileChecksums.size()
37 << ", HASH files " << mediaFileChecksums.size()
38 << ", KEY files " << signingKeys.size();
39 }
40
42 } // namespace susetags
45 } // namespace parser
48 } // namespace zypp
LogTools.h
RepoIndex.h
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::signingKeys
FileChecksumMap signingKeys
Definition: RepoIndex.h:59
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
str
String related utilities and Regular expression matching.
zypp::parser::susetags::IMPL_PTR_TYPE
IMPL_PTR_TYPE(RepoIndex)
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2