OpenMS GUI
TOPPView, TOPPAS, INIFileEditor and the OpenMS_GUI library
Loading...
Searching...
No Matches
IPeptideIds.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
11#include <OpenMS/METADATA/PeptideIdentification.h>
12#include <OpenMS/METADATA/PeptideIdentificationList.h>
13#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
14
15#include <vector>
16
17namespace OpenMS
18{
19
23 class OPENMS_GUI_DLLAPI IPeptideIds
24 {
25 public:
26 using PepIds = PeptideIdentificationList;
27
29 virtual const PepIds& getPeptideIds() const = 0;
30 virtual PepIds& getPeptideIds() = 0;
31
33 virtual void setPeptideIds(const PepIds& ids) = 0;
34 virtual void setPeptideIds(PepIds&& ids) = 0;
35 };
36
37}// namespace OpenMS
Abstract base class which defines an interface for PeptideIdentifications.
Definition IPeptideIds.h:24
virtual void setPeptideIds(PepIds &&ids)=0
virtual const PepIds & getPeptideIds() const =0
get the peptide IDs for this layer
virtual PepIds & getPeptideIds()=0
virtual void setPeptideIds(const PepIds &ids)=0
overwrite the peptide IDs for this layer
PeptideIdentificationList PepIds
Definition IPeptideIds.h:26
Definition Annotation1DCaret.h:23