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

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

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