OpenMS
IPeptideIds.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- 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 
12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
13 
14 #include <vector>
15 
16 namespace OpenMS
17 {
18 
22  class OPENMS_GUI_DLLAPI IPeptideIds
23  {
24  public:
25  using PepIds = std::vector<PeptideIdentification>;
26 
28  virtual const PepIds& getPeptideIds() const = 0;
29  virtual PepIds& getPeptideIds() = 0;
30 
32  virtual void setPeptideIds(const PepIds& ids) = 0;
33  virtual void setPeptideIds(PepIds&& ids) = 0;
34  };
35 
36 }// namespace OpenMS
Abstract base class which defines an interface for PeptideIdentifications.
Definition: IPeptideIds.h:23
virtual void setPeptideIds(PepIds &&ids)=0
std::vector< PeptideIdentification > PepIds
Definition: IPeptideIds.h:25
virtual void setPeptideIds(const PepIds &ids)=0
overwrite the peptide IDs for this layer
virtual PepIds & getPeptideIds()=0
virtual const PepIds & getPeptideIds() const =0
get the peptide IDs for this layer
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19