torc::generic::location Class Reference

Abstract a location. More...

#include <location.hh>

Collaboration diagram for torc::generic::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.

Definition at line 55 of file location.hh.


Constructor & Destructor Documentation

torc::generic::location::location (  )  [inline]

Construct a location.

Definition at line 60 of file location.hh.


Member Function Documentation

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

Initialization.

Definition at line 67 of file location.hh.

void torc::generic::location::step (  )  [inline]

Reset initial location to final location.

Definition at line 77 of file location.hh.

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

Extend the current location to the COUNT next columns.

Definition at line 83 of file location.hh.

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

Extend the current location to the COUNT next lines.

Definition at line 89 of file location.hh.


Member Data Documentation

Beginning of the located region.

Definition at line 98 of file location.hh.

End of the located region.

Definition at line 100 of file location.hh.


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

Generated on Thu Oct 13 16:50:40 2011 for TORC by  doxygen 1.5.6