OpenMS
3.7.0
Main Page
Related Pages
Topics
Namespaces
Concepts
Classes
Files
File List
File Members
Loading...
Searching...
No Matches
CompressedInputSource.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: Timo Sachsenberg $
6
// $Authors: David Wojnar $
7
// --------------------------------------------------------------------------
8
9
#pragma once
10
11
#include <
OpenMS/FORMAT/InputStream.h
>
12
#include <string>
13
14
namespace
OpenMS
15
{
17
class
OPENMS_DLLAPI
CompressedInputSource
18
{
19
public
:
21
CompressedInputSource
(
const
std::string& file_path,
const
std::string& header);
23
InputStream
*
makeStream
()
const
;
24
25
CompressedInputSource
() =
delete
;
26
CompressedInputSource
(
const
CompressedInputSource
&) =
delete
;
27
CompressedInputSource
&
operator=
(
const
CompressedInputSource
&) =
delete
;
28
private
:
29
std::string
file_path_
;
30
std::string
head_
;
31
};
32
}
InputStream.h
OpenMS::CompressedInputSource
Internal source selecting bzip2, ZIP or gzip decompression by file magic.
Definition
CompressedInputSource.h:18
OpenMS::CompressedInputSource::file_path_
std::string file_path_
Definition
CompressedInputSource.h:29
OpenMS::CompressedInputSource::CompressedInputSource
CompressedInputSource(const CompressedInputSource &)=delete
OpenMS::CompressedInputSource::CompressedInputSource
CompressedInputSource()=delete
OpenMS::CompressedInputSource::makeStream
InputStream * makeStream() const
Create a stream owned by the caller. BZ selects bzip2, PK ZIP, otherwise gzip.
OpenMS::CompressedInputSource::CompressedInputSource
CompressedInputSource(const std::string &file_path, const std::string &header)
Relative UTF-8 paths are resolved against the current working directory.
OpenMS::CompressedInputSource::operator=
CompressedInputSource & operator=(const CompressedInputSource &)=delete
OpenMS::CompressedInputSource::head_
std::string head_
Definition
CompressedInputSource.h:30
OpenMS::InputStream
Internal byte stream shared by the XML compression adapters.
Definition
InputStream.h:16
OpenMS
Main OpenMS namespace.
Definition
openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
OpenMS
FORMAT
CompressedInputSource.h
Generated on Wed Nov 11 2026 01:27:43 for OpenMS by
1.9.8