rvm  1.11
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
exitstat Class Reference

#include <estat.h>

Collaboration diagram for exitstat:
Collaboration graph

Public Types

enum  value_type {
  ok, config_error, vault_full, job_failed,
  other_error
}
 

Public Member Functions

 exitstat ()
 
void clear (void)
 
void assign (value_type a_value)
 
const value_type value (void) const
 

Private Attributes

value_type m_value
 

Detailed Description

Definition at line 6 of file estat.h.

Member Enumeration Documentation

Enumerator
ok 
config_error 
vault_full 
job_failed 
other_error 

Definition at line 9 of file estat.h.

Constructor & Destructor Documentation

exitstat::exitstat ( )

Definition at line 6 of file estat.cc.

Member Function Documentation

void exitstat::assign ( exitstat::value_type  a_value)

Definition at line 15 of file estat.cc.

References m_value.

Referenced by vault_manager::delete_oldest_archive(), main(), and vault_manager::prepare().

void exitstat::clear ( void  )

Definition at line 10 of file estat.cc.

References m_value, and ok.

const exitstat::value_type exitstat::value ( void  ) const

Definition at line 20 of file estat.cc.

References m_value.

Referenced by main().

Member Data Documentation

value_type exitstat::m_value
private

Definition at line 24 of file estat.h.

Referenced by assign(), clear(), and value().


The documentation for this class was generated from the following files: