Go to the documentation of this file.
24 #ifndef _PROTEOMEDATAFILE_HPP_
25 #define _PROTEOMEDATAFILE_HPP_
59 :
format(_format), indexed(true), gzipped(_gzipped)
66 const std::string& uri,
71 void write(
const std::string& uri,
85 #endif // _PROTEOMEDATAFILE_HPP_
ProteomeDataFile(const std::string &uri, const Reader &reader)
constructs ProteomeData object backed by file using the specified reader
ProteomeDataFile(const std::string &uri, bool indexed=false)
constructs ProteomeData object backed by file; indexed==true -> uses DefaultReaderList with indexing
PWIZ_API_DECL std::ostream & operator<<(std::ostream &os, const data::Diff< ProteomeData, DiffConfig > &diff)
static void write(const ProteomeData &pd, const std::string &uri, const WriteConfig &config=WriteConfig(), const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0)
static write function for any ProteomeData object; iterationListenerRegistry may be used for progress...
configuration for write()
interface for file readers
WriteConfig(Format _format=Format_FASTA, bool _gzipped=false)
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
ProteomeData object plus file I/O.
void write(const std::string &uri, const WriteConfig &config=WriteConfig(), const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0)
member write function