A range for a component of a peptide match. More...
#include <ms_ms1quant_match_range.hpp>
Inherits ms_handle.
Public Member Functions | |
ms_ms1quant_match_range () | |
Default constructor. | |
ms_ms1quant_match_range (const ms_ms1quant_match_range_body &body) | |
Construct a populated ms_ms1quant_match_range. | |
ms_ms1quant_match_range (int scanId, double rt) | |
Construct a range including a single scan. | |
void | extend (int scanId, double rt) |
Extend the range. | |
void | getRt (double &start, double &end) const |
Get the retention times for the first and last scans. | |
void | getScan (int &start, int &end) const |
Get the scan numbers for the first and last scans. | |
A range for a component of a peptide match.
This is stored in XML in a "range" entity.
Default constructor.
Assigns reasonable default values to all internal members.
ms_ms1quant_match_range | ( | const ms_ms1quant_match_range_body & | body | ) |
Construct a populated ms_ms1quant_match_range.
body | The data loaded from the result file. |
void getRt | ( | double & | start, |
double & | end | ||
) | const |
Get the retention times for the first and last scans.
See Multiple return values in Perl, Java, Python and C#.
[out] | start | Filled in with the retention time of the start of the range. |
[out] | end | Filled in with the retention time of the end of the range. |
void getScan | ( | int & | start, |
int & | end | ||
) | const |
Get the scan numbers for the first and last scans.
See Multiple return values in Perl, Java, Python and C#.
[out] | start | Filled in with the first scan identifier in the range. |
[out] | end | Filled in with the last scan identifier in the range. |