libzypp  17.23.5
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:44
zypp::ChangelogEntry
Single entry in a change log.
Definition: Changelog.h:30
zypp::ChangelogEntry::author
std::string author() const
Definition: Changelog.h:43
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: CodePitfalls.doc:1
zypp::ChangelogEntry::date
Date date() const
Definition: Changelog.h:42