OpenMS
Loading...
Searching...
No Matches
ZipRandomAccessFile.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// --------------------------------------------------------------------------
3// $Maintainer: Justin Sing $
4// $Authors: Justin Sing $
5// --------------------------------------------------------------------------
6
7#pragma once
8
10#include <OpenMS/SYSTEM/File.h>
11#include <arrow/io/api.h>
12
13namespace OpenMS
14{
15
28struct OPENMS_DLLAPI ZipRandomAccessFile
29{
30 static arrow::Result<std::shared_ptr<arrow::io::RandomAccessFile>> Open(const String& archive_path,
31 const String& entry_name,
32 std::unique_ptr<File::TempDir>& temp_dir);
33};
34
35} // namespace OpenMS
A more convenient string class.
Definition String.h:32
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Factory to obtain an Arrow RandomAccessFile for a named entry inside a zip archive (or a direct file ...
Definition ZipRandomAccessFile.h:29
static arrow::Result< std::shared_ptr< arrow::io::RandomAccessFile > > Open(const String &archive_path, const String &entry_name, std::unique_ptr< File::TempDir > &temp_dir)