spot  0.8.3
Public Member Functions | Public Attributes
eltlyy::location Class Reference

Abstract a location. More...

#include <eltlparse/location.hh>

Collaboration diagram for eltlyy::location:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 location ()
 Construct a location.
void initialize (std::string *fn)
 Initialization.
Line and Column related manipulators
void step ()
 Reset initial location to final location.
void columns (unsigned int count=1)
 Extend the current location to the COUNT next columns.
void lines (unsigned int count=1)
 Extend the current location to the COUNT next lines.

Public Attributes

position begin
 Beginning of the located region.
position end
 End of the located region.

Detailed Description

Abstract a location.


Constructor & Destructor Documentation

Construct a location.


Member Function Documentation

void eltlyy::location::columns ( unsigned int  count = 1) [inline]

Extend the current location to the COUNT next columns.

References end.

Referenced by eltlyy::operator+(), and eltlyy::operator+=().

void eltlyy::location::initialize ( std::string *  fn) [inline]

Initialization.

References begin, end, and eltlyy::position::initialize().

void eltlyy::location::lines ( unsigned int  count = 1) [inline]

Extend the current location to the COUNT next lines.

References end, and eltlyy::position::lines().

void eltlyy::location::step ( ) [inline]

Reset initial location to final location.

References begin, and end.


Member Data Documentation

Beginning of the located region.

Referenced by initialize(), eltlyy::operator<<(), eltlyy::operator==(), and step().


The documentation for this class was generated from the following file:

Please comment this page and report errors about it on the RefDocComments page.
Generated on Fri Mar 9 2012 13:52:10 for spot by doxygen 1.7.6.1