OpenMS
Loading...
Searching...
No Matches
OBODataProvider.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: Timo Sachsenberg $
7// --------------------------------------------------------------------------
8
9#pragma once
10
13
14namespace OpenMS
15{
28 class OPENMS_DLLAPI OBODataProvider : public ModificationDataProvider
29 {
30 public:
35 explicit OBODataProvider(const String& filename, bool cross_links_only = false);
36
37 std::vector<std::unique_ptr<ResidueModification>> loadModifications() override;
38
39 private:
42 };
43
44} // namespace OpenMS
Interface for providing ResidueModification data to ModificationsDB.
Definition ModificationDataProvider.h:29
Loads ResidueModification data from an OBO ontology file (PSI-MOD or XLMOD).
Definition OBODataProvider.h:29
String filename_
Definition OBODataProvider.h:40
std::vector< std::unique_ptr< ResidueModification > > loadModifications() override
Load modifications from whatever source this provider wraps.
OBODataProvider(const String &filename, bool cross_links_only=false)
bool cross_links_only_
Definition OBODataProvider.h:41
A more convenient string class.
Definition String.h:34
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19