KHolidays Library
KHolidays::position Class Reference
Abstract a position. More...
#include <position.hh>
Public Member Functions | |
position () | |
void | initialize (std::string *fn) |
Line and Column related manipulators | |
void | lines (int count=1) |
void | columns (int count=1) |
Public Attributes | |
unsigned int | column |
std::string * | filename |
unsigned int | line |
Detailed Description
Abstract a position.
Definition at line 49 of file position.hh.
Constructor & Destructor Documentation
KHolidays::position::position | ( | ) | [inline] |
Construct a position.
Definition at line 54 of file position.hh.
Member Function Documentation
void KHolidays::position::columns | ( | int | count = 1 |
) | [inline] |
(column related) Advance to the COUNT next columns.
Definition at line 79 of file position.hh.
void KHolidays::position::initialize | ( | std::string * | fn | ) | [inline] |
Initialization.
Definition at line 61 of file position.hh.
void KHolidays::position::lines | ( | int | count = 1 |
) | [inline] |
(line related) Advance to the COUNT next lines.
Definition at line 72 of file position.hh.
Member Data Documentation
unsigned int KHolidays::position::column |
Current column number.
Definition at line 96 of file position.hh.
std::string* KHolidays::position::filename |
File name to which this position refers.
Definition at line 92 of file position.hh.
unsigned int KHolidays::position::line |
Current line number.
Definition at line 94 of file position.hh.
The documentation for this class was generated from the following file: