24#ifndef _MZID_MASCOTREADER_HPP_
25#define _MZID_MASCOTREADER_HPP_
39 virtual std::string
identify(
const std::string& filename,
40 const std::string& head)
const;
42 virtual void read(
const std::string& filename,
43 const std::string& head,
47 virtual void read(
const std::string& filename,
48 const std::string& head,
52 virtual void read(
const std::string& filename,
53 const std::string& head,
54 std::vector<IdentDataPtr>& results,
57 virtual const char *
getType()
const {
return "Mascot DAT"; }
virtual void read(const std::string &filename, const std::string &head, IdentDataPtr &result, const Reader::Config &) const
fill in a vector of IdentData structures; provides support for multi-run input files
virtual void read(const std::string &filename, const std::string &head, IdentData &result, const Reader::Config &) const
fill in a vector of IdentData structures; provides support for multi-run input files
virtual void read(const std::string &filename, const std::string &head, std::vector< IdentDataPtr > &results, const Reader::Config &) const
fill in a vector of IdentData structures; provides support for multi-run input files
virtual const char * getType() const
virtual std::string identify(const std::string &filename, const std::string &head) const
return file type iff Reader recognizes the file, else empty;
interface for file readers
boost::shared_ptr< IdentData > IdentDataPtr
Implementation of the MzIdentMLType from the mzIdentML schema.
HACK: provide an option to read only file-level metadata; once we have an enumerable ResultList imple...