spot  1.1.3
Classes | Functions
eltlyy 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. More...
 
const location operator+ (const location &begin, unsigned int width)
 Add two location objects. More...
 
locationoperator+= (location &res, unsigned int width)
 Add and assign a location. More...
 
bool operator== (const location &loc1, const location &loc2)
 Compare two location objects. More...
 
bool operator!= (const location &loc1, const location &loc2)
 Compare two location objects. More...
 
template<typename YYChar >
std::basic_ostream< YYChar > & operator<< (std::basic_ostream< YYChar > &ostr, const location &loc)
 Intercept output stream redirection. More...
 
positionoperator+= (position &res, const int width)
 Add and assign a position. More...
 
const position operator+ (const position &begin, const int width)
 Add two position objects. More...
 
positionoperator-= (position &res, const int width)
 Add and assign a position. More...
 
const position operator- (const position &begin, const int width)
 Add two position objects. More...
 
bool operator== (const position &pos1, const position &pos2)
 Compare two position objects. More...
 
bool operator!= (const position &pos1, const position &pos2)
 Compare two position objects. More...
 
template<typename YYChar >
std::basic_ostream< YYChar > & operator<< (std::basic_ostream< YYChar > &ostr, const position &pos)
 Intercept output stream redirection. More...
 

Function Documentation

bool eltlyy::operator!= ( const location &  loc1,
const location &  loc2 
)
inline

Compare two location objects.

bool eltlyy::operator!= ( const position &  pos1,
const position &  pos2 
)
inline

Compare two position objects.

const location eltlyy::operator+ ( const location &  begin,
const location &  end 
)
inline

Join two location objects to create a location.

References eltlyy::location::end.

const position eltlyy::operator+ ( const position &  begin,
const int  width 
)
inline

Add two position objects.

const location eltlyy::operator+ ( const location &  begin,
unsigned int  width 
)
inline

Add two location objects.

References eltlyy::location::columns().

position& eltlyy::operator+= ( position &  res,
const int  width 
)
inline

Add and assign a position.

location& eltlyy::operator+= ( location &  res,
unsigned int  width 
)
inline

Add and assign a location.

References eltlyy::location::columns().

const position eltlyy::operator- ( const position &  begin,
const int  width 
)
inline

Add two position objects.

position& eltlyy::operator-= ( position &  res,
const int  width 
)
inline

Add and assign a position.

template<typename YYChar >
std::basic_ostream<YYChar>& eltlyy::operator<< ( std::basic_ostream< YYChar > &  ostr,
const location &  loc 
)
inline

Intercept output stream redirection.

Parameters
ostrthe destination output stream
loca reference to the location to redirect

Avoid duplicate information.

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

template<typename YYChar >
std::basic_ostream<YYChar>& eltlyy::operator<< ( std::basic_ostream< YYChar > &  ostr,
const position &  pos 
)
inline

Intercept output stream redirection.

Parameters
ostrthe destination output stream
posa reference to the position to redirect

References eltlyy::position::filename.

bool eltlyy::operator== ( const position &  pos1,
const position &  pos2 
)
inline

Compare two position objects.

bool eltlyy::operator== ( const location &  loc1,
const location &  loc2 
)
inline

Compare two location objects.

References eltlyy::location::begin, and eltlyy::location::end.


Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Tue Jul 9 2013 14:04:33 for spot by doxygen 1.8.4