/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/eformat/eformat-00-00-04/eformat/BadVersionIssue.h

Go to the documentation of this file.
00001 //Dear emacs, this is -*- c++ -*-
00002 
00013 #ifndef EFORMAT_BADVERSIONISSUE_H
00014 #define EFORMAT_BADVERSIONISSUE_H
00015 
00016 #include "eformat/Issue.h"
00017 #include <cstdlib>
00018 #include <stdint.h>
00019 
00020 namespace eformat {
00021 
00025   class BadVersionIssue : public eformat::Issue {
00026 
00027   public: //interface
00028 
00038     BadVersionIssue(const ers::Context& context, ers::severity_t severity,
00039                     uint16_t current, uint16_t supported);
00040 
00044     virtual ~BadVersionIssue() throw() {}
00045 
00049     uint16_t current () const;
00050 
00054     uint16_t supported () const;
00055 
00056   };
00057 
00058 }
00059 
00066 #define EFORMAT_BAD_VERSION(current, supported) \
00067   eformat::BadVersionIssue(ERS_HERE, ers::error, current, supported)
00068 
00069 #endif /* EFORMAT_BADVERSIONISSUE_H */

Generated on Tue Nov 29 22:58:24 2016 for BOSS_7.0.2 by  doxygen 1.4.7