librostlab-blast  1.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
rostlab::blast::result Struct Reference

Blast result for one query. More...

#include <blast-result.h>

Public Member Functions

 result ()
virtual ~result ()
 operator bool () const
 Conversion to bool - true when not empty.

Public Attributes

bool empty
std::string blast_version
std::vector< std::string > references
std::vector
< rostlab::blast::round
rounds
 Vector of iterated blast round information.
std::string q_name
 Query name.
std::string q_desc
 Query description.
size_t q_length
 Query length.
std::string db_name
 Database name.
size_t db_nseq
 Number of sequences in database.
size_t db_nletter
 Number of letters in database.
std::vector
< rostlab::blast::oneline
onelines
 Vector of all one-line descriptions.
bool converged
 Indicates that the search has converged.
std::vector< rostlab::blast::hithits
 Vector of all hits.
std::string tail
 Tail part of blast result as a long string.

Detailed Description

Blast result for one query.

Definition at line 165 of file blast-result.h.

Constructor & Destructor Documentation

rostlab::blast::result::result ( )
inline

Definition at line 196 of file blast-result.h.

virtual rostlab::blast::result::~result ( )
inlinevirtual

Definition at line 197 of file blast-result.h.

Member Function Documentation

rostlab::blast::result::operator bool ( ) const
inline

Conversion to bool - true when not empty.

This allows writing 'while( res = parser_driver.parse() ){ ... }'.

Definition at line 201 of file blast-result.h.

Member Data Documentation

std::string rostlab::blast::result::blast_version

Definition at line 167 of file blast-result.h.

bool rostlab::blast::result::converged

Indicates that the search has converged.

Definition at line 189 of file blast-result.h.

std::string rostlab::blast::result::db_name

Database name.

Definition at line 180 of file blast-result.h.

size_t rostlab::blast::result::db_nletter

Number of letters in database.

Definition at line 184 of file blast-result.h.

size_t rostlab::blast::result::db_nseq

Number of sequences in database.

Definition at line 182 of file blast-result.h.

bool rostlab::blast::result::empty

Definition at line 166 of file blast-result.h.

std::vector<rostlab::blast::hit> rostlab::blast::result::hits

Vector of all hits.

Definition at line 192 of file blast-result.h.

std::vector<rostlab::blast::oneline> rostlab::blast::result::onelines

Vector of all one-line descriptions.

Definition at line 187 of file blast-result.h.

std::string rostlab::blast::result::q_desc

Query description.

Definition at line 176 of file blast-result.h.

size_t rostlab::blast::result::q_length

Query length.

Definition at line 178 of file blast-result.h.

std::string rostlab::blast::result::q_name

Query name.

Definition at line 174 of file blast-result.h.

std::vector<std::string> rostlab::blast::result::references

Definition at line 169 of file blast-result.h.

std::vector<rostlab::blast::round> rostlab::blast::result::rounds

Vector of iterated blast round information.

Definition at line 172 of file blast-result.h.

std::string rostlab::blast::result::tail

Tail part of blast result as a long string.

Definition at line 194 of file blast-result.h.


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