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

Go to the documentation of this file.
00001 //Dear emacs, this is -*- c++ -*-
00002 
00013 #include "eformat/old/UnboundSourceIdentifierIssue.h"
00014 
00018 static const char* SOURCE_ID_KEY = "Unbound source identifier";
00019 static const char* CONTEXT_KEY = "Context";
00020 
00021 eformat::UnboundSourceIdentifierIssue::UnboundSourceIdentifierIssue
00022 (const ers::Context& context,
00023  ers::severity_t severity,
00024  uint32_t source_id, 
00025  const std::string& my_context)
00026   : eformat::Issue(context,severity)
00027 {
00028   set_value(SOURCE_ID_KEY, source_id);
00029   set_value(CONTEXT_KEY, my_context);
00030   finish_setup("Unbound (old) source identifier detected");
00031 }
00032 
00033 uint32_t eformat::UnboundSourceIdentifierIssue::source_id () const
00034 {
00035   return get_int_value(SOURCE_ID_KEY);
00036 }
00037 
00038 const std::string& eformat::UnboundSourceIdentifierIssue::my_context () const
00039 {
00040   return get_value(CONTEXT_KEY);
00041 }

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