Go to the documentation of this file.
24 #ifndef _MSDATAFILE_HPP_
25 #define _MSDATAFILE_HPP_
46 bool calculateSourceFileChecksum =
false);
60 :
format(_format), indexed(true), gzipped(_gzipped)
67 const std::string& filename,
72 void write(
const std::string& filename,
104 #endif // _MSDATAFILE_HPP_
MSDataFile(const std::string &filename, const Reader *reader=0, bool calculateSourceFileChecksum=false)
constructs MSData object backed by file; reader==0 -> use DefaultReaderList
Description of the source file, including location and type.
BinaryDataEncoder::Config binaryDataEncoderConfig
interface for file readers
PWIZ_API_DECL void calculateSHA1Checksums(const MSData &msd)
Iterate and calculate SHA-1 for all source files.
void write(const std::string &filename, const WriteConfig &config=WriteConfig(), const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0)
member write function
PWIZ_API_DECL std::ostream & operator<<(std::ostream &os, const BinaryDataEncoder::Config &config)
PWIZ_API_DECL void calculateSourceFileSHA1(SourceFile &sourceFile)
calculates and adds a CV term for the SHA1 checksum of a source file element
PWIZ_API_DECL Reader_Bruker_Format format(const std::string &path)
returns Bruker format of 'path' if it is a Bruker directory; otherwise returns empty string
handles registration of IterationListeners and broadcast of update messages
WriteConfig(Format _format=Format_mzML, bool _gzipped=false)
MSData object plus file I/O.
static void write(const MSData &msd, std::ostream &os, const WriteConfig &config=WriteConfig(), const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0)
static write function for any MSData object; iterationListenerRegistry may be used for progress updat...
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...
void write(std::ostream &os, const WriteConfig &config=WriteConfig(), const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0)
member write function
static void write(const MSData &msd, const std::string &filename, const WriteConfig &config=WriteConfig(), const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0)
static write function for any MSData object; iterationListenerRegistry may be used for progress updat...
configuration for write()
encoding/decoding configuration