librostlab-blast
1.0.1
|
Abstract a position. More...
#include <blast-parser-position.h>
Public Member Functions | |
position (std::string *f=YY_NULLPTR, unsigned int l=1u, unsigned int c=1u) | |
Construct a position. More... | |
void | initialize (std::string *fn=YY_NULLPTR, unsigned int l=1u, unsigned int c=1u) |
Initialization. More... | |
Line and Column related manipulators | |
void | lines (int count=1) |
(line related) Advance to the COUNT next lines. More... | |
void | columns (int count=1) |
(column related) Advance to the COUNT next columns. More... | |
Public Attributes | |
std::string * | filename |
File name to which this position refers. More... | |
unsigned int | line |
Current line number. More... | |
unsigned int | column |
Current column number. More... | |
Abstract a position.
Definition at line 57 of file blast-parser-position.h.
|
inlineexplicit |
Construct a position.
Definition at line 61 of file blast-parser-position.h.
|
inline |
(column related) Advance to the COUNT next columns.
Definition at line 94 of file blast-parser-position.h.
|
inline |
Initialization.
Definition at line 72 of file blast-parser-position.h.
|
inline |
(line related) Advance to the COUNT next lines.
Definition at line 84 of file blast-parser-position.h.
unsigned int rostlab::blast::position::column |
Current column number.
Definition at line 105 of file blast-parser-position.h.
std::string* rostlab::blast::position::filename |
File name to which this position refers.
Definition at line 101 of file blast-parser-position.h.
unsigned int rostlab::blast::position::line |
Current line number.
Definition at line 103 of file blast-parser-position.h.