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

Go to the documentation of this file.
00001 //Dear emacs, this is -*- c++ -*-
00002 
00014 #ifndef EFORMAT_NOTALIGNEDISSUE_H
00015 #define EFORMAT_NOTALIGNEDISSUE_H
00016 
00017 #include "eformat/Issue.h"
00018 #include <cstdlib>
00019 
00020 namespace eformat {
00021 
00026   class NotAlignedIssue : public eformat::Issue {
00027 
00028   public: //interface
00029 
00039     NotAlignedIssue(const ers::Context& context, ers::severity_t severity,
00040                     const void* base, size_t size);
00041 
00045     virtual ~NotAlignedIssue() throw() {}
00046 
00050     const void* base () const;
00051 
00055     size_t size () const;
00056 
00057   };
00058 
00059 }
00060 
00067 #define EFORMAT_NOT_ALIGNED(base, size) \
00068   eformat::NotAlignedIssue(ERS_HERE, ers::error, base, size)
00069 
00070 #endif /* EFORMAT_NOTALIGNEDISSUE_H */

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