Classes | Functions

sautyy Namespace Reference

Classes

class  location
 Abstract a location. More...
class  position
 Abstract a position. More...
class  stack
class  slice
 Present a slice of the top of a stack. More...

Functions

const location operator+ (const location &begin, const location &end)
 Join two location objects to create a location.
const location operator+ (const location &begin, unsigned int width)
 Add two location objects.
locationoperator+= (location &res, unsigned int width)
 Add and assign a location.
std::ostream & operator<< (std::ostream &ostr, const location &loc)
 Intercept output stream redirection.
const positionoperator+= (position &res, const int width)
 Add and assign a position.
const position operator+ (const position &begin, const int width)
 Add two position objects.
const positionoperator-= (position &res, const int width)
 Add and assign a position.
const position operator- (const position &begin, const int width)
 Add two position objects.
std::ostream & operator<< (std::ostream &ostr, const position &pos)
 Intercept output stream redirection.

Function Documentation

const location sautyy::operator+ ( const location &  begin,
const location &  end 
) [inline]

Join two location objects to create a location.

References sautyy::location::end.

const location sautyy::operator+ ( const location &  begin,
unsigned int  width 
) [inline]

Add two location objects.

References sautyy::location::columns().

const position sautyy::operator+ ( const position &  begin,
const int  width 
) [inline]

Add two position objects.

const position& sautyy::operator+= ( position &  res,
const int  width 
) [inline]

Add and assign a position.

References sautyy::position::columns().

location& sautyy::operator+= ( location &  res,
unsigned int  width 
) [inline]

Add and assign a location.

References sautyy::location::columns().

const position sautyy::operator- ( const position &  begin,
const int  width 
) [inline]

Add two position objects.

const position& sautyy::operator-= ( position &  res,
const int  width 
) [inline]

Add and assign a position.

std::ostream& sautyy::operator<< ( std::ostream &  ostr,
const location &  loc 
) [inline]

Intercept output stream redirection.

Parameters:
ostr the destination output stream
loc a reference to the location to redirect

Avoid duplicate information.

std::ostream& sautyy::operator<< ( std::ostream &  ostr,
const position &  pos 
) [inline]

Intercept output stream redirection.

Parameters:
ostr the destination output stream
pos a reference to the position to redirect

References sautyy::position::column, sautyy::position::filename, and sautyy::position::line.


Please comment this page and report errors about it on the RefDocComments page.
Generated on Tue Feb 1 2011 12:00:53 for spot by doxygen 1.7.1