rvm 1.08
|
A single job report. More...
#include <reporter.h>
Public Member Functions | |
single_job_report () | |
C'tor. | |
~single_job_report () | |
D'tor. | |
void | clear (void) |
Clear all values. | |
void | add_report (const job_path_report &a_class) |
Add a path report for this job. | |
const std::vector < job_path_report > & | reports (void) const |
Return a const vector of all path reports. | |
void | id (const std::string &a_str) |
Set a descriptive ID for this job report. | |
const std::string & | id (void) const |
Return the descriptive id for this job report. | |
const bool | status (void) const |
If all path reports say that rsync was successful, then return true, else return false. | |
Private Attributes | |
std::vector< job_path_report > | m_reports |
std::string | m_id |
A single job report.
Definition at line 164 of file reporter.h.
single_job_report::single_job_report | ( | ) |
C'tor.
Definition at line 672 of file reporter.cc.
References clear().
single_job_report::~single_job_report | ( | ) |
D'tor.
Definition at line 678 of file reporter.cc.
void single_job_report::add_report | ( | const job_path_report & | a_class | ) |
Add a path report for this job.
Definition at line 690 of file reporter.cc.
References m_reports, and TRY_nomem.
Referenced by job_archiver::mf_process_report().
void single_job_report::clear | ( | void | ) |
Clear all values.
Definition at line 683 of file reporter.cc.
References m_id, and m_reports.
Referenced by job_archiver::clear(), and single_job_report().
const std::string & single_job_report::id | ( | void | ) | const |
Return the descriptive id for this job report.
Definition at line 708 of file reporter.cc.
References m_id.
void single_job_report::id | ( | const std::string & | a_str | ) |
Set a descriptive ID for this job report.
Definition at line 702 of file reporter.cc.
References m_id, and TRY_nomem.
Referenced by job_archiver::start().
const std::vector< job_path_report > & single_job_report::reports | ( | void | ) | const |
Return a const vector of all path reports.
Definition at line 696 of file reporter.cc.
References m_reports.
const bool single_job_report::status | ( | void | ) | const |
If all path reports say that rsync was successful, then return true, else return false.
Definition at line 715 of file reporter.cc.
References m_reports.
std::string single_job_report::m_id [private] |
Definition at line 182 of file reporter.h.
std::vector<job_path_report> single_job_report::m_reports [private] |
Definition at line 181 of file reporter.h.
Referenced by add_report(), clear(), reports(), and status().