OpenMS
Loading...
Searching...
No Matches
HDF5Connector.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Hannes Roest $
6// $Authors: Hannes Roest $
7// --------------------------------------------------------------------------
8
9#pragma once
10
13
14// forward declarations
15namespace H5
16{
17 struct H5File;
18}
19
20namespace OpenMS
21{
29 class OPENMS_DLLAPI HDF5Connector
30 {
31public:
32
34 HDF5Connector(const std::string& filename, bool createNewFile = false);
35
38
39 void close();
40
41protected:
42
43 H5::H5File* file_ = nullptr;
44
45 };
46
47
48} // namespace OpenMS
49
File adapter for HDF5 files.
Definition HDF5Connector.h:30
HDF5Connector(const std::string &filename, bool createNewFile=false)
Constructor.
~HDF5Connector()
Destructor.
Definition HDF5Connector.h:16
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19