rvm 1.08
Public Member Functions | Private Attributes

vault_report Class Reference

Vault selection and usage report. More...

#include <reporter.h>

List of all members.

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_reportm_reports

Detailed Description

Vault selection and usage report.

Definition at line 68 of file reporter.h.


Constructor & Destructor Documentation

vault_report::vault_report ( )

C'tor.

Definition at line 159 of file reporter.cc.

References clear().

Here is the call graph for this function:

vault_report::~vault_report ( )

D'tor.

Definition at line 165 of file reporter.cc.


Member Function Documentation

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

Here is the call graph for this function:

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 82 of file reporter.h.

Referenced by add_report(), clear(), and write_report().


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