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>
12#include <arrow/io/api.h>
13
14namespace OpenMS
15{
16
29struct OPENMS_DLLAPI ZipRandomAccessFile
30{
31 static arrow::Result<std::shared_ptr<arrow::io::RandomAccessFile>> Open(const std::string& archive_path,
32 const std::string& entry_name,
33 std::unique_ptr<TempDir>& temp_dir);
34};
35
36} // namespace OpenMS
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:30
static arrow::Result< std::shared_ptr< arrow::io::RandomAccessFile > > Open(const std::string &archive_path, const std::string &entry_name, std::unique_ptr< TempDir > &temp_dir)