|
| TestReader () |
|
virtual std::string | identify (const std::string &filename, const std::string &head) const |
|
virtual void | read (const std::string &filename, const std::string &head, MSData &result, int runIndex=0, const Config &config=Config()) const |
|
virtual void | read (const std::string &filename, const std::string &head, std::vector< MSDataPtr > &results, const Config &config=Config()) const |
|
const char * | getType () const |
|
| TestReader () |
|
virtual std::string | identify (const std::string &uri, shared_ptr< istream > uriStreamPtr) const |
|
virtual void | read (const std::string &uri, shared_ptr< istream > uriStreamPtr, ProteomeData &pd) const |
|
const char * | getType () const |
|
bool | accept (const std::string &uri, boost::shared_ptr< std::istream > uriStreamPtr) const |
| return true iff Reader recognizes the file as one it should handle More...
|
|
virtual std::string | identify (const std::string &uri, boost::shared_ptr< std::istream > uriStreamPtr) const =0 |
| return file type iff Reader recognizes the file, else empty; More...
|
|
virtual void | read (const std::string &uri, ProteomeData &result) const |
| fill in the ProteomeData structure from a new URI stream More...
|
|
virtual void | read (const std::string &uri, boost::shared_ptr< std::istream > uriStreamPtr, ProteomeData &result) const =0 |
| fill in the ProteomeData structure from a shared URI stream More...
|
|
virtual | ~Reader () |
|
Definition at line 286 of file MSDataFileTest.cpp.
§ TestReader() [1/2]
TestReader::TestReader |
( |
| ) |
|
|
inline |
§ TestReader() [2/2]
TestReader::TestReader |
( |
| ) |
|
|
inline |
§ identify() [1/2]
virtual std::string TestReader::identify |
( |
const std::string & |
filename, |
|
|
const std::string & |
head |
|
) |
| const |
|
inlinevirtual |
Definition at line 292 of file MSDataFileTest.cpp.
References rawHeader_.
294 if (filename.size()<=4 || filename.substr(filename.size()-4)!=
".RAW")
295 return std::string(
"");
299 return std::string(
"");
§ read() [1/3]
virtual void TestReader::read |
( |
const std::string & |
filename, |
|
|
const std::string & |
head, |
|
|
MSData & |
result, |
|
|
int |
runIndex = 0 , |
|
|
const Config & |
config = Config() |
|
) |
| const |
|
inlinevirtual |
§ read() [2/3]
virtual void TestReader::read |
( |
const std::string & |
filename, |
|
|
const std::string & |
head, |
|
|
std::vector< MSDataPtr > & |
results, |
|
|
const Config & |
config = Config() |
|
) |
| const |
|
inlinevirtual |
Definition at line 311 of file MSDataFileTest.cpp.
References pwiz::identdata::IO::read().
317 read(filename, head, *results.back(), 0, config);
boost::shared_ptr< MSData > MSDataPtr
virtual void read(const std::string &filename, const std::string &head, MSData &result, int runIndex=0, const Config &config=Config()) const
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...
§ getType() [1/2]
const char* TestReader::getType |
( |
| ) |
const |
|
inlinevirtual |
§ identify() [2/2]
virtual std::string TestReader::identify |
( |
const std::string & |
uri, |
|
|
shared_ptr< istream > |
uriStreamPtr |
|
) |
| const |
|
inlinevirtual |
Definition at line 144 of file ProteomeDataFileTest.cpp.
148 if (!bal::iends_with(uri,
".fasta"))
152 getline(*uriStreamPtr, buf);
const char * getType() const
§ read() [3/3]
virtual void TestReader::read |
( |
const std::string & |
uri, |
|
|
shared_ptr< istream > |
uriStreamPtr, |
|
|
ProteomeData & |
pd |
|
) |
| const |
|
inlinevirtual |
§ getType() [2/2]
const char* TestReader::getType |
( |
| ) |
const |
|
inlinevirtual |
§ count
The documentation for this class was generated from the following files: