1 #include <io/VEventFile.h>
2 #include <utl/ErrorLogger.h>
3 #include <boost/filesystem/operations.hpp>
4 #include <boost/filesystem/path.hpp>
11 namespace fs = boost::filesystem;
19 fat <<
"File " << fFilename <<
" is open for reading only.";
35 #if BOOST_FILESYSTEM_VERSION < 3
36 fs::path fullPath(filename.c_str(), fs::native);
37 fFilename = fullPath.native_file_string();
39 fs::path fullPath(filename.c_str());
40 fullPath = fs::system_complete(fullPath);
41 fFilename = fullPath.c_str();
Mode
Available open modes.
#define FATAL(message)
Macro for logging fatal messages.