libzypp: zypp/Changelog.cc Source File

libzypp 17.38.14

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
Changelog.h
zypp::ChangelogEntry
Single entry in a change log.
Definition Changelog.h:33
zypp::ChangelogEntry::text
std::string text() const
Definition Changelog.h:46
zypp::ChangelogEntry::date
Date date() const
Definition Changelog.h:44
zypp::ChangelogEntry::author
std::string author() const
Definition Changelog.h:45
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
Definition Capabilities.cc:65