3 %template(UrlSet) std::set<zypp::Url>;
15 typedef std::list<Url> UrlSet;
18 %ignore zypp::repo::RepoInfoBase::dumpOn(std::ostream &) const;
19 %ignore zypp::repo::RepoInfoBase::dumpAsIniOn(std::ostream &) const;
20 %ignore zypp::repo::RepoInfoBase::dumpAsXmlOn(std::ostream &) const;
21 %include <zypp/repo/RepoInfoBase.h>
23 // This is due to a typo in libzypp < 5.4.0
24 %ignore zypp::RepoInfo::defaultPrioity();
26 %ignore zypp::RepoInfo::dumpOn(std::ostream &) const;
27 %ignore zypp::RepoInfo::dumpAsIniOn(std::ostream &) const;
28 %ignore zypp::RepoInfo::dumpAsXmlOn(std::ostream &) const;
30 %include <zypp/RepoInfo.h>
31 typedef std::list<zypp::RepoInfo> RepoInfoList;
32 %template(RepoInfoList) std::list<zypp::RepoInfo>;
34 %extend zypp::RepoInfo
36 std::string dump(void) const
38 std::ostringstream str;
43 std::string dumpAsIni(void) const
45 std::ostringstream str;
46 self->dumpAsIniOn(str);
50 std::string dumpAsXML(void) const
52 std::ostringstream str;
53 self->dumpAsXmlOn(str);