ProteoWizard
Public Member Functions
pwiz::analysis::SpectrumList_Sorter::Predicate Struct Reference

client-implemented sort predicate – called during construction of SpectrumList_Sorter to sort the underlying spectrum list More...

#include <SpectrumList_Sorter.hpp>

Inheritance diagram for pwiz::analysis::SpectrumList_Sorter::Predicate:
DefaultArrayLengthSorter MSLevelSorter pwiz::analysis::SpectrumList_SorterPredicate_ScanStartTime

List of all members.

Public Member Functions

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 to decide
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 to decide
virtual ~Predicate ()

Detailed Description

client-implemented sort predicate – called during construction of SpectrumList_Sorter to sort the underlying spectrum list

Definition at line 45 of file SpectrumList_Sorter.hpp.


Constructor & Destructor Documentation

virtual pwiz::analysis::SpectrumList_Sorter::Predicate::~Predicate ( )
inlinevirtual

Definition at line 63 of file SpectrumList_Sorter.hpp.

{}

Member Function Documentation

virtual boost::logic::tribool pwiz::analysis::SpectrumList_Sorter::Predicate::less ( const msdata::SpectrumIdentity lhs,
const msdata::SpectrumIdentity rhs 
) const
inlinevirtual

return values: true: lhs < rhs false: lhs >= rhs indeterminate: need to see the full Spectrum object to decide

Reimplemented in MSLevelSorter, and DefaultArrayLengthSorter.

Definition at line 51 of file SpectrumList_Sorter.hpp.

{return boost::logic::indeterminate;}
virtual boost::logic::tribool pwiz::analysis::SpectrumList_Sorter::Predicate::less ( const msdata::Spectrum lhs,
const msdata::Spectrum rhs 
) const
inlinevirtual

return values: true: lhs < rhs false: lhs >= rhs indeterminate: need a more detailed Spectrum object to decide

Reimplemented in pwiz::analysis::SpectrumList_SorterPredicate_ScanStartTime, MSLevelSorter, and DefaultArrayLengthSorter.

Definition at line 59 of file SpectrumList_Sorter.hpp.

References pwiz::msdata::SpectrumIdentity::index.

{return lhs.index < rhs.index;}

The documentation for this struct was generated from the following file: