00001
00002
00014 #ifndef EFORMAT_TOOBIGCOUNTISSUE_H
00015 #define EFORMAT_TOOBIGCOUNTISSUE_H
00016
00017 #include "eformat/Issue.h"
00018 #include <stdint.h>
00019
00020 namespace eformat {
00021
00026 class TooBigCountIssue : public eformat::Issue {
00027
00028 public:
00029
00039 TooBigCountIssue(const ers::Context& context, ers::severity_t severity,
00040 size_t count, size_t maxcount);
00041
00042
00046 virtual ~TooBigCountIssue() throw() {}
00047
00051 size_t count () const;
00052
00056 size_t max_count () const;
00057
00058 };
00059
00060 }
00061
00068 #define EFORMAT_TOO_BIG_COUNT(count, maxcount) \
00069 eformat::TooBigCountIssue(ERS_HERE, ers::error, count, maxcount)
00070
00071 #endif