libzypp 9.41.1
|
A zypp history log line for a repo url change. More...
#include <HistoryLogData.h>
Public Types | |
enum | Index { DATE_INDEX = HistoryLogData::DATE_INDEX, ACTION_INDEX = HistoryLogData::ACTION_INDEX, ALIAS_INDEX, NEWURL_INDEX, USERDATA_INDEX } |
< indices of known fields More... | |
typedef shared_ptr < HistoryLogDataRepoUrlChange > | Ptr |
typedef shared_ptr< const HistoryLogDataRepoUrlChange > | constPtr |
Public Member Functions | |
HistoryLogDataRepoUrlChange (FieldVector &fields_r) | |
Ctor moving FieldVector (via swap). | |
std::string | alias () const |
repository alias | |
Url | newUrl () const |
repositories new url | |
std::string | userdata () const |
userdata/transactionID |
A zypp history log line for a repo url change.
Definition at line 359 of file HistoryLogData.h.
typedef shared_ptr<HistoryLogDataRepoUrlChange> zypp::HistoryLogDataRepoUrlChange::Ptr |
Reimplemented from zypp::HistoryLogData.
Definition at line 362 of file HistoryLogData.h.
typedef shared_ptr<const HistoryLogDataRepoUrlChange> zypp::HistoryLogDataRepoUrlChange::constPtr |
Reimplemented from zypp::HistoryLogData.
Definition at line 363 of file HistoryLogData.h.
< indices of known fields
DATE_INDEX |
date |
ACTION_INDEX | |
ALIAS_INDEX |
repository alias |
NEWURL_INDEX |
repositories new url |
USERDATA_INDEX |
userdata/transactionID |
Reimplemented from zypp::HistoryLogData.
Definition at line 370 of file HistoryLogData.h.
zypp::HistoryLogDataRepoUrlChange::HistoryLogDataRepoUrlChange | ( | FieldVector & | fields_r | ) |
Ctor moving FieldVector (via swap).
ParseException | if fields_r has the wrong HistoryActionID or number of fields. |
Definition at line 291 of file HistoryLogData.cc.
std::string zypp::HistoryLogDataRepoUrlChange::alias | ( | ) | const |
repository alias
Definition at line 294 of file HistoryLogData.cc.
References ALIAS_INDEX, and zypp::HistoryLogData::optionalAt().
Url zypp::HistoryLogDataRepoUrlChange::newUrl | ( | ) | const |
repositories new url
Definition at line 295 of file HistoryLogData.cc.
References NEWURL_INDEX, and zypp::HistoryLogData::optionalAt().
std::string zypp::HistoryLogDataRepoUrlChange::userdata | ( | ) | const |
userdata/transactionID
Definition at line 296 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and USERDATA_INDEX.