|
libzypp
9.1.2
|
Public Member Functions | |
| Impl (const Pathname &historyFile, const ProcessItem &callback) | |
| ~Impl () | |
| HistoryItem::Ptr | createHistoryItem (HistoryItem::FieldVector &fields) |
| void | parseLine (const string &line, unsigned int lineNr) |
| void | readAll (const ProgressData::ReceiverFnc &progress) |
| void | readFrom (const Date &date, const ProgressData::ReceiverFnc &progress) |
| void | readFromTo (const Date &fromDate, const Date &toDate, const ProgressData::ReceiverFnc &progress) |
Public Attributes | |
| Pathname | _filename |
| ProcessItem | _callback |
| bool | _ignoreInvalid |
Definition at line 38 of file HistoryLogReader.cc.
| zypp::parser::HistoryLogReader::Impl::Impl | ( | const Pathname & | historyFile, |
| const ProcessItem & | callback | ||
| ) |
Definition at line 59 of file HistoryLogReader.cc.
| zypp::parser::HistoryLogReader::Impl::~Impl | ( | ) | [inline] |
Definition at line 41 of file HistoryLogReader.cc.
| HistoryItem::Ptr zypp::parser::HistoryLogReader::Impl::createHistoryItem | ( | HistoryItem::FieldVector & | fields | ) |
Definition at line 65 of file HistoryLogReader.cc.
References zypp::HistoryActionID::INSTALL_e, zypp::HistoryActionID::REMOVE_e, zypp::HistoryActionID::REPO_ADD_e, zypp::HistoryActionID::REPO_CHANGE_ALIAS_e, zypp::HistoryActionID::REPO_CHANGE_URL_e, zypp::HistoryActionID::REPO_REMOVE_e, zypp::HistoryActionID::toEnum(), zypp::str::trim(), and WAR.
| void zypp::parser::HistoryLogReader::Impl::parseLine | ( | const string & | line, |
| unsigned int | lineNr | ||
| ) |
Definition at line 101 of file HistoryLogReader.cc.
References zypp::Exception::addHistory(), ERR, zypp::str::form(), zypp::Exception::remember(), zypp::str::splitEscaped(), ZYPP_CAUGHT, and ZYPP_THROW.
| void zypp::parser::HistoryLogReader::Impl::readAll | ( | const ProgressData::ReceiverFnc & | progress | ) |
Definition at line 149 of file HistoryLogReader.cc.
References zypp::iostr::EachLine::lineNo(), zypp::iostr::EachLine::next(), zypp::ProgressData::sendTo(), zypp::ProgressData::tick(), zypp::ProgressData::toMax(), and zypp::ProgressData::toMin().
Referenced by zypp::parser::HistoryLogReader::readAll().
| void zypp::parser::HistoryLogReader::Impl::readFrom | ( | const Date & | date, |
| const ProgressData::ReceiverFnc & | progress | ||
| ) |
Definition at line 170 of file HistoryLogReader.cc.
References HISTORY_LOG_DATE_FORMAT, zypp::iostr::EachLine::lineNo(), zypp::iostr::EachLine::next(), zypp::ProgressData::sendTo(), zypp::ProgressData::tick(), zypp::ProgressData::toMax(), and zypp::ProgressData::toMin().
Referenced by zypp::parser::HistoryLogReader::readFrom().
| void zypp::parser::HistoryLogReader::Impl::readFromTo | ( | const Date & | fromDate, |
| const Date & | toDate, | ||
| const ProgressData::ReceiverFnc & | progress | ||
| ) |
Definition at line 205 of file HistoryLogReader.cc.
References HISTORY_LOG_DATE_FORMAT, zypp::iostr::EachLine::lineNo(), zypp::iostr::EachLine::next(), zypp::ProgressData::sendTo(), zypp::ProgressData::tick(), zypp::ProgressData::toMax(), and zypp::ProgressData::toMin().
Referenced by zypp::parser::HistoryLogReader::readFromTo().
Definition at line 54 of file HistoryLogReader.cc.
Definition at line 55 of file HistoryLogReader.cc.
Definition at line 56 of file HistoryLogReader.cc.
Referenced by zypp::parser::HistoryLogReader::ignoreInvalidItems(), and zypp::parser::HistoryLogReader::setIgnoreInvalidItems().
1.7.6.1