#include <reporter.h>
Collaboration diagram for job_path_report:
Public Member Functions | |
job_path_report () | |
C'tor. | |
job_path_report (const job_path_report &a_class) | |
C'tor. | |
job_path_report (const std::string a_source, const timer a_time, const uint16 a_exit_code, const uint16 a_signal_num, const std::string a_error_message) | |
C'tor. | |
~job_path_report () | |
D'tor. | |
void | clear (void) |
Clear all values. | |
void | assign (const job_path_report &a_class) |
Assignment. | |
void | assign (const std::string a_source, const timer a_time, const uint16 a_exit_code, const uint16 a_signal_num, const std::string a_error_message) |
Assignment. | |
const bool | status (void) const |
Return true if rsync succeeded archiving this path. | |
void | source (const std::string &a_class) |
Set the path archived for this report. | |
const std::string & | source (void) const |
Return a string of the path archived. | |
void | time (const timer &a_class) |
Set the timer values for this report. | |
const timer & | time (void) const |
Return the timer object for this report. | |
void | exit_code (const int a_exit_code) |
Set rsync's return exit code when archiving this path. | |
const int | exit_code (void) const |
Return rsync's exit code. | |
void | signal_num (const int a_signal_num) |
Set rsync's signal number from archiving this path. | |
const int | signal_num (void) const |
Return rsync's signal number. | |
void | error_msg (const std::string &a_class) |
Set a descriptive error message for this report. | |
const std::string & | error_msg (void) const |
Return the error message. | |
job_path_report & | operator= (const job_path_report &a_class) |
Assignment operator. | |
Private Attributes | |
std::string | m_source |
timer | m_time |
int | m_exit_code |
int | m_signal_num |
std::string | m_error_msg |
Definition at line 86 of file reporter.h.
|
C'tor.
Definition at line 333 of file reporter.cc. References clear(). Here is the call graph for this function: |
|
C'tor.
Definition at line 339 of file reporter.cc. References assign(), and clear(). Here is the call graph for this function: |
|
C'tor.
Definition at line 346 of file reporter.cc. References assign(), and clear(). Here is the call graph for this function: |
|
D'tor.
Definition at line 359 of file reporter.cc. |
|
Assignment.
Definition at line 386 of file reporter.cc. References m_error_msg, m_exit_code, m_signal_num, m_source, m_time, and TRY_nomem. |
|
Assignment.
Definition at line 374 of file reporter.cc. References m_error_msg, m_exit_code, m_signal_num, m_source, and m_time. Referenced by job_path_report(), operator=(), and reportio::parse(). |
|
Clear all values.
Definition at line 364 of file reporter.cc. References timer::clear(), m_error_msg, m_exit_code, m_signal_num, m_source, and m_time. Referenced by job_archiver::clear(), and job_path_report(). Here is the call graph for this function: |
|
Return the error message.
Definition at line 465 of file reporter.cc. References m_error_msg. |
|
Set a descriptive error message for this report.
Definition at line 459 of file reporter.cc. References m_error_msg, and TRY_nomem. |
|
Return rsync's exit code.
Definition at line 441 of file reporter.cc. References m_exit_code. |
|
Set rsync's return exit code when archiving this path.
Definition at line 435 of file reporter.cc. References m_exit_code. |
|
Assignment operator.
Definition at line 471 of file reporter.cc. References assign(). Here is the call graph for this function: |
|
Return rsync's signal number.
Definition at line 453 of file reporter.cc. References m_signal_num. |
|
Set rsync's signal number from archiving this path.
Definition at line 447 of file reporter.cc. References m_signal_num. |
|
Return a string of the path archived.
Definition at line 417 of file reporter.cc. References m_source. |
|
Set the path archived for this report.
Definition at line 411 of file reporter.cc. |
|
Return true if rsync succeeded archiving this path.
Definition at line 402 of file reporter.cc. References m_exit_code, and m_signal_num. |
|
Return the timer object for this report.
Definition at line 429 of file reporter.cc. References m_time. |
|
Set the timer values for this report.
Definition at line 423 of file reporter.cc. |
|
Definition at line 130 of file reporter.h. Referenced by assign(), clear(), and error_msg(). |
|
Definition at line 128 of file reporter.h. Referenced by assign(), clear(), exit_code(), and status(). |
|
Definition at line 129 of file reporter.h. Referenced by assign(), clear(), signal_num(), and status(). |
|
Definition at line 126 of file reporter.h. |
|
Definition at line 127 of file reporter.h. |