Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_peptide_quant_key_vector.hpp
1/*
2##############################################################################
3# file: ms_peptide_quant_key_vector.hpp #
4# 'msparser' toolkit #
5# A vector of ms_peptide_quant_key objects #
6##############################################################################
7# COPYRIGHT NOTICE #
8# Copyright 1998-2012 Matrix Science Limited All Rights Reserved. #
9# #
10##############################################################################
11# $Author: villek@matrixscience.com $ #
12# $Date: 2018-07-30 16:23:53 +0100 $ #
13# $Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $ #
14# $NoKeywords:: $ #
15##############################################################################
16*/
17
18#ifndef MS_PEPQUANTKEYVECTOR_HPP
19#define MS_PEPQUANTKEYVECTOR_HPP
20
21
22// Includes from the standard template library
23#include <vector>
24#include <list>
25
26namespace matrix_science {
27 class ms_peptide_quant_key;
28}
29
30namespace matrix_science {
37
46 class MS_MASCOTRESFILE_API ms_peptide_quant_key_vector
47 {
48 public:
51
52#ifndef SWIG
54 explicit ms_peptide_quant_key_vector(const std::vector<ms_peptide_quant_key> &v);
55
57 explicit ms_peptide_quant_key_vector(const std::list<ms_peptide_quant_key> &v);
58#endif
59
62
65
66#ifndef SWIG
69
71 const std::vector<ms_peptide_quant_key>& toVector() const;
72#endif
73
75 void copyFrom(const ms_peptide_quant_key_vector *src);
76
78 void append(const ms_peptide_quant_key_vector & src);
79
81 int size() const;
82
84 bool empty() const;
85
87 void push(const ms_peptide_quant_key &key);
88
91
93 ms_peptide_quant_key get(int idx) const;
94
96 void set(int idx, const ms_peptide_quant_key &key);
97
99 void clear();
100
102 void swap(ms_peptide_quant_key_vector &right);
103
104 private:
105 std::vector<ms_peptide_quant_key> data_;
106 }; // end of quantitation_group
108} // matrix_science namespace
109
110#endif // MS_PEPQUANTKEYVECTOR_HPP
111
112/*------------------------------- End of File -------------------------------*/
113
A vector of peptide quant keys.
Definition: ms_peptide_quant_key_vector.hpp:47
Feature key identifying a peptide ratio.
Definition: ms_peptide_quant_key.hpp:69