single_job_report Class Reference

A single job report. More...

#include <reporter.h>

List of all members.

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_reportm_reports
std::string m_id


Detailed Description

A single job report.

Definition at line 159 of file reporter.h.


Constructor & Destructor Documentation

single_job_report::single_job_report (  ) 

C'tor.

Definition at line 631 of file reporter.cc.

References clear().

Here is the call graph for this function:

single_job_report::~single_job_report (  ) 

D'tor.

Definition at line 637 of file reporter.cc.


Member Function Documentation

void single_job_report::clear ( void   ) 

Clear all values.

Definition at line 642 of file reporter.cc.

References m_id, and m_reports.

Referenced by job_archiver::clear(), and single_job_report().

void single_job_report::add_report ( const job_path_report a_class  ) 

Add a path report for this job.

Definition at line 649 of file reporter.cc.

References m_reports, and TRY_nomem.

Referenced by job_archiver::mf_process_report().

const std::vector< job_path_report > & single_job_report::reports ( void   )  const

Return a const vector of all path reports.

Definition at line 655 of file reporter.cc.

References m_reports.

void single_job_report::id ( const std::string &  a_str  ) 

Set a descriptive ID for this job report.

Definition at line 661 of file reporter.cc.

References m_id, and TRY_nomem.

Referenced by job_archiver::start().

const std::string & single_job_report::id ( void   )  const

Return the descriptive id for this job report.

Definition at line 667 of file reporter.cc.

References m_id.

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 674 of file reporter.cc.

References m_reports.


Member Data Documentation

std::vector<job_path_report> single_job_report::m_reports [private]

Definition at line 176 of file reporter.h.

Referenced by add_report(), clear(), reports(), and status().

std::string single_job_report::m_id [private]

Definition at line 177 of file reporter.h.

Referenced by clear(), and id().


The documentation for this class was generated from the following files:
Generated on Tue Jul 1 12:11:59 2008 for rvm by  doxygen 1.5.1