Home | Libraries | People | FAQ | More |
boost::genetics::fasta_file_interface
// In header: <boost/genetics/fasta.hpp> struct fasta_file_interface { // construct/copy/destruct ~fasta_file_interface(); // public member functions virtual void append(const std::string &) = 0; virtual const chromosome & find_chromosome(size_t) const = 0; virtual void find_inexact(std::vector< fasta_result > &, const std::string &, size_t, size_t, size_t, bool) = 0; virtual const chromosome & get_chromosome(size_t) const = 0; virtual size_t get_num_chromosomes() const = 0; virtual void make_index(size_t) = 0; virtual void write_ascii(std::ostream &) const = 0; virtual void write_binary(writer &) const = 0; };
fasta_file_interface
public member functionsvirtual void append(const std::string & filename) = 0;
virtual const chromosome & find_chromosome(size_t location) const = 0;
virtual void find_inexact(std::vector< fasta_result > & result, const std::string & dstr, size_t max_distance, size_t max_results, size_t max_gap, bool is_brute_force) = 0;
virtual const chromosome & get_chromosome(size_t index) const = 0;
virtual size_t get_num_chromosomes() const = 0;
virtual void make_index(size_t num_indexed_chars) = 0;
virtual void write_ascii(std::ostream & str) const = 0;
virtual void write_binary(writer & wr) const = 0;