00001
00002
00003
00004
00005
00006
00007
00008
00012 #ifndef ZYPP_PARSER_TAGFILE_MediaMetadataPARSER_H
00013 #define ZYPP_PARSER_TAGFILE_MediaMetadataPARSER_H
00014
00015 #include <iosfwd>
00016 #include <set>
00017 #include <map>
00018 #include <list>
00019
00020 #include "zypp/parser/tagfile/ParseException.h"
00021
00022 #include "zypp/Pathname.h"
00023
00025 namespace zypp
00026 {
00027
00028 namespace source
00029 {
00030
00031 namespace susetags
00032 {
00033
00035
00036
00037
00039 struct MediaMetadataParser
00040 {
00041 struct MediaEntry
00042 {
00043 std::string vendor;
00044 std::string timestamp;
00045 unsigned int count;
00046 std::set<std::string> flags;
00047
00048
00049 std::map< unsigned int, std::map<std::string, std::string> > alternate_names;
00050 };
00051
00052 virtual ~MediaMetadataParser()
00053 {}
00054
00055
00056
00057
00058
00059 void parse( const Pathname & file_r, MediaEntry &entry_r );
00060
00061
00062
00063
00064 };
00066
00068 }
00071 }
00074 }
00076
00077 #endif // ZYPP_PARSER_TAGFILE_MediaMetadataPPARSER_H