OpenMS
Loading...
Searching...
No Matches
ToolDescriptionFile.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: Chris Bielow $
6// $Authors: Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
15
16namespace OpenMS
17{
25 class OPENMS_DLLAPI ToolDescriptionFile :
26 public Internal::XMLFile,
27 public ProgressLogger
28 {
29public:
34
41 void load(const String & filename, std::vector<Internal::ToolDescription> & tds);
42
48 void store(const String & filename, const std::vector<Internal::ToolDescription> & tds) const;
49
50private:
51
52 };
53
54} // namespace OpenMS
55
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition XMLFile.h:23
Base class for all classes that want to report their progress.
Definition ProgressLogger.h:27
A more convenient string class.
Definition String.h:34
File adapter for ToolDescriptor files.
Definition ToolDescriptionFile.h:28
ToolDescriptionFile()
Default constructor.
void store(const String &filename, const std::vector< Internal::ToolDescription > &tds) const
Stores a map in a ToolDescriptor file.
~ToolDescriptionFile() override
Destructor.
void load(const String &filename, std::vector< Internal::ToolDescription > &tds)
Loads a map from a ToolDescriptor file.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19