#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. |
vrml1::position::position | ( | ) | [inline] |
Construct a position.
void vrml1::position::initialize | ( | std::string * | fn | ) | [inline] |
Initialization.
void vrml1::position::lines | ( | int | count = 1 |
) | [inline] |
(line related) Advance to the COUNT next lines.
void vrml1::position::columns | ( | int | count = 1 |
) | [inline] |
(column related) Advance to the COUNT next columns.
std::string* vrml1::position::filename |
File name to which this position refers.
unsigned int vrml1::position::line |
Current line number.
unsigned int vrml1::position::column |
Current column number.