ProteoWizard
Classes | Public Member Functions | Private Member Functions | Private Attributes
pwiz::proteome::Reader_FASTA Class Reference

FASTA -> ProteomeData stream serialization. More...

#include <Reader_FASTA.hpp>

Inheritance diagram for pwiz::proteome::Reader_FASTA:
pwiz::proteome::Reader

List of all members.

Classes

struct  Config
 Reader_FASTA configuration. More...

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
- Public Member Functions inherited from pwiz::proteome::Reader
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 ()

Private Member Functions

 Reader_FASTA (Reader_FASTA &)
Reader_FASTAoperator= (Reader_FASTA &)

Private Attributes

Config config_

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())

constructor

pwiz::proteome::Reader_FASTA::Reader_FASTA ( Reader_FASTA )
private

Member Function Documentation

const char* pwiz::proteome::Reader_FASTA::getType ( ) const
inlinevirtual

Implements pwiz::proteome::Reader.

Definition at line 54 of file Reader_FASTA.hpp.

{return "FASTA";}
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

fill in the ProteomeData structure

Implements pwiz::proteome::Reader.

Reader_FASTA& pwiz::proteome::Reader_FASTA::operator= ( Reader_FASTA )
private

Member Data Documentation

Config pwiz::proteome::Reader_FASTA::config_
private

Definition at line 65 of file Reader_FASTA.hpp.


The documentation for this class was generated from the following file: