libzypp 9.41.1

zypp::HistoryLogDataRepoUrlChange Class Reference

A zypp history log line for a repo url change. More...

#include <HistoryLogData.h>

Inheritance diagram for zypp::HistoryLogDataRepoUrlChange:
zypp::HistoryLogData

List of all members.

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...
typedef shared_ptr
< HistoryLogDataRepoUrlChange
Ptr
typedef shared_ptr< const
HistoryLogDataRepoUrlChange
constPtr

Public Member Functions

 HistoryLogDataRepoUrlChange (FieldVector &fields_r)
 Ctor moving FieldVector (via swap).
std::string alias () const
 repository alias
Url newUrl () const
 repositories new url
std::string userdata () const
 userdata/transactionID

Detailed Description

A zypp history log line for a repo url change.

Definition at line 359 of file HistoryLogData.h.


Member Typedef Documentation

Reimplemented from zypp::HistoryLogData.

Definition at line 362 of file HistoryLogData.h.

Reimplemented from zypp::HistoryLogData.

Definition at line 363 of file HistoryLogData.h.


Member Enumeration Documentation

< indices of known fields

Enumerator:
DATE_INDEX 

date

ACTION_INDEX 

HistoryActionID.

ALIAS_INDEX 

repository alias

NEWURL_INDEX 

repositories new url

USERDATA_INDEX 

userdata/transactionID

Reimplemented from zypp::HistoryLogData.

Definition at line 370 of file HistoryLogData.h.


Constructor & Destructor Documentation

zypp::HistoryLogDataRepoUrlChange::HistoryLogDataRepoUrlChange ( FieldVector fields_r)

Ctor moving FieldVector (via swap).

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

Definition at line 291 of file HistoryLogData.cc.


Member Function Documentation

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

repository alias

Definition at line 294 of file HistoryLogData.cc.

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

Url zypp::HistoryLogDataRepoUrlChange::newUrl ( ) const

repositories new url

Definition at line 295 of file HistoryLogData.cc.

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

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

userdata/transactionID

Definition at line 296 of file HistoryLogData.cc.

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


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