libzypp 9.41.1

zypp::HistoryLogDataRepoRemove Class Reference

A zypp history log line for a removed repository. More...

#include <HistoryLogData.h>

Inheritance diagram for zypp::HistoryLogDataRepoRemove:
zypp::HistoryLogData

List of all members.

Public Types

enum  Index { DATE_INDEX = HistoryLogData::DATE_INDEX, ACTION_INDEX = HistoryLogData::ACTION_INDEX, ALIAS_INDEX, USERDATA_INDEX }
 

< indices of known fields

More...
typedef shared_ptr
< HistoryLogDataRepoRemove
Ptr
typedef shared_ptr< const
HistoryLogDataRepoRemove
constPtr

Public Member Functions

 HistoryLogDataRepoRemove (FieldVector &fields_r)
 Ctor moving FieldVector (via swap).
std::string alias () const
 repository alias
std::string userdata () const
 userdata/transactionID

Detailed Description

A zypp history log line for a removed repository.

Definition at line 299 of file HistoryLogData.h.


Member Typedef Documentation

Reimplemented from zypp::HistoryLogData.

Definition at line 302 of file HistoryLogData.h.

Reimplemented from zypp::HistoryLogData.

Definition at line 303 of file HistoryLogData.h.


Member Enumeration Documentation

< indices of known fields

Enumerator:
DATE_INDEX 

date

ACTION_INDEX 

HistoryActionID.

ALIAS_INDEX 

repository alias

USERDATA_INDEX 

userdata/transactionID

Reimplemented from zypp::HistoryLogData.

Definition at line 310 of file HistoryLogData.h.


Constructor & Destructor Documentation

zypp::HistoryLogDataRepoRemove::HistoryLogDataRepoRemove ( FieldVector fields_r)

Ctor moving FieldVector (via swap).

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

Definition at line 272 of file HistoryLogData.cc.


Member Function Documentation

std::string zypp::HistoryLogDataRepoRemove::alias ( ) const

repository alias

Definition at line 275 of file HistoryLogData.cc.

References ALIAS_INDEX, and zypp::HistoryLogData::optionalAt().

std::string zypp::HistoryLogDataRepoRemove::userdata ( ) const

userdata/transactionID

Definition at line 276 of file HistoryLogData.cc.

References zypp::HistoryLogData::optionalAt(), and USERDATA_INDEX.


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