libzypp 9.41.1

zypp::HistoryLogDataRepoAliasChange Class Reference

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

#include <HistoryLogData.h>

Inheritance diagram for zypp::HistoryLogDataRepoAliasChange:
zypp::HistoryLogData

List of all members.

Public Types

enum  Index {
  DATE_INDEX = HistoryLogData::DATE_INDEX, ACTION_INDEX = HistoryLogData::ACTION_INDEX, OLDALIAS_INDEX, NEWALIAS_INDEX,
  USERDATA_INDEX
}
 

< indices of known fields

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

Public Member Functions

 HistoryLogDataRepoAliasChange (FieldVector &fields_r)
 Ctor moving FieldVector (via swap).
std::string oldAlias () const
 repositories old alias
std::string newAlias () const
 repositories new alias
std::string userdata () const
 userdata/transactionID

Detailed Description

A zypp history log line for a repo alias change.

Definition at line 328 of file HistoryLogData.h.


Member Typedef Documentation

Reimplemented from zypp::HistoryLogData.

Definition at line 331 of file HistoryLogData.h.

Reimplemented from zypp::HistoryLogData.

Definition at line 332 of file HistoryLogData.h.


Member Enumeration Documentation

< indices of known fields

Enumerator:
DATE_INDEX 

date

ACTION_INDEX 

HistoryActionID.

OLDALIAS_INDEX 

repositories old alias

NEWALIAS_INDEX 

repositories new alias

USERDATA_INDEX 

userdata/transactionID

Reimplemented from zypp::HistoryLogData.

Definition at line 339 of file HistoryLogData.h.


Constructor & Destructor Documentation

zypp::HistoryLogDataRepoAliasChange::HistoryLogDataRepoAliasChange ( FieldVector fields_r)

Ctor moving FieldVector (via swap).

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

Definition at line 281 of file HistoryLogData.cc.


Member Function Documentation

std::string zypp::HistoryLogDataRepoAliasChange::oldAlias ( ) const

repositories old alias

Definition at line 284 of file HistoryLogData.cc.

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

std::string zypp::HistoryLogDataRepoAliasChange::newAlias ( ) const

repositories new alias

Definition at line 285 of file HistoryLogData.cc.

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

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

userdata/transactionID

Definition at line 286 of file HistoryLogData.cc.

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


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