ct_common
1.0.1
Common library for combinatorial testing
|
Abstract a position. More...
#include <position.hh>
Public Member Functions | |
position () | |
Construct a position. | |
void | initialize (std::string *fn) |
Initialization. | |
Line and Column related manipulators | |
void | lines (int count=1) |
(line related) Advance to the COUNT next lines. | |
void | columns (int count=1) |
(column related) Advance to the COUNT next columns. | |
Public Attributes | |
std::string * | filename |
File name to which this position refers. | |
unsigned int | line |
Current line number. | |
unsigned int | column |
Current column number. |
Abstract a position.
Definition at line 51 of file position.hh.
yy::position::position | ( | ) | [inline] |
Construct a position.
Definition at line 56 of file position.hh.
void yy::position::columns | ( | int | count = 1 | ) | [inline] |
(column related) Advance to the COUNT next columns.
Definition at line 81 of file position.hh.
void yy::position::initialize | ( | std::string * | fn | ) | [inline] |
Initialization.
Definition at line 63 of file position.hh.
void yy::position::lines | ( | int | count = 1 | ) | [inline] |
(line related) Advance to the COUNT next lines.
Definition at line 74 of file position.hh.
unsigned int yy::position::column |
Current column number.
Definition at line 93 of file position.hh.
std::string* yy::position::filename |
File name to which this position refers.
Definition at line 89 of file position.hh.
unsigned int yy::position::line |
Current line number.
Definition at line 91 of file position.hh.