rvm 1.08
Public Member Functions | Private Attributes

jobs_report Class Reference

All job reports. More...

#include <reporter.h>

List of all members.

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_reportm_jobs

Detailed Description

All job reports.

Definition at line 186 of file reporter.h.


Constructor & Destructor Documentation

jobs_report::jobs_report ( )

C'tor.

Definition at line 731 of file reporter.cc.

References clear().

Here is the call graph for this function:

jobs_report::~jobs_report ( )

D'tor.

Definition at line 737 of file reporter.cc.


Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines