FASTA -> ProteomeData stream serialization.
More...
#include <Reader_FASTA.hpp>
List of all members.
Public Member Functions |
| Reader_FASTA (const Config &config=Config()) |
| constructor
|
const char * | getType () const |
virtual std::string | identify (const std::string &uri, boost::shared_ptr< std::istream > uriStreamPtr) const |
| return file type iff Reader recognizes the file, else empty;
|
virtual void | read (const std::string &uri, boost::shared_ptr< std::istream > uriStreamPtr, ProteomeData &result) const |
| fill in the ProteomeData structure
|
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
|
virtual void | read (const std::string &uri, ProteomeData &result) const |
| fill in the ProteomeData structure from a new URI stream
|
virtual | ~Reader () |
Detailed Description
FASTA -> ProteomeData stream serialization.
Definition at line 38 of file Reader_FASTA.hpp.
Constructor & Destructor Documentation
pwiz::proteome::Reader_FASTA::Reader_FASTA |
( |
const Config & |
config = Config() | ) |
|
pwiz::proteome::Reader_FASTA::Reader_FASTA |
( |
Reader_FASTA & |
| ) |
|
|
private |
Member Function Documentation
const char* pwiz::proteome::Reader_FASTA::getType |
( |
| ) |
const |
|
inlinevirtual |
virtual std::string pwiz::proteome::Reader_FASTA::identify |
( |
const std::string & |
uri, |
|
|
boost::shared_ptr< std::istream > |
uriStreamPtr |
|
) |
| 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 URI and/or contents of the file
Implements pwiz::proteome::Reader.
virtual void pwiz::proteome::Reader_FASTA::read |
( |
const std::string & |
uri, |
|
|
boost::shared_ptr< std::istream > |
uriStreamPtr, |
|
|
ProteomeData & |
result |
|
) |
| const |
|
virtual |
Member Data Documentation
Config pwiz::proteome::Reader_FASTA::config_ |
|
private |
The documentation for this class was generated from the following file: