#include <DefaultReaderList.hpp>
|
virtual std::string | identify (const std::string &filename, const std::string &head) const |
| return file type iff Reader recognizes the file, else empty; More...
|
|
virtual void | read (const std::string &filename, const std::string &head, MSData &result, int runIndex=0, const Config &config=Config()) const |
| fill in the MSData structure from the first (or only) sample More...
|
|
virtual void | read (const std::string &filename, const std::string &head, std::vector< MSDataPtr > &results, const Config &config=Config()) const |
| fill in a vector of MSData structures; provides support for multi-run input files More...
|
|
virtual const char * | getType () const |
| returns a unique string identifying the reader type More...
|
|
bool | accept (const std::string &filename, const std::string &head) const |
| return true iff Reader recognizes the file as one it should handle More...
|
|
virtual void | readIds (const std::string &filename, const std::string &head, std::vector< std::string > &dataIds, const Config &config=Config()) const |
| fill in a vector of MSData.Id values; provides support for multi-run input files More...
|
|
virtual | ~Reader () |
|
Definition at line 36 of file DefaultReaderList.hpp.
§ Type
§ identify()
virtual std::string pwiz::msdata::Reader_mzML::identify |
( |
const std::string & |
filename, |
|
|
const std::string & |
head |
|
) |
| const |
|
virtual |
return file type iff Reader recognizes the file, else empty;
note: for formats requiring a 3rd party DLL identify() should return non-empty if it recognized the format, even though reading may fail if the 3rd party DLL isn't actually present Reader may filter based on filename and/or head of the file
Implements pwiz::msdata::Reader.
§ read() [1/2]
virtual void pwiz::msdata::Reader_mzML::read |
( |
const std::string & |
filename, |
|
|
const std::string & |
head, |
|
|
MSData & |
result, |
|
|
int |
runIndex = 0 , |
|
|
const Config & |
config = Config() |
|
) |
| const |
|
virtual |
§ read() [2/2]
virtual void pwiz::msdata::Reader_mzML::read |
( |
const std::string & |
filename, |
|
|
const std::string & |
head, |
|
|
std::vector< MSDataPtr > & |
results, |
|
|
const Config & |
config = Config() |
|
) |
| const |
|
virtual |
§ getType()
virtual const char* pwiz::msdata::Reader_mzML::getType |
( |
| ) |
const |
|
inlinevirtual |
§ type()
Type pwiz::msdata::Reader_mzML::type |
( |
std::istream & |
is | ) |
const |
|
private |
The documentation for this class was generated from the following file: