|
ProteoWizard
|
#include "SpectrumIterator.hpp"#include "MSData.hpp"#include "pwiz/utility/misc/IntegerSet.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Classes | |
| class | FTSieve |
Functions | |
| void | initializeSpectrumList (SpectrumListSimple &spectrumList) |
| const char * | anal (const CVParam &cvParam) |
| void | printSpectrumList (ostream &os, const SpectrumList &sl) |
| void | testBasic (const SpectrumList &sl) |
| void | doSomething (const Spectrum &spectrum) |
| void | testForEach (const SpectrumList &spectrumList) |
| void | testIntegerSet (const SpectrumList &spectrumList) |
| int | getScanNumber (const Spectrum &spectrum) |
| void | testSieve (const SpectrumList &spectrumList) |
| void | testIteratorEquality (const SpectrumList &spectrumList) |
| void | testMSDataConstruction () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| void initializeSpectrumList | ( | SpectrumListSimple & | spectrumList | ) |
Definition at line 40 of file SpectrumIteratorTest.cpp.
References boost::lexical_cast(), MS_FT_ICR, MS_intensity_array, MS_ion_trap, MS_m_z_array, and pwiz::msdata::SpectrumListSimple::spectra.
Referenced by main(), and testMSDataConstruction().
| const char* anal | ( | const CVParam & | cvParam | ) |
Definition at line 79 of file SpectrumIteratorTest.cpp.
References MS_FT_ICR, and MS_ion_trap.
Referenced by doSomething(), printSpectrumList(), test(), and testMSDataConstruction().
| void printSpectrumList | ( | ostream & | os, |
| const SpectrumList & | sl | ||
| ) |
Definition at line 90 of file SpectrumIteratorTest.cpp.
References anal(), MS_mass_analyzer, os_, pwiz::msdata::SpectrumList::size(), and pwiz::msdata::SpectrumList::spectrum().
| void testBasic | ( | const SpectrumList & | sl | ) |
Definition at line 108 of file SpectrumIteratorTest.cpp.
References pwiz::msdata::Spectrum::binaryDataArrayPtrs, pwiz::msdata::SpectrumIdentity::id, MS_FT_ICR, MS_ion_trap, MS_mass_analyzer_type, os_, and unit_assert.
| void doSomething | ( | const Spectrum & | spectrum | ) |
Definition at line 127 of file SpectrumIteratorTest.cpp.
References anal(), pwiz::data::ParamContainer::cvParamChild(), pwiz::msdata::Spectrum::getMZIntensityPairs(), pwiz::msdata::SpectrumIdentity::id, boost::lexical_cast(), MS_mass_analyzer, os_, and unit_assert.
Referenced by testForEach(), and testIntegerSet().
| void testForEach | ( | const SpectrumList & | spectrumList | ) |
Definition at line 145 of file SpectrumIteratorTest.cpp.
References doSomething(), and os_.
Referenced by main().
| void testIntegerSet | ( | const SpectrumList & | spectrumList | ) |
Definition at line 152 of file SpectrumIteratorTest.cpp.
References doSomething(), pwiz::util::IntegerSet::insert(), and os_.
Referenced by main().
|
inline |
Definition at line 172 of file SpectrumIteratorTest.cpp.
References pwiz::msdata::SpectrumIdentity::id, and boost::lexical_cast().
Referenced by testSieve().
| void testSieve | ( | const SpectrumList & | spectrumList | ) |
Definition at line 188 of file SpectrumIteratorTest.cpp.
References getScanNumber(), os_, and unit_assert.
Referenced by main().
| void testIteratorEquality | ( | const SpectrumList & | spectrumList | ) |
Definition at line 216 of file SpectrumIteratorTest.cpp.
References os_, and unit_assert.
Referenced by main().
| void testMSDataConstruction | ( | ) |
Definition at line 234 of file SpectrumIteratorTest.cpp.
References anal(), initializeSpectrumList(), MS_mass_analyzer, os_, pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, and unit_assert.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 256 of file SpectrumIteratorTest.cpp.
References e(), initializeSpectrumList(), os_, printSpectrumList(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testBasic(), testForEach(), testIntegerSet(), testIteratorEquality(), testMSDataConstruction(), and testSieve().
| ostream* os_ = 0 |
Definition at line 37 of file SpectrumIteratorTest.cpp.
1.8.1.1