libzypp 17.37.10

Changelog.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#include <iostream>
13#include <set>
14
15#include <zypp/Changelog.h>
16
17 using std::endl;
18
19 namespace zypp
20{
21
23 std::ostream & operator<<( std::ostream & out, const ChangelogEntry & obj )
24 {
25 out << obj.date() << " " << obj.author() << endl << obj.text() << endl;
26 return out;
27 }
28
29
31} // namespace zypp
Changelog.h
zypp::ChangelogEntry::text
std::string text() const
Definition Changelog.h:46
zypp::ChangelogEntry::date
Date date() const
Definition Changelog.h:44
zypp::ChangelogEntry::ChangelogEntry
ChangelogEntry(const Date &d, std::string a, std::string t)
Default ctor.
Definition Changelog.h:36
zypp::ChangelogEntry::author
std::string author() const
Definition Changelog.h:45
zypp::ChangelogEntry::operator<<
std::ostream & operator<<(std::ostream &out, const ChangelogEntry &obj)
Definition Changelog.cc:23
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20