Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::SQL::position Class Reference

Abstract a position. More...

#include <position.hh>

Collaboration diagram for CoGaDB::SQL::position:

List of all members.

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.

Detailed Description

Abstract a position.


Constructor & Destructor Documentation

Construct a position.


Member Function Documentation

void CoGaDB::SQL::position::columns ( int  count = 1) [inline]

(column related) Advance to the COUNT next columns.

References column.

Referenced by CoGaDB::SQL::operator+=().

Here is the caller graph for this function:

void CoGaDB::SQL::position::initialize ( std::string *  fn) [inline]

Initialization.

References column, filename, and line.

Referenced by CoGaDB::SQL::location::initialize().

Here is the caller graph for this function:

void CoGaDB::SQL::position::lines ( int  count = 1) [inline]

(line related) Advance to the COUNT next lines.

References column, and line.

Referenced by CoGaDB::SQL::location::lines().

Here is the caller graph for this function:


Member Data Documentation

File name to which this position refers.

Referenced by initialize(), CoGaDB::SQL::operator<<(), and CoGaDB::SQL::operator==().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines