Belle II Software light-2406-ragdoll
|
A wrapper class for payload files used by the Database and DBStore classes. More...
#include <PayloadFile.h>
Public Member Functions | |
PayloadFile (const std::string &fileName) | |
Constructor. | |
std::string | getFileName () const |
Get the name of the downloaded payload file. | |
std::string | getContent () const |
Read the content of the payload (text) file. | |
Private Attributes | |
std::string | m_fileName |
Name of the payload file. | |
A wrapper class for payload files used by the Database and DBStore classes.
Definition at line 23 of file PayloadFile.h.
|
inlineexplicit |
Constructor.
fileName | Name of the payload file obtained from the database. |
Definition at line 29 of file PayloadFile.h.
string getContent | ( | ) | const |
Read the content of the payload (text) file.
Definition at line 17 of file PayloadFile.cc.
|
inline |
Get the name of the downloaded payload file.
Definition at line 35 of file PayloadFile.h.
|
private |
Name of the payload file.
Definition at line 44 of file PayloadFile.h.