ProteoWizard
|
#include "RAMPAdapter.hpp"
#include "MSDataFile.hpp"
#include "examples.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Filesystem.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <boost/iostreams/filtering_stream.hpp>
#include <boost/iostreams/filter/gzip.hpp>
#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/copy.hpp>
Go to the source code of this file.
Functions | |
string | writeTempFile () |
ostream & | operator<< (ostream &os, const ScanHeaderStruct &header) |
ostream & | operator<< (ostream &os, const RunHeaderStruct &header) |
ostream & | operator<< (ostream &os, const InstrumentStruct &instrument) |
void | test (const string &filename) |
static void | test_mzML_1_0 (const char *test_app_name) |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
string writeTempFile | ( | ) |
Definition at line 72 of file RAMPAdapterTest.cpp.
References pwiz::identdata::examples::initializeTiny(), and write().
Referenced by main().
ostream& operator<< | ( | ostream & | os, |
const ScanHeaderStruct & | header | ||
) |
Definition at line 82 of file RAMPAdapterTest.cpp.
References ScanHeaderStruct::acquisitionNum, ScanHeaderStruct::basePeakIntensity, ScanHeaderStruct::basePeakMZ, ScanHeaderStruct::collisionEnergy, ScanHeaderStruct::filePosition, ScanHeaderStruct::highMZ, ScanHeaderStruct::ionisationEnergy, ScanHeaderStruct::lowMZ, ScanHeaderStruct::mergedResultEndScanNum, ScanHeaderStruct::mergedResultScanNum, ScanHeaderStruct::mergedResultStartScanNum, ScanHeaderStruct::mergedScan, ScanHeaderStruct::msLevel, ScanHeaderStruct::peaksCount, ScanHeaderStruct::precursorCharge, ScanHeaderStruct::precursorIntensity, ScanHeaderStruct::precursorMZ, ScanHeaderStruct::precursorScanNum, ScanHeaderStruct::retentionTime, ScanHeaderStruct::scanType, ScanHeaderStruct::seqNum, and ScanHeaderStruct::totIonCurrent.
ostream& operator<< | ( | ostream & | os, |
const RunHeaderStruct & | header | ||
) |
Definition at line 110 of file RAMPAdapterTest.cpp.
References RunHeaderStruct::dEndTime, RunHeaderStruct::dStartTime, RunHeaderStruct::endMZ, RunHeaderStruct::highMZ, RunHeaderStruct::lowMZ, RunHeaderStruct::scanCount, and RunHeaderStruct::startMZ.
ostream& operator<< | ( | ostream & | os, |
const InstrumentStruct & | instrument | ||
) |
Definition at line 123 of file RAMPAdapterTest.cpp.
References InstrumentStruct::analyzer, InstrumentStruct::detector, InstrumentStruct::ionisation, InstrumentStruct::manufacturer, and InstrumentStruct::model.
void test | ( | const string & | filename | ) |
Definition at line 134 of file RAMPAdapterTest.cpp.
References InstrumentStruct::analyzer, RunHeaderStruct::dEndTime, InstrumentStruct::detector, RunHeaderStruct::dStartTime, e(), RunHeaderStruct::endMZ, epsilon, pwiz::msdata::RAMPAdapter::getInstrument(), pwiz::msdata::RAMPAdapter::getRunHeader(), pwiz::msdata::RAMPAdapter::getScanHeader(), pwiz::msdata::RAMPAdapter::getScanPeaks(), RunHeaderStruct::highMZ, pwiz::msdata::RAMPAdapter::index(), InstrumentStruct::ionisation, RunHeaderStruct::lowMZ, InstrumentStruct::manufacturer, InstrumentStruct::model, os_, pwiz::msdata::RAMPAdapter::scanCount(), RunHeaderStruct::scanCount, RunHeaderStruct::startMZ, unit_assert, and unit_assert_equal.
|
static |
Definition at line 241 of file RAMPAdapterTest.cpp.
References ScanHeaderStruct::acquisitionNum, ScanHeaderStruct::basePeakIntensity, ScanHeaderStruct::basePeakMZ, ScanHeaderStruct::collisionEnergy, e(), epsilon, pwiz::msdata::RAMPAdapter::getScanHeader(), ScanHeaderStruct::highMZ, ScanHeaderStruct::lowMZ, ScanHeaderStruct::msLevel, ScanHeaderStruct::peaksCount, ScanHeaderStruct::precursorScanNum, ScanHeaderStruct::retentionTime, pwiz::msdata::RAMPAdapter::scanCount(), ScanHeaderStruct::seqNum, ScanHeaderStruct::totIonCurrent, unit_assert, and unit_assert_equal.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 284 of file RAMPAdapterTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, test_mzML_1_0(), TEST_PROLOG, and writeTempFile().
ostream* os_ = 0 |
Definition at line 41 of file RAMPAdapterTest.cpp.