|
librostlab-blast
1.0.1
|
A point in a source file. More...
#include <blast-parser-location.h>
Public Types | |
| typedef int | counter_type |
| Type for line and column numbers. More... | |
Public Member Functions | |
| position (std::string *f=YY_NULLPTR, counter_type l=1, counter_type c=1) | |
| Construct a position. More... | |
| void | initialize (std::string *fn=YY_NULLPTR, counter_type l=1, counter_type c=1) |
| Initialization. More... | |
Line and Column related manipulators | |
| void | lines (counter_type count=1) |
| (line related) Advance to the COUNT next lines. More... | |
| void | columns (counter_type count=1) |
| (column related) Advance to the COUNT next columns. More... | |
Public Attributes | |
| std::string * | filename |
| File name to which this position refers. More... | |
| counter_type | line |
| Current line number. More... | |
| counter_type | column |
| Current column number. More... | |
A point in a source file.
Definition at line 61 of file blast-parser-location.h.
| typedef int rostlab::blast::position::counter_type |
Type for line and column numbers.
Definition at line 65 of file blast-parser-location.h.
|
inlineexplicit |
Construct a position.
Definition at line 68 of file blast-parser-location.h.
|
inline |
(column related) Advance to the COUNT next columns.
Definition at line 100 of file blast-parser-location.h.
|
inline |
Initialization.
Definition at line 78 of file blast-parser-location.h.
|
inline |
(line related) Advance to the COUNT next lines.
Definition at line 90 of file blast-parser-location.h.
| counter_type rostlab::blast::position::column |
Current column number.
Definition at line 111 of file blast-parser-location.h.
| std::string* rostlab::blast::position::filename |
File name to which this position refers.
Definition at line 107 of file blast-parser-location.h.
| counter_type rostlab::blast::position::line |
Current line number.
Definition at line 109 of file blast-parser-location.h.
1.8.17