libzypp 9.41.1
|
A zypp history log line for an added repository. More...
#include <HistoryLogData.h>
Public Types | |
enum | Index { DATE_INDEX = HistoryLogData::DATE_INDEX, ACTION_INDEX = HistoryLogData::ACTION_INDEX, ALIAS_INDEX, URL_INDEX, USERDATA_INDEX } |
< indices of known fields More... | |
typedef shared_ptr < HistoryLogDataRepoAdd > | Ptr |
typedef shared_ptr< const HistoryLogDataRepoAdd > | constPtr |
Public Member Functions | |
HistoryLogDataRepoAdd (FieldVector &fields_r) | |
Ctor moving FieldVector (via swap). | |
std::string | alias () const |
repository alias | |
Url | url () const |
repository url | |
std::string | userdata () const |
userdata/transactionID |
A zypp history log line for an added repository.
Definition at line 268 of file HistoryLogData.h.
typedef shared_ptr<HistoryLogDataRepoAdd> zypp::HistoryLogDataRepoAdd::Ptr |
Reimplemented from zypp::HistoryLogData.
Definition at line 271 of file HistoryLogData.h.
typedef shared_ptr<const HistoryLogDataRepoAdd> zypp::HistoryLogDataRepoAdd::constPtr |
Reimplemented from zypp::HistoryLogData.
Definition at line 272 of file HistoryLogData.h.
< indices of known fields
DATE_INDEX |
date |
ACTION_INDEX | |
ALIAS_INDEX |
repository alias |
URL_INDEX |
repository url |
USERDATA_INDEX |
userdata/transactionID |
Reimplemented from zypp::HistoryLogData.
Definition at line 279 of file HistoryLogData.h.
zypp::HistoryLogDataRepoAdd::HistoryLogDataRepoAdd | ( | FieldVector & | fields_r | ) |
Ctor moving FieldVector (via swap).
ParseException | if fields_r has the wrong HistoryActionID or number of fields. |
Definition at line 262 of file HistoryLogData.cc.
std::string zypp::HistoryLogDataRepoAdd::alias | ( | ) | const |
repository alias
Definition at line 265 of file HistoryLogData.cc.
References ALIAS_INDEX, and zypp::HistoryLogData::optionalAt().
Url zypp::HistoryLogDataRepoAdd::url | ( | ) | const |
repository url
Definition at line 266 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and URL_INDEX.
std::string zypp::HistoryLogDataRepoAdd::userdata | ( | ) | const |
userdata/transactionID
Definition at line 267 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and USERDATA_INDEX.