OpenMS
ParamCWLFile.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 // $Authors: Simon Gene Gottlieb $
6 // --------------------------------------------------------------------------
7 
8 #pragma once
9 
11 
12 namespace OpenMS
13 {
14 
20  class OPENMS_DLLAPI ParamCWLFile
21  {
22  public:
27  bool flatHierarchy{};
28 
38  void store(const std::string& filename, const Param& param, const ToolInfo& tool_info) const;
39 
47  void writeCWLToStream(std::ostream* os_ptr, const Param& param, const ToolInfo& tool_info) const;
48  };
49 } // namespace OpenMS
Exports .cwl files.
Definition: ParamCWLFile.h:21
void store(const std::string &filename, const Param &param, const ToolInfo &tool_info) const
Write CWL file.
void writeCWLToStream(std::ostream *os_ptr, const Param &param, const ToolInfo &tool_info) const
Write CWL to output stream.
Management and storage of parameters / INI files.
Definition: Param.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
A struct to pass information about the tool as one parameter.
Definition: ParamCTDFile.h:21