Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SizeCheckIssue.h

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

Generated on Wed Feb 2 15:41:33 2011 for BOSS6.5.5 by  doxygen 1.3.9.1