libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Changelog.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_CHANGELOG_H
13
#define ZYPP_CHANGELOG_H
14
15
#include <string>
16
#include <list>
17
18
#include "
zypp/Date.h
"
19
21
namespace
zypp
22
{
23
25
//
26
// CLASS NAME : ChangelogEntry
27
//
30
class
ChangelogEntry
31
{
32
public
:
34
ChangelogEntry
(
const
Date
& d,
35
const
std::string & a,
36
const
std::string & t )
37
:
_date
( d ),
_author
( a ),
_text
( t )
38
{};
40
~ChangelogEntry
()
41
{}
42
Date
date
()
const
{
return
_date
; }
43
std::string
author
()
const
{
return
_author
; }
44
std::string
text
()
const
{
return
_text
; }
45
46
private
:
47
Date
_date
;
48
std::string
_author
;
49
std::string
_text
;
50
};
51
53
typedef
std::list<ChangelogEntry>
Changelog
;
54
56
std::ostream &
operator<<
( std::ostream & out,
const
ChangelogEntry
& obj );
57
59
}
// namespace zypp
61
62
#endif // ZYPP_CHANGELOG_H
zypp::ChangelogEntry::~ChangelogEntry
~ChangelogEntry()
Dtor.
Definition:
Changelog.h:40
zypp::ChangelogEntry::date
Date date() const
Definition:
Changelog.h:42
zypp::ChangelogEntry
Single entry in a change log.
Definition:
Changelog.h:30
zypp::Changelog
std::list< ChangelogEntry > Changelog
List of ChangelogEntry.
Definition:
Changelog.h:53
zypp::ChangelogEntry::_author
std::string _author
Definition:
Changelog.h:48
zypp::ChangelogEntry::text
std::string text() const
Definition:
Changelog.h:44
zypp::ChangelogEntry::author
std::string author() const
Definition:
Changelog.h:43
zypp::Date
Store and operate on date (time_t).
Definition:
Date.h:31
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Exception &obj)
Definition:
Exception.cc:120
zypp::ChangelogEntry::ChangelogEntry
ChangelogEntry(const Date &d, const std::string &a, const std::string &t)
Default ctor.
Definition:
Changelog.h:34
zypp::ChangelogEntry::_text
std::string _text
Definition:
Changelog.h:49
Date.h
zypp::ChangelogEntry::_date
Date _date
Definition:
Changelog.h:47
zypp
Changelog.h
Generated by
1.8.5