PkgChangelog Class Reference
Helper class providing changelog information.
More...
#include <PkgChangelog.h>
List of all members.
Detailed Description
Helper class providing changelog information.
PkgChangelog
contains a std::list<PkgChangelog::Entry>
. Each Entry
consists of date, author and text, as derived from a rpmlib header. Text is expected to be the preformated changes entry with all lines delimited by '
'.
A conversion std::list<std::string> asStringList()
is provided. The list returned contains the changelog line by line, fromated the same way 'rpm -q --changelog'
would do.
Member Typedef Documentation
Constructor & Destructor Documentation
PkgChangelog::PkgChangelog |
( |
|
) |
[inline] |
|
Member Function Documentation
list< string > PkgChangelog::asStringList |
( |
|
) |
const |
|
|
The list returned contains the changelog line by line, fromated the same way 'rpm -q --changelog' would do. |
|
Forward const iterator pointing to the first entry (if any) |
iterator PkgChangelog::begin |
( |
|
) |
[inline] |
|
|
Forward iterator pointing to the first entry (if any) |
|
Forward const iterator pointing behind the last entry. |
|
Forward iterator pointing behind the last entry. |
void PkgChangelog::push_back |
( |
const Entry & |
e_r |
) |
[inline] |
|
void PkgChangelog::push_front |
( |
const Entry & |
e_r |
) |
[inline] |
|
|
Reverse const iterator pointing to the last entry (if any) |
|
Reverse iterator pointing to the last entry (if any) |
|
Reverse const iterator pointing before the first entry. |
|
Reverse iterator pointing before the first entry. |
unsigned PkgChangelog::size |
( |
|
) |
const [inline] |
|
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const PkgChangelog & |
obj |
|
) |
[friend] |
|
|
Print changelog fromatedthe same way 'rpm -q --changelog' would do. |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by
1.3.6