spot  1.0
Public Member Functions | Public Attributes | List of all members
neverclaimyy::location Class Reference

Abstract a location. More...

#include <neverparse/location.hh>

Collaboration diagram for neverclaimyy::location:
Collaboration graph

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

neverclaimyy::location::location ( )
inline

Construct a location.

Member Function Documentation

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

Extend the current location to the COUNT next columns.

References end.

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

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

Initialization.

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

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

Extend the current location to the COUNT next lines.

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

void neverclaimyy::location::step ( )
inline

Reset initial location to final location.

References begin, and end.

Member Data Documentation

position neverclaimyy::location::begin

Beginning of the located region.

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

position neverclaimyy::location::end

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 Sat Oct 27 2012 09:34:33 for spot by doxygen 1.8.1.2