24 #ifndef _DEFAULTREADERLIST_HPP_
25 #define _DEFAULTREADERLIST_HPP_
39 virtual std::string identify(
const std::string& filename,
const std::string& head)
const;
40 virtual void read(
const std::string& filename,
const std::string& head,
MSData& result,
int runIndex = 0,
const Config& config =
Config())
const;
41 virtual void read(
const std::string& filename,
const std::string& head, std::vector<MSDataPtr>& results,
const Config& config =
Config())
const;
42 virtual const char*
getType()
const {
return "mzML";}
45 enum Type { Type_mzML, Type_mzML_Indexed, Type_Unknown };
46 Type type(std::istream& is)
const;
53 virtual std::string identify(
const std::string& filename,
const std::string& head)
const;
54 virtual void read(
const std::string& filename,
const std::string& head,
MSData& result,
int runIndex = 0,
const Config& config =
Config())
const;
55 virtual void read(
const std::string& filename,
const std::string& head, std::vector<MSDataPtr>& results,
const Config& config =
Config())
const;
56 virtual const char*
getType()
const {
return "mzXML";}
63 virtual std::string identify(
const std::string& filename,
const std::string& head)
const;
64 virtual void read(
const std::string& filename,
const std::string& head,
MSData& result,
int runIndex = 0,
const Config& config =
Config())
const;
65 virtual void read(
const std::string& filename,
const std::string& head, std::vector<MSDataPtr>& results,
const Config& config =
Config())
const;
66 virtual const char*
getType()
const {
return "Mascot Generic";}
73 virtual std::string identify(
const std::string& filename,
const std::string& head)
const;
74 virtual void read(
const std::string& filename,
const std::string& head,
MSData& result,
int runIndex = 0,
const Config& config =
Config())
const;
75 virtual void read(
const std::string& filename,
const std::string& head, std::vector<MSDataPtr>& results,
const Config& config =
Config())
const;
76 virtual const char*
getType()
const {
return "MSn";}
83 virtual std::string identify(
const std::string& filename,
const std::string& head)
const;
84 virtual void read(
const std::string& filename,
const std::string& head,
MSData& result,
int runIndex = 0,
const Config& config =
Config())
const;
85 virtual void read(
const std::string& filename,
const std::string& head, std::vector<MSDataPtr>& results,
const Config& config =
Config())
const;
86 virtual const char*
getType()
const {
return "Bruker Data Exchange";}
93 virtual std::string identify(
const std::string& filename,
const std::string& head)
const;
94 virtual void read(
const std::string& filename,
const std::string& head,
MSData& result,
int runIndex = 0,
const Config& config =
Config())
const;
95 virtual void read(
const std::string& filename,
const std::string& head, std::vector<MSDataPtr>& results,
const Config& config =
Config())
const;
96 virtual const char*
getType()
const {
return "MZ5";}
112 #endif // _DEFAULTREADERLIST_HPP_