libzypp
13.10.6
|
Enumeration of known history actions. More...
#include <HistoryLogData.h>
Public Types | |
enum | ID { NONE_e, INSTALL_e, REMOVE_e, REPO_ADD_e, REPO_REMOVE_e, REPO_CHANGE_ALIAS_e, REPO_CHANGE_URL_e } |
Public Member Functions | |
HistoryActionID () | |
HistoryActionID (ID id) | |
HistoryActionID (const std::string &strval_r) | |
ID | toEnum () const |
const std::string & | asString (bool pad=false) const |
Static Public Member Functions | |
static HistoryActionID::ID | parse (const std::string &strval_r) |
Static Public Attributes | |
static const HistoryActionID | NONE |
static const HistoryActionID | INSTALL |
static const HistoryActionID | REMOVE |
static const HistoryActionID | REPO_ADD |
static const HistoryActionID | REPO_REMOVE |
static const HistoryActionID | REPO_CHANGE_ALIAS |
static const HistoryActionID | REPO_CHANGE_URL |
Private Attributes | |
ID | _id |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (const HistoryActionID &lhs, const HistoryActionID &rhs) |
bool | operator!= (const HistoryActionID &lhs, const HistoryActionID &rhs) |
std::ostream & | operator<< (std::ostream &str, const HistoryActionID &id) |
Enumeration of known history actions.
Definition at line 36 of file HistoryLogData.h.
Enumerator | |
---|---|
NONE_e | |
INSTALL_e | |
REMOVE_e | |
REPO_ADD_e | |
REPO_REMOVE_e | |
REPO_CHANGE_ALIAS_e | |
REPO_CHANGE_URL_e |
Definition at line 47 of file HistoryLogData.h.
|
inline |
Definition at line 59 of file HistoryLogData.h.
|
inline |
Definition at line 61 of file HistoryLogData.h.
|
explicit |
Definition at line 43 of file HistoryLogData.cc.
|
inline |
Definition at line 65 of file HistoryLogData.h.
|
static |
Definition at line 47 of file HistoryLogData.cc.
const std::string & zypp::HistoryActionID::asString | ( | bool | pad = false | ) | const |
Definition at line 72 of file HistoryLogData.cc.
|
related |
Definition at line 76 of file HistoryLogData.h.
|
related |
Definition at line 80 of file HistoryLogData.h.
|
related |
Definition at line 92 of file HistoryLogData.cc.
|
static |
Definition at line 38 of file HistoryLogData.h.
|
static |
Definition at line 40 of file HistoryLogData.h.
|
static |
Definition at line 41 of file HistoryLogData.h.
|
static |
Definition at line 42 of file HistoryLogData.h.
|
static |
Definition at line 43 of file HistoryLogData.h.
|
static |
Definition at line 44 of file HistoryLogData.h.
|
static |
Definition at line 45 of file HistoryLogData.h.
|
private |
Definition at line 72 of file HistoryLogData.h.