librostlab-blast  1.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

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

Function Documentation

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

Compare two location objects.

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

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

Compare two position objects.

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

const location rostlab::blast::operator+ ( const location &  begin,
const location &  end 
) [inline]

Join two location objects to create a location.

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

const position rostlab::blast::operator+ ( const position &  begin,
const int  width 
) [inline]

Add two position objects.

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

const location rostlab::blast::operator+ ( const location &  begin,
unsigned int  width 
) [inline]

Add two location objects.

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

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

Add and assign a position.

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

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

Add and assign a location.

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

const position rostlab::blast::operator- ( const position &  begin,
const int  width 
) [inline]

Add two position objects.

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

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

Add and assign a position.

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

std::ostream& rostlab::blast::operator<< ( std::ostream &  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 146 of file blast-parser-location.h.

std::ostream& rostlab::blast::operator<< ( std::ostream &  ostr,
const position &  pos 
) [inline]

Intercept output stream redirection.

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

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

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

Compare two location objects.

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

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

Compare two position objects.

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines