libzypp 9.41.1
|
A zypp history log line for an installed packaged. 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, REPOALIAS_INDEX, CHEKSUM_INDEX, USERDATA_INDEX } |
< indices of known fields More... | |
typedef shared_ptr < HistoryLogDataInstall > | Ptr |
typedef shared_ptr< const HistoryLogDataInstall > | constPtr |
Public Member Functions | |
HistoryLogDataInstall (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 | repoAlias () const |
repository providing the package | |
CheckSum | checksum () const |
package checksum | |
std::string | userdata () const |
userdata/transactionID |
A zypp history log line for an installed packaged.
Definition at line 194 of file HistoryLogData.h.
typedef shared_ptr<HistoryLogDataInstall> zypp::HistoryLogDataInstall::Ptr |
Reimplemented from zypp::HistoryLogData.
Definition at line 197 of file HistoryLogData.h.
typedef shared_ptr<const HistoryLogDataInstall> zypp::HistoryLogDataInstall::constPtr |
Reimplemented from zypp::HistoryLogData.
Definition at line 198 of file HistoryLogData.h.
< indices of known fields
Reimplemented from zypp::HistoryLogData.
Definition at line 205 of file HistoryLogData.h.
zypp::HistoryLogDataInstall::HistoryLogDataInstall | ( | FieldVector & | fields_r | ) |
Ctor moving FieldVector (via swap).
ParseException | if fields_r has the wrong HistoryActionID or number of fields. |
Definition at line 236 of file HistoryLogData.cc.
std::string zypp::HistoryLogDataInstall::name | ( | ) | const |
package name
Definition at line 239 of file HistoryLogData.cc.
References NAME_INDEX, and zypp::HistoryLogData::optionalAt().
Edition zypp::HistoryLogDataInstall::edition | ( | ) | const |
package edition
Definition at line 240 of file HistoryLogData.cc.
References EDITION_INDEX, and zypp::HistoryLogData::optionalAt().
Arch zypp::HistoryLogDataInstall::arch | ( | ) | const |
package architecture
Definition at line 241 of file HistoryLogData.cc.
References ARCH_INDEX, and zypp::HistoryLogData::optionalAt().
std::string zypp::HistoryLogDataInstall::reqby | ( | ) | const |
requested by (user, pid:appname, or empty (solver))
Definition at line 242 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and REQBY_INDEX.
std::string zypp::HistoryLogDataInstall::repoAlias | ( | ) | const |
repository providing the package
Definition at line 243 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and REPOALIAS_INDEX.
CheckSum zypp::HistoryLogDataInstall::checksum | ( | ) | const |
package checksum
Definition at line 244 of file HistoryLogData.cc.
References CHEKSUM_INDEX, and zypp::HistoryLogData::optionalAt().
std::string zypp::HistoryLogDataInstall::userdata | ( | ) | const |
userdata/transactionID
Definition at line 245 of file HistoryLogData.cc.
References zypp::HistoryLogData::optionalAt(), and USERDATA_INDEX.