|
libzypp
9.1.2
|
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.) | |
| std::ostream & | operator<< (std::ostream &str, const HistoryActionID &id) |
Enumeration of known history actions.
Definition at line 39 of file HistoryLogData.h.
| NONE_e | |
| INSTALL_e | |
| REMOVE_e | |
| REPO_ADD_e | |
| REPO_REMOVE_e | |
| REPO_CHANGE_ALIAS_e | |
| REPO_CHANGE_URL_e |
Definition at line 50 of file HistoryLogData.h.
| zypp::HistoryActionID::HistoryActionID | ( | ) | [inline] |
Definition at line 62 of file HistoryLogData.h.
| zypp::HistoryActionID::HistoryActionID | ( | ID | id | ) | [inline] |
Definition at line 64 of file HistoryLogData.h.
| zypp::HistoryActionID::HistoryActionID | ( | const std::string & | strval_r | ) | [explicit] |
Definition at line 45 of file HistoryLogData.cc.
| ID zypp::HistoryActionID::toEnum | ( | ) | const [inline] |
Definition at line 68 of file HistoryLogData.h.
References _id.
Referenced by zypp::parser::HistoryLogReader::Impl::createHistoryItem().
| HistoryActionID::ID zypp::HistoryActionID::parse | ( | const std::string & | strval_r | ) | [static] |
Definition at line 49 of file HistoryLogData.cc.
References zypp::_table, INSTALL_e, NONE_e, REMOVE_e, REPO_ADD_e, REPO_CHANGE_ALIAS_e, REPO_CHANGE_URL_e, REPO_REMOVE_e, and WAR.
| const std::string & zypp::HistoryActionID::asString | ( | bool | pad = false | ) | const |
Definition at line 73 of file HistoryLogData.cc.
References _id, zypp::_table, INSTALL_e, NONE_e, REMOVE_e, REPO_ADD_e, REPO_CHANGE_ALIAS_e, REPO_CHANGE_URL_e, and REPO_REMOVE_e.
Referenced by zypp::HistoryLog::addRepository(), zypp::HistoryItem::dumpTo(), zypp::HistoryLog::install(), zypp::HistoryLog::modifyRepository(), zypp::HistoryLog::remove(), and zypp::HistoryLog::removeRepository().
| std::ostream & operator<< | ( | std::ostream & | str, |
| const HistoryActionID & | id | ||
| ) | [related] |
Definition at line 93 of file HistoryLogData.cc.
const HistoryActionID zypp::HistoryActionID::NONE [static] |
Definition at line 41 of file HistoryLogData.h.
const HistoryActionID zypp::HistoryActionID::INSTALL [static] |
Definition at line 43 of file HistoryLogData.h.
Referenced by zypp::HistoryLog::install().
const HistoryActionID zypp::HistoryActionID::REMOVE [static] |
Definition at line 44 of file HistoryLogData.h.
Referenced by zypp::HistoryLog::remove().
const HistoryActionID zypp::HistoryActionID::REPO_ADD [static] |
Definition at line 45 of file HistoryLogData.h.
Referenced by zypp::HistoryLog::addRepository().
const HistoryActionID zypp::HistoryActionID::REPO_REMOVE [static] |
Definition at line 46 of file HistoryLogData.h.
Referenced by zypp::HistoryLog::removeRepository().
const HistoryActionID zypp::HistoryActionID::REPO_CHANGE_ALIAS [static] |
Definition at line 47 of file HistoryLogData.h.
Referenced by zypp::HistoryLog::modifyRepository().
const HistoryActionID zypp::HistoryActionID::REPO_CHANGE_URL [static] |
Definition at line 48 of file HistoryLogData.h.
Referenced by zypp::HistoryLog::modifyRepository().
ID zypp::HistoryActionID::_id [private] |
Definition at line 75 of file HistoryLogData.h.
Referenced by asString(), and toEnum().
1.7.6.1