libzypp 9.41.1
|
Public Member Functions | |
Impl (const Pathname &historyFile_r, const Options &options_r, const ProcessData &callback_r) | |
bool | parseLine (const std::string &line_r, unsigned int lineNr_r) |
void | readAll (const ProgressData::ReceiverFnc &progress_r) |
void | readFrom (const Date &date_r, const ProgressData::ReceiverFnc &progress_r) |
void | readFromTo (const Date &fromDate_r, const Date &toDate_r, const ProgressData::ReceiverFnc &progress_r) |
Public Attributes | |
Pathname | _filename |
Options | _options |
ProcessData | _callback |
Definition at line 36 of file HistoryLogReader.cc.
zypp::parser::HistoryLogReader::Impl::Impl | ( | const Pathname & | historyFile_r, |
const Options & | options_r, | ||
const ProcessData & | callback_r | ||
) | [inline] |
Definition at line 38 of file HistoryLogReader.cc.
bool zypp::parser::HistoryLogReader::Impl::parseLine | ( | const std::string & | line_r, |
unsigned int | lineNr_r | ||
) |
Definition at line 62 of file HistoryLogReader.cc.
References _callback, _options, zypp::HistoryLogData::create(), ERR, zypp::parser::HistoryLogReader::IGNORE_INVALID_ITEMS, zypp::Exception::remember(), zypp::str::splitEscaped(), zypp::str::trim(), WAR, ZYPP_CAUGHT, and ZYPP_THROW.
void zypp::parser::HistoryLogReader::Impl::readAll | ( | const ProgressData::ReceiverFnc & | progress_r | ) |
Definition at line 110 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().
void zypp::parser::HistoryLogReader::Impl::readFrom | ( | const Date & | date_r, |
const ProgressData::ReceiverFnc & | progress_r | ||
) |
Definition at line 132 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().
void zypp::parser::HistoryLogReader::Impl::readFromTo | ( | const Date & | fromDate_r, |
const Date & | toDate_r, | ||
const ProgressData::ReceiverFnc & | progress_r | ||
) |
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().
Definition at line 50 of file HistoryLogReader.cc.
Definition at line 51 of file HistoryLogReader.cc.
Referenced by parseLine().
Definition at line 52 of file HistoryLogReader.cc.
Referenced by parseLine().