libzypp 9.41.1

zypp::HistoryLogDataRepoAdd Class Reference

A zypp history log line for an added repository. More...

#include <HistoryLogData.h>

Inheritance diagram for zypp::HistoryLogDataRepoAdd:
zypp::HistoryLogData

List of all members.

Public Types

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

< indices of known fields

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

Public Member Functions

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

Detailed Description

A zypp history log line for an added repository.

Definition at line 268 of file HistoryLogData.h.


Member Typedef Documentation

Reimplemented from zypp::HistoryLogData.

Definition at line 271 of file HistoryLogData.h.

Reimplemented from zypp::HistoryLogData.

Definition at line 272 of file HistoryLogData.h.


Member Enumeration Documentation

< indices of known fields

Enumerator:
DATE_INDEX 

date

ACTION_INDEX 

HistoryActionID.

ALIAS_INDEX 

repository alias

URL_INDEX 

repository url

USERDATA_INDEX 

userdata/transactionID

Reimplemented from zypp::HistoryLogData.

Definition at line 279 of file HistoryLogData.h.


Constructor & Destructor Documentation

zypp::HistoryLogDataRepoAdd::HistoryLogDataRepoAdd ( FieldVector fields_r)

Ctor moving FieldVector (via swap).

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

Definition at line 262 of file HistoryLogData.cc.


Member Function Documentation

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

repository alias

Definition at line 265 of file HistoryLogData.cc.

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

Url zypp::HistoryLogDataRepoAdd::url ( ) const

repository url

Definition at line 266 of file HistoryLogData.cc.

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

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

userdata/transactionID

Definition at line 267 of file HistoryLogData.cc.

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


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