9 #include <framework/database/PayloadFile.h>
10 #include <framework/logging/Logger.h>
17 string PayloadFile::getContent()
const
19 ifstream file(m_fileName.c_str());
20 if (!file.is_open()) {
21 B2ERROR(
"Opening of payload file " << m_fileName <<
" failed.");
25 buffer << file.rdbuf();
Abstract base class for different kinds of events.