librostlab-blast
1.0.1
|
Abstract a location. More...
#include <blast-parser-location.h>
Public Member Functions | |
location (const position &b, const position &e) | |
Construct a location from b to e. More... | |
location (const position &p=position()) | |
Construct a 0-width location in p. More... | |
location (std::string *f, unsigned int l=1u, unsigned int c=1u) | |
Construct a 0-width location in f, l, c. More... | |
void | initialize (std::string *f=YY_NULLPTR, unsigned int l=1u, unsigned int c=1u) |
Initialization. More... | |
Line and Column related manipulators | |
void | step () |
Reset initial location to final location. More... | |
void | columns (int count=1) |
Extend the current location to the COUNT next columns. More... | |
void | lines (int count=1) |
Extend the current location to the COUNT next lines. More... | |
Public Attributes | |
position | begin |
Beginning of the located region. More... | |
position | end |
End of the located region. More... | |
Abstract a location.
Definition at line 47 of file blast-parser-location.h.
Construct a location from b to e.
Definition at line 52 of file blast-parser-location.h.
Construct a 0-width location in p.
Definition at line 59 of file blast-parser-location.h.
|
inlineexplicit |
Construct a 0-width location in f, l, c.
Definition at line 66 of file blast-parser-location.h.
|
inline |
Extend the current location to the COUNT next columns.
Definition at line 94 of file blast-parser-location.h.
|
inline |
Initialization.
Definition at line 76 of file blast-parser-location.h.
|
inline |
Extend the current location to the COUNT next lines.
Definition at line 100 of file blast-parser-location.h.
|
inline |
Reset initial location to final location.
Definition at line 88 of file blast-parser-location.h.
position rostlab::blast::location::begin |
Beginning of the located region.
Definition at line 109 of file blast-parser-location.h.
position rostlab::blast::location::end |
End of the located region.
Definition at line 111 of file blast-parser-location.h.