libzypp 9.41.1

zypp::HistoryLogDataInstall Class Reference

A zypp history log line for an installed packaged. More...

#include <HistoryLogData.h>

Inheritance diagram for zypp::HistoryLogDataInstall:
zypp::HistoryLogData

List of all members.

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

Detailed Description

A zypp history log line for an installed packaged.

Definition at line 194 of file HistoryLogData.h.


Member Typedef Documentation

Reimplemented from zypp::HistoryLogData.

Definition at line 197 of file HistoryLogData.h.

Reimplemented from zypp::HistoryLogData.

Definition at line 198 of file HistoryLogData.h.


Member Enumeration Documentation

< indices of known fields

Enumerator:
DATE_INDEX 

date

ACTION_INDEX 

HistoryActionID.

NAME_INDEX 

package name

EDITION_INDEX 

package edition

ARCH_INDEX 

package architecture

REQBY_INDEX 

requested by (user, pid:appname, or empty (solver))

REPOALIAS_INDEX 

repository providing the package

CHEKSUM_INDEX 

package checksum

USERDATA_INDEX 

userdata/transactionID

Reimplemented from zypp::HistoryLogData.

Definition at line 205 of file HistoryLogData.h.


Constructor & Destructor Documentation

zypp::HistoryLogDataInstall::HistoryLogDataInstall ( FieldVector fields_r)

Ctor moving FieldVector (via swap).

Exceptions:
ParseExceptionif fields_r has the wrong HistoryActionID or number of fields.

Definition at line 236 of file HistoryLogData.cc.


Member Function Documentation

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.


The documentation for this class was generated from the following files: