torc-master
|
Abstract a position. More...
#include <position.hh>
Public Member Functions | |
position () | |
Construct a position. More... | |
void | initialize (std::string *fn) |
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... | |
Data Fields | |
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 54 of file generic/edif/position.hh.
|
inline |
Construct a position.
Definition at line 59 of file generic/edif/position.hh.
|
inline |
(column related) Advance to the COUNT next columns.
Definition at line 84 of file generic/edif/position.hh.
|
inline |
Initialization.
Definition at line 66 of file generic/edif/position.hh.
|
inline |
(line related) Advance to the COUNT next lines.
Definition at line 77 of file generic/edif/position.hh.
unsigned int torc::generic::position::column |
Current column number.
Definition at line 96 of file generic/edif/position.hh.
std::string* torc::generic::position::filename |
File name to which this position refers.
Definition at line 92 of file generic/edif/position.hh.
unsigned int torc::generic::position::line |
Current line number.
Definition at line 94 of file generic/edif/position.hh.