estat.h

Go to the documentation of this file.
00001 #ifndef __estat_h__
00002 #define __estat_h__
00003 
00004 #include "asserts.h"
00005 
00006 class exitstat
00007 {
00008 public:
00009         typedef enum {
00010                 ok,
00011                 config_error,
00012                 vault_full,
00013                 job_failed,
00014                 other_error,
00015         } value_type;
00016 
00017         exitstat();
00018 
00019         void clear(void);
00020         void assign(value_type a_value);
00021         const value_type value(void) const;
00022 
00023 private:
00024         value_type m_value;
00025 };
00026 
00027 extern exitstat exit_manager;
00028 
00029 #endif

Generated on Tue Jul 1 12:09:27 2008 for rvm by  doxygen 1.5.1