ProteoWizard
|
#include "ChromatogramList_Filter.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/IntegerSet.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/data/msdata/examples.hpp"
#include "pwiz/data/msdata/Serializer_mzML.hpp"
#include <cstring>
Go to the source code of this file.
Classes | |
struct | EvenPredicate |
struct | SelectedIndexPredicate |
Functions | |
void | printChromatogramList (const ChromatogramList &sl, ostream &os) |
ChromatogramListPtr | createChromatogramList () |
void | testEven (ChromatogramListPtr sl) |
void | testSelectedIndices (ChromatogramListPtr sl) |
void | testIndexSet (ChromatogramListPtr sl) |
void | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
void printChromatogramList | ( | const ChromatogramList & | sl, |
ostream & | os | ||
) |
Definition at line 43 of file ChromatogramList_FilterTest.cpp.
References pwiz::msdata::ChromatogramList::chromatogram(), and pwiz::msdata::ChromatogramList::size().
Referenced by createChromatogramList(), testEven(), testIndexSet(), and testSelectedIndices().
ChromatogramListPtr createChromatogramList | ( | ) |
Definition at line 57 of file ChromatogramList_FilterTest.cpp.
References MS_CID, MS_isolation_window_target_m_z, MS_m_z, MS_number_of_detector_counts, MS_selected_ion_monitoring_chromatogram, MS_selected_reaction_monitoring_chromatogram, MS_TIC_chromatogram, os_, printChromatogramList(), and UO_second.
Referenced by test().
void testEven | ( | ChromatogramListPtr | sl | ) |
Definition at line 118 of file ChromatogramList_FilterTest.cpp.
References ralab::base::filter::filter(), os_, printChromatogramList(), and unit_assert_operator_equal.
Referenced by test().
void testSelectedIndices | ( | ChromatogramListPtr | sl | ) |
Definition at line 160 of file ChromatogramList_FilterTest.cpp.
References ralab::base::filter::filter(), os_, printChromatogramList(), and unit_assert_operator_equal.
Referenced by test().
void testIndexSet | ( | ChromatogramListPtr | sl | ) |
Definition at line 178 of file ChromatogramList_FilterTest.cpp.
References ralab::base::filter::filter(), pwiz::util::IntegerSet::insert(), os_, printChromatogramList(), and unit_assert_operator_equal.
Referenced by test().
void test | ( | ) |
Definition at line 200 of file ChromatogramList_FilterTest.cpp.
References createChromatogramList(), testEven(), testIndexSet(), and testSelectedIndices().
Referenced by compare(), ralab::base::base::log2(), main(), pwiz::minimxml::SAXParser::Handler::Attributes::attribute::matchName(), testMSXOnly(), and testOverlapOnly().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 209 of file ChromatogramList_FilterTest.cpp.
References os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
ostream* os_ = 0 |
Definition at line 40 of file ChromatogramList_FilterTest.cpp.
Referenced by pwiz::proteome::TextWriter::child(), pwiz::tradata::TextWriter::child(), pwiz::identdata::TextWriter::child(), pwiz::msdata::TextWriter::child(), createChromatogramList(), main(), pwiz::proteome::TextWriter::operator()(), pwiz::tradata::TextWriter::operator()(), pwiz::identdata::TextWriter::operator()(), pwiz::msdata::TextWriter::operator()(), testEven(), testIndexSet(), testSelectedIndices(), pwiz::identdata::TextWriter::TextWriter(), and pwiz::identdata::DelimWriter::write().