libzypp  13.10.6
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 namespace std;
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
std::ostream & operator<<(std::ostream &out, const ChangelogEntry &obj)
Definition: Changelog.cc:23
Date date() const
Definition: Changelog.h:42
Single entry in a change log.
Definition: Changelog.h:30
std::string text() const
Definition: Changelog.h:44
std::string author() const
Definition: Changelog.h:43