7 #include <boost/filesystem/path.hpp> 8 #include <boost/filesystem/fstream.hpp> 9 #include <boost/filesystem/operations.hpp> 13 #include <fwCore/exceptionmacros.hpp> 15 #include "fwMemory/stream/in/Raw.hpp" 24 SPTR(std::istream) Raw::get()
26 FW_RAISE_IF(
"file "<< m_path.string() <<
" does not exist anymore or has been moved.",
27 !boost::filesystem::exists(m_path));
29 SPTR(::boost::filesystem::ifstream) fs
30 =
std::make_shared< ::
boost::filesystem::ifstream>(m_path,
std::ios::in|
std::ios::binary);
The namespace fwMemory contains tools to manage memory. Use for dump.
This file defines fwCore base macros.