libzypp 17.37.17
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
17using std::endl;
18
19namespace 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
std::string text() const
Definition Changelog.h:46
Date date() const
Definition Changelog.h:44
ChangelogEntry(const Date &d, std::string a, std::string t)
Default ctor.
Definition Changelog.h:36
std::string author() const
Definition Changelog.h:45
std::ostream & operator<<(std::ostream &out, const ChangelogEntry &obj)
Definition Changelog.cc:23
Easy-to use interface to the ZYPP dependency resolver.