Belle II Software
release-08-01-10
|
InputContext which serves the content of a plain file. More...
#include <FileHandler.h>
Public Member Functions | |
FileContext (const std::string &filename, bool compressed) | |
Open the given filename. More... | |
virtual int | readXmlData (char *buffer, int buffsize) override |
Return a block of the data. | |
virtual | ~FileContext () |
Close the file. | |
Protected Attributes | |
boost::iostreams::filtering_istream | m_stream |
stream to read data from | |
InputContext which serves the content of a plain file.
Definition at line 23 of file FileHandler.h.
FileContext | ( | const std::string & | filename, |
bool | compressed | ||
) |
Open the given filename.
filename | absolute filename name of the file |
compressed | if true, decompress the file on the fly |
Definition at line 28 of file FileHandler.cc.