/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/eformat/eformat-00-00-04/src/TooBigCountIssue.cxx

Go to the documentation of this file.
00001 //Dear emacs, this is -*- c++ -*-
00002 
00013 #include "eformat/TooBigCountIssue.h"
00014 
00018 static const char* CURRENT_COUNT_KEY = "The number of blocks I have to manage";
00019 static const char* MAX_COUNT_KEY = "The maximum number of blocks I can handle";
00020 
00021 eformat::TooBigCountIssue::TooBigCountIssue(const ers::Context& context,
00022                                             ers::severity_t severity,
00023                                             size_t count, size_t maxcount)
00024   : eformat::Issue(context,severity)
00025 {
00026   set_value(CURRENT_COUNT_KEY, count);
00027   set_value(MAX_COUNT_KEY, maxcount);
00028   finish_setup("Overloaded paged-memory container");
00029 }
00030 
00031 size_t eformat::TooBigCountIssue::count () const
00032 {
00033   return get_int_value(CURRENT_COUNT_KEY);
00034 }
00035 
00036 size_t eformat::TooBigCountIssue::max_count () const
00037 {
00038   return get_int_value(MAX_COUNT_KEY);
00039 }

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