This class serves for reading in FASTA files. More...
#include <OpenMS/FORMAT/FASTAFile.h>
Classes | |
struct | FASTAEntry |
FASTA entry type (identifier, description and sequence) More... | |
Public Member Functions | |
FASTAFile () | |
Copy constructor. More... | |
virtual | ~FASTAFile () |
Destructor. More... | |
void | load (const String &filename, std::vector< FASTAEntry > &data) |
loads a FASTA file given by 'filename' and stores the information in 'data' More... | |
void | store (const String &filename, const std::vector< FASTAEntry > &data) const |
stores the data given by 'data' at the file 'filename' More... | |
This class serves for reading in FASTA files.
FASTAFile | ( | ) |
Copy constructor.
|
virtual |
Destructor.
void load | ( | const String & | filename, |
std::vector< FASTAEntry > & | data | ||
) |
loads a FASTA file given by 'filename' and stores the information in 'data'
Exception::FileNotFound | is thrown if the file does not exists. |
Exception::ParseError | is thrown if the file does not suit to the standard. |
Referenced by seqan::_charComparator(), and SimpleSearchEngine::main_().
void store | ( | const String & | filename, |
const std::vector< FASTAEntry > & | data | ||
) | const |
stores the data given by 'data' at the file 'filename'
Exception::UnableToCreateFile | is thrown if the process is not able to write the file. |
OpenMS / TOPP release 2.0.0 | Documentation generated on Wed Mar 30 2016 12:49:27 using doxygen 1.8.11 |