libzypp 9.41.1
|
A zypp history log line for a removed packge. More...
#include <HistoryLogData.h>
Public Types | |
enum | Index { DATE_INDEX = HistoryLogData::DATE_INDEX, ACTION_INDEX = HistoryLogData::ACTION_INDEX, NAME_INDEX, EDITION_INDEX, ARCH_INDEX, REQBY_INDEX, USERDATA_INDEX } |
< indices of known fields More... | |
typedef shared_ptr < HistoryLogDataRemove > | Ptr |
typedef shared_ptr< const HistoryLogDataRemove > | constPtr |
Public Member Functions | |
HistoryLogDataRemove (FieldVector &fields_r) | |
Ctor moving FieldVector (via swap). | |
std::string | name () const |
package name | |
Edition | edition () const |
package edition | |
Arch | arch () const |
package architecture | |
std::string | reqby () const |
requested by (user, pid:appname, or empty (solver)) | |
std::string | userdata () const |
userdata/transactionID |
A zypp history log line for a removed packge.
Definition at line 233 of file HistoryLogData.h.
typedef shared_ptr<HistoryLogDataRemove> zypp::HistoryLogDataRemove::Ptr |
Reimplemented from zypp::HistoryLogData.
Definition at line 236 of file HistoryLogData.h.
typedef shared_ptr<const HistoryLogDataRemove> zypp::HistoryLogDataRemove::constPtr |
Reimplemented from zypp::HistoryLogData.
Definition at line 237 of file HistoryLogData.h.
< indices of known fields
Reimplemented from zypp::HistoryLogData.
Definition at line 244 of file HistoryLogData.h.
zypp::HistoryLogDataRemove::HistoryLogDataRemove | ( | FieldVector & | fields_r | ) |
Ctor moving FieldVector (via swap).
ParseException | if fields_r has the wrong HistoryActionID or number of fields. |
Definition at line 250 of file HistoryLogData.cc.
std::string zypp::HistoryLogDataRemove::name | ( | ) | const |
package name
Definition at line 253 of file HistoryLogData.cc.
References NAME_INDEX, and zypp::HistoryLogData::optionalAt().
Edition zypp::HistoryLogDataRemove::edition | ( | ) | const |
package edition
Definition at line 254 of file HistoryLogData.cc.
References EDITION_INDEX, and zypp::HistoryLogData::optionalAt().
Arch zypp::HistoryLogDataRemove::arch | ( | ) | const |
package architecture
Definition at line 255 of file HistoryLogData.cc.
References ARCH_INDEX, and zypp::HistoryLogData::optionalAt().
std::string zypp::HistoryLogDataRemove::reqby | ( | ) | const |
requested by (user, pid:appname, or empty (solver))
Definition at line 256 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and REQBY_INDEX.
std::string zypp::HistoryLogDataRemove::userdata | ( | ) | const |
userdata/transactionID
Definition at line 257 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and USERDATA_INDEX.