runtime/cpp/src/storage/FileHandle.cpp
//  SOURCE FILE HANDLE (binary file access)

SOURCE FILE HANDLE (binary file access)
SOURCE FILE HANDLE ( binary file access )
SourceFileHandle::SourceFileHandle (std::string path, CodecFormat fmt) : FileHandle(fmt)
{
  file_.exceptions (ios_base::failbit | std::ios_base::badbit );
  try {
    file_.open (path, std::ios::in | std::ios::binary);
  }
  catch (ios_base::failure e) {
    throw e;
  }
}
SourceFileHandle :: SourceFileHandle ( std :: string path , CodecFormat fmt ) : FileHandle ( fmt ) { file_ . exceptions ( ios_base :: failbit | std :: ios_base :: badbit ) ; try { file_ . open ( path , std :: ios :: in | std :: ios :: binary ) ; } catch ( ios_base :: failure e ) { throw e ; } }
SOURCE FILE HANDLE (binary file access)
SOURCE FILE HANDLE ( binary file access )