libzypp  13.10.6
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 
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 {
31  namespace parser
33  {
34  namespace susetags
36  {
37 
38  DEFINE_PTR_TYPE(RepoIndex);
39 
41  //
42  // CLASS NAME : RepoIndex
43  //
49  {
50  friend class ContentFileReader;
51  public:
52  typedef std::map<std::string, CheckSum> FileChecksumMap;
53 
54  Pathname descrdir;
55  Pathname datadir;
56 
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
Repository content data (from /content file).
Definition: RepoIndex.h:48
FileChecksumMap mediaFileChecksums
Definition: RepoIndex.h:58
DEFINE_PTR_TYPE(RepoIndex)
FileChecksumMap metaFileChecksums
Definition: RepoIndex.h:57
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition: NonCopyable.h:26
Parse repoindex part from a content file.
Base class for reference counted objects.
virtual std::ostream & dumpOn(std::ostream &str) const
Overload to realize std::ostream &amp; operator&lt;&lt;.
Definition: RepoIndex.cc:33
std::map< std::string, CheckSum > FileChecksumMap
Definition: RepoIndex.h:52