ProteoWizard
Public Member Functions | Public Attributes | List of all members
pwiz::msdata::SpectrumIdentity Struct Reference

Identifying information for a spectrum. More...

#include <MSData.hpp>

Inheritance diagram for pwiz::msdata::SpectrumIdentity:
pwiz::msdata::Spectrum pwiz::msdata::SpectrumIdentityFromXML pwiz::msdata::SpectrumIdentityFromMzXML

Public Member Functions

 SpectrumIdentity ()
 

Public Attributes

size_t index
 the zero-based, consecutive index of the spectrum in the SpectrumList. More...
 
std::string id
 a unique identifier for this spectrum. It should be expected that external files may use this identifier together with the mzML filename or accession to reference a particular spectrum. More...
 
std::string spotID
 the identifier for the spot from which this spectrum was derived, if a MALDI or similar run. More...
 
boost::iostreams::stream_offset sourceFilePosition
 for file-based MSData implementations, this attribute may refer to the spectrum's position in the file More...
 

Detailed Description

Identifying information for a spectrum.

Definition at line 469 of file MSData.hpp.

Constructor & Destructor Documentation

§ SpectrumIdentity()

pwiz::msdata::SpectrumIdentity::SpectrumIdentity ( )
inline

Definition at line 484 of file MSData.hpp.

484 : index(IDENTITY_INDEX_NONE), sourceFilePosition((boost::iostreams::stream_offset)-1) {}
const size_t IDENTITY_INDEX_NONE
Definition: MSData.hpp:466
boost::iostreams::stream_offset sourceFilePosition
for file-based MSData implementations, this attribute may refer to the spectrum&#39;s position in the fil...
Definition: MSData.hpp:481
size_t index
the zero-based, consecutive index of the spectrum in the SpectrumList.
Definition: MSData.hpp:472

Member Data Documentation

§ index

size_t pwiz::msdata::SpectrumIdentity::index

§ id

std::string pwiz::msdata::SpectrumIdentity::id

§ spotID

std::string pwiz::msdata::SpectrumIdentity::spotID

the identifier for the spot from which this spectrum was derived, if a MALDI or similar run.

Definition at line 478 of file MSData.hpp.

Referenced by pwiz::msdata::TextWriter::operator()().

§ sourceFilePosition

boost::iostreams::stream_offset pwiz::msdata::SpectrumIdentity::sourceFilePosition

for file-based MSData implementations, this attribute may refer to the spectrum's position in the file

Definition at line 481 of file MSData.hpp.

Referenced by testSpectrum().


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