spot  1.1.2
Public Member Functions | Public Attributes | List of all members
kripkeyy::location Class Reference

Abstract a location. More...

#include <kripkeparse/location.hh>

Collaboration diagram for kripkeyy::location:
Collaboration graph

Public Member Functions

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

Public Attributes

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

Detailed Description

Abstract a location.

Constructor & Destructor Documentation

kripkeyy::location::location ( )
inline

Construct a location.

Member Function Documentation

void kripkeyy::location::columns ( unsigned int  count = 1)
inline

Extend the current location to the COUNT next columns.

References end.

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

void kripkeyy::location::initialize ( std::string *  fn)
inline

Initialization.

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

void kripkeyy::location::lines ( unsigned int  count = 1)
inline

Extend the current location to the COUNT next lines.

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

void kripkeyy::location::step ( )
inline

Reset initial location to final location.

References begin, and end.

Member Data Documentation

position kripkeyy::location::begin

Beginning of the located region.

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

position kripkeyy::location::end

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

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Sun Jun 9 2013 18:11:07 for spot by doxygen 1.8.4