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. |
| 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 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:30 using doxygen 1.8.5 |