Vault selection and usage report. More...
#include <reporter.h>
Public Member Functions | |
vault_report () | |
C'tor. | |
~vault_report () | |
D'tor. | |
void | clear (void) |
Clear all values. | |
void | add_report (const vault_stats_report &a_class) |
Add a vault report to the list. | |
void | write_report (std::ostream &a_out) |
Format and print the vault report to the given stream. | |
void | format_synopsis (table &a_table) |
Generate a synopsis report. | |
Private Attributes | |
std::vector< vault_stats_report > | m_reports |
Vault selection and usage report.
Definition at line 68 of file reporter.h.
vault_report::vault_report | ( | ) |
C'tor.
Definition at line 159 of file reporter.cc.
References clear().
vault_report::~vault_report | ( | ) |
D'tor.
Definition at line 165 of file reporter.cc.
void vault_report::add_report | ( | const vault_stats_report & | a_class | ) |
Add a vault report to the list.
Definition at line 176 of file reporter.cc.
References m_reports, and TRY_nomem.
Referenced by archive_manager::archive(), vault_manager::delete_oldest_archive(), archive_manager::init(), and vault_manager::overflow().
void vault_report::clear | ( | void | ) |
Clear all values.
Definition at line 170 of file reporter.cc.
References m_reports.
Referenced by report_manager::clear(), and vault_report().
void vault_report::format_synopsis | ( | table & | a_table | ) |
Generate a synopsis report.
Definition at line 318 of file reporter.cc.
References estring::align(), config, estring::right, timestamp::str(), table_endl(), configuration_manager::timestamp(), vault_manager::vault(), and vaulter.
Referenced by report_manager::mf_write_synopsis().
void vault_report::write_report | ( | std::ostream & | a_out | ) |
Format and print the vault report to the given stream.
Definition at line 184 of file reporter.cc.
References estring::align(), ASSERT, estring::center, estring::fillchar(), estring::left, m_reports, percent_string(), estring::right, and table_endl().
Referenced by report_manager::write_report().
std::vector<vault_stats_report> vault_report::m_reports [private] |
Definition at line 82 of file reporter.h.
Referenced by add_report(), clear(), and write_report().