Vcsn  2.3
Be Rational
location.hh File Reference

Define the vcsn::rat::location class. More...

#include "position.hh"
Include dependency graph for location.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vcsn::rat::location
 Abstract a location. More...
 

Namespaces

 vcsn
 
 vcsn::rat
 

Functions

location & vcsn::rat::operator+= (location &res, const location &end)
 Join two locations, in place. More...
 
location vcsn::rat::operator+ (location res, const location &end)
 Join two locations. More...
 
location & vcsn::rat::operator+= (location &res, int width)
 Add width columns to the end position, in place. More...
 
location vcsn::rat::operator+ (location res, int width)
 Add width columns to the end position. More...
 
location & vcsn::rat::operator-= (location &res, int width)
 Subtract width columns to the end position, in place. More...
 
location vcsn::rat::operator- (location res, int width)
 Subtract width columns to the end position. More...
 
bool vcsn::rat::operator== (const location &loc1, const location &loc2)
 Compare two location objects. More...
 
bool vcsn::rat::operator!= (const location &loc1, const location &loc2)
 Compare two location objects. More...
 
template<typename YYChar >
std::basic_ostream< YYChar > & vcsn::rat::operator<< (std::basic_ostream< YYChar > &ostr, const location &loc)
 Intercept output stream redirection. More...
 

Detailed Description

Define the vcsn::rat::location class.

Definition in file location.hh.