Go to the documentation of this file.
25 #ifndef _SPECTRUMLIST_SORTER_HPP_
26 #define _SPECTRUMLIST_SORTER_HPP_
31 #include "boost/logic/tribool.hpp"
53 {
return boost::logic::indeterminate;}
72 virtual size_t size()
const;
97 #endif // _SPECTRUMLIST_SORTER_HPP_
SpectrumList_Sorter(SpectrumList_Sorter &)
boost::shared_ptr< SpectrumList > SpectrumListPtr
virtual boost::logic::tribool less(const msdata::Spectrum &lhs, const msdata::Spectrum &rhs) const
return values: true: lhs < rhs false: lhs >= rhs indeterminate: need a more detailed Spectrum object ...
Identifying information for a spectrum.
The structure that captures the generation of a peak list (including the underlying acquisitions)
Inheritable pass-through implementation for wrapping a SpectrumList.
size_t index
the zero-based, consecutive index of the spectrum in the SpectrumList.
virtual boost::logic::tribool less(const msdata::Spectrum &lhs, const msdata::Spectrum &rhs) const
return values: true: lhs < rhs false: lhs >= rhs indeterminate: need a more detailed Spectrum object ...
virtual size_t size() const
returns the number of spectra
client-implemented sort predicate – called during construction of SpectrumList_Sorter to sort the und...
Provides a custom-sorted spectrum list.
virtual const msdata::SpectrumIdentity & spectrumIdentity(size_t index) const
access to a spectrum index
virtual msdata::SpectrumPtr spectrum(size_t index, bool getBinaryData=false) const
retrieve a spectrum by index
boost::shared_ptr< Spectrum > SpectrumPtr
SpectrumList_Sorter(const msdata::SpectrumListPtr &inner, const Predicate &predicate, bool stable=false)
boost::shared_ptr< Impl > impl_
SpectrumList_Sorter & operator=(SpectrumList_Sorter &)
virtual boost::logic::tribool less(const msdata::SpectrumIdentity &lhs, const msdata::SpectrumIdentity &rhs) const
return values: true: lhs < rhs false: lhs >= rhs indeterminate: need to see the full Spectrum object ...