librostlab-blast  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Functions
rostlab::blast Namespace Reference

Classes

class  parser_error
 
class  parser_driver
 Blast (default, -m 0) output parser. More...
 
class  location
 Abstract a location. More...
 
class  parser
 A Bison parser. More...
 
class  position
 Abstract a position. More...
 
class  stack
 
class  slice
 Present a slice of the top of a stack. More...
 
struct  round
 Data specific to an iterated blast round. More...
 
struct  hsp
 High-scoring segment pair. More...
 
struct  hit
 Blast hit. More...
 
struct  oneline
 One-line description. More...
 
struct  result
 Blast result for one query. More...
 

Functions

location operator+ (location res, const location &end)
 Join two location objects to create a location. More...
 
locationoperator+= (location &res, int width)
 Change end position in place. More...
 
location operator+ (location res, int width)
 Change end position. More...
 
locationoperator-= (location &res, int width)
 Change end position in place. More...
 
location operator- (const location &begin, int width)
 Change end position. More...
 
bool operator== (const location &loc1, const location &loc2)
 Compare two location objects. More...
 
bool operator!= (const location &loc1, const location &loc2)
 Compare two location objects. More...
 
template<typename YYChar >
std::basic_ostream< YYChar > & operator<< (std::basic_ostream< YYChar > &ostr, const location &loc)
 Intercept output stream redirection. More...
 
positionoperator+= (position &res, int width)
 Add and assign a position. More...
 
position operator+ (position res, int width)
 Add two position objects. More...
 
positionoperator-= (position &res, int width)
 Add and assign a position. More...
 
position operator- (position res, int width)
 Add two position objects. More...
 
bool operator== (const position &pos1, const position &pos2)
 Compare two position objects. More...
 
bool operator!= (const position &pos1, const position &pos2)
 Compare two position objects. More...
 
template<typename YYChar >
std::basic_ostream< YYChar > & operator<< (std::basic_ostream< YYChar > &ostr, const position &pos)
 Intercept output stream redirection. More...
 

Function Documentation

bool rostlab::blast::operator!= ( const location &  loc1,
const location &  loc2 
)
inline

Compare two location objects.

Definition at line 155 of file blast-parser-location.h.

bool rostlab::blast::operator!= ( const position &  pos1,
const position &  pos2 
)
inline

Compare two position objects.

Definition at line 159 of file blast-parser-position.h.

location rostlab::blast::operator+ ( location  res,
const location &  end 
)
inline

Join two location objects to create a location.

Definition at line 115 of file blast-parser-location.h.

position rostlab::blast::operator+ ( position  res,
int  width 
)
inline

Add two position objects.

Definition at line 127 of file blast-parser-position.h.

location rostlab::blast::operator+ ( location  res,
int  width 
)
inline

Change end position.

Definition at line 129 of file blast-parser-location.h.

position& rostlab::blast::operator+= ( position &  res,
int  width 
)
inline

Add and assign a position.

Definition at line 119 of file blast-parser-position.h.

location& rostlab::blast::operator+= ( location &  res,
int  width 
)
inline

Change end position in place.

Definition at line 122 of file blast-parser-location.h.

location rostlab::blast::operator- ( const location &  begin,
int  width 
)
inline

Change end position.

Definition at line 141 of file blast-parser-location.h.

position rostlab::blast::operator- ( position  res,
int  width 
)
inline

Add two position objects.

Definition at line 141 of file blast-parser-position.h.

position& rostlab::blast::operator-= ( position &  res,
int  width 
)
inline

Add and assign a position.

Definition at line 134 of file blast-parser-position.h.

location& rostlab::blast::operator-= ( location &  res,
int  width 
)
inline

Change end position in place.

Definition at line 135 of file blast-parser-location.h.

template<typename YYChar >
std::basic_ostream<YYChar>& rostlab::blast::operator<< ( std::basic_ostream< YYChar > &  ostr,
const location &  loc 
)
inline

Intercept output stream redirection.

Parameters
ostrthe destination output stream
loca reference to the location to redirect

Avoid duplicate information.

Definition at line 168 of file blast-parser-location.h.

template<typename YYChar >
std::basic_ostream<YYChar>& rostlab::blast::operator<< ( std::basic_ostream< YYChar > &  ostr,
const position &  pos 
)
inline

Intercept output stream redirection.

Parameters
ostrthe destination output stream
posa reference to the position to redirect

Definition at line 170 of file blast-parser-position.h.

bool rostlab::blast::operator== ( const position &  pos1,
const position &  pos2 
)
inline

Compare two position objects.

Definition at line 148 of file blast-parser-position.h.

bool rostlab::blast::operator== ( const location &  loc1,
const location &  loc2 
)
inline

Compare two location objects.

Definition at line 148 of file blast-parser-location.h.