|
libzypp
17.37.10
|
A zypp history log line for a repo url change. More...
#include <zypp/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... | |
| using | Ptr = shared_ptr< HistoryLogDataRepoUrlChange > |
| using | constPtr = shared_ptr< const HistoryLogDataRepoUrlChange > |
Public Types inherited from zypp::HistoryLogData | |
| enum | Index { DATE_INDEX = 0, ACTION_INDEX = 1 } |
| < indices of known fields More... | |
| using | Ptr = shared_ptr< HistoryLogData > |
| using | constPtr = shared_ptr< const HistoryLogData > |
| using | FieldVector = std::vector< std::string > |
| using | size_type = FieldVector::size_type |
| using | const_iterator = FieldVector::const_iterator |
Public Member Functions | |
| HistoryLogDataRepoUrlChange (FieldVector &fields_r) | |
| Ctor moving FieldVector (via swap). More... | |
| std::string | alias () const |
| repository alias More... | |
| Url | newUrl () const |
| repositories new url More... | |
| std::string | userdata () const |
| userdata/transactionID More... | |
Public Member Functions inherited from zypp::HistoryLogData | |
| HistoryLogData (FieldVector &fields_r, size_type expect_r=2) | |
| Ctor moving FieldVector (via swap). More... | |
| HistoryLogData (FieldVector &fields_r, HistoryActionID action_r, size_type expect_r=2) | |
| Ctor moving FieldVector (via swap). More... | |
| virtual | ~HistoryLogData () |
| Dtor. More... | |
| bool | empty () const |
| Whether FieldVector is empty. More... | |
| size_type | size () const |
| Number of fields in vector. More... | |
| const_iterator | begin () const |
| Iterator pointing to 1st element in vector (or end()). More... | |
| const_iterator | end () const |
| Iterator pointing behind the last element in vector. More... | |
| const std::string & | optionalAt (size_type idx_r) const |
| Access (optional) field by number. More... | |
| const std::string & | operator[] (size_type idx_r) const |
| const std::string & | at (size_type idx_r) const |
| Access (required) field by number. More... | |
| Date | date () const |
| date More... | |
| HistoryActionID | action () const |
HistoryActionID (or NONE_e if unknown) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from zypp::HistoryLogData | |
| static Ptr | create (FieldVector &fields_r) |
| Factory method creating HistoryLogData classes. More... | |
Protected Member Functions inherited from zypp::HistoryLogData | |
| HistoryLogData & | operator= (const HistoryLogData &) |
| no base class assign More... | |
Related Functions inherited from zypp::HistoryLogData | |
| std::ostream & | operator<< (std::ostream &str, const HistoryLogData &obj) |
A zypp history log line for a repo url change.
Definition at line 409 of file HistoryLogData.h.
Definition at line 412 of file HistoryLogData.h.
Definition at line 413 of file HistoryLogData.h.
< indices of known fields
| Enumerator | |
|---|---|
| DATE_INDEX | |
| ACTION_INDEX | |
| ALIAS_INDEX | repository alias |
| NEWURL_INDEX | repositories new url |
| USERDATA_INDEX | userdata/transactionID |
Definition at line 420 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 315 of file HistoryLogData.cc.
| std::string zypp::HistoryLogDataRepoUrlChange::alias | ( | ) | const |
repository alias
Definition at line 318 of file HistoryLogData.cc.
| Url zypp::HistoryLogDataRepoUrlChange::newUrl | ( | ) | const |
repositories new url
Definition at line 319 of file HistoryLogData.cc.
| std::string zypp::HistoryLogDataRepoUrlChange::userdata | ( | ) | const |
userdata/transactionID
Definition at line 320 of file HistoryLogData.cc.