#include <reporter.h>
Public Member Functions | |
jobs_report () | |
C'tor. | |
~jobs_report () | |
D'tor. | |
void | clear (void) |
Clear all values. | |
void | add_report (const single_job_report &a_class) |
Add a job report to the list. | |
const std::vector < single_job_report > & | reports (void) const |
Return a const vector of all job reports. | |
void | write_report (std::ostream &a_out) |
Format job reports and output to the given stream. | |
void | format_synopsis (table &a_table) |
Generate a synopsis report. | |
Private Attributes | |
std::vector< single_job_report > | m_jobs |
All job reports.
Definition at line 186 of file reporter.h.
jobs_report::jobs_report | ( | ) |
C'tor.
Definition at line 731 of file reporter.cc.
References clear().
jobs_report::~jobs_report | ( | ) |
D'tor.
Definition at line 737 of file reporter.cc.
void jobs_report::add_report | ( | const single_job_report & | a_class | ) |
Add a job report to the list.
Definition at line 748 of file reporter.cc.
References m_jobs, and TRY_nomem.
Referenced by archive_manager::archive().
void jobs_report::clear | ( | void | ) |
Clear all values.
Definition at line 742 of file reporter.cc.
References m_jobs.
Referenced by report_manager::clear(), and jobs_report().
void jobs_report::format_synopsis | ( | table & | a_table | ) |
Generate a synopsis report.
Definition at line 894 of file reporter.cc.
References estring::align(), m_jobs, percent_string(), estring::right, and table_endl().
Referenced by report_manager::mf_write_synopsis().
const std::vector< single_job_report > & jobs_report::reports | ( | void | ) | const |
Return a const vector of all job reports.
Definition at line 754 of file reporter.cc.
References m_jobs.
void jobs_report::write_report | ( | std::ostream & | a_out | ) |
Format job reports and output to the given stream.
Definition at line 760 of file reporter.cc.
References estring::align(), rstat::exit(), estring::fillchar(), estring::left, m_jobs, estring::right, rsync_estat_str, rstat::signal(), table_endl(), and table_repeat().
Referenced by report_manager::write_report().
std::vector<single_job_report> jobs_report::m_jobs [private] |
Definition at line 202 of file reporter.h.
Referenced by add_report(), clear(), format_synopsis(), reports(), and write_report().