![]() |
Column-oriented GPU-accelerated Database Management System
CoGaDB
|
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.
| CoGaDB::SQL::position::position | ( | ) | [inline] |
Construct a position.
| void CoGaDB::SQL::position::columns | ( | int | count = 1 | ) | [inline] |
(column related) Advance to the COUNT next columns.
References column.
Referenced by CoGaDB::SQL::operator+=().

| void CoGaDB::SQL::position::initialize | ( | std::string * | fn | ) | [inline] |
Initialization.
References column, filename, and line.
Referenced by CoGaDB::SQL::location::initialize().

| void CoGaDB::SQL::position::lines | ( | int | count = 1 | ) | [inline] |
(line related) Advance to the COUNT next lines.
Referenced by CoGaDB::SQL::location::lines().

| unsigned int CoGaDB::SQL::position::column |
Current column number.
Referenced by columns(), initialize(), lines(), CoGaDB::SQL::operator<<(), and CoGaDB::SQL::operator==().
| std::string* CoGaDB::SQL::position::filename |
File name to which this position refers.
Referenced by initialize(), CoGaDB::SQL::operator<<(), and CoGaDB::SQL::operator==().
| unsigned int CoGaDB::SQL::position::line |
Current line number.
Referenced by initialize(), lines(), CoGaDB::SQL::operator<<(), and CoGaDB::SQL::operator==().