Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
position.hh File Reference
#include <algorithm>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

class  yy::position
 Abstract a position. More...
 

Namespaces

 yy
 

Macros

#define YY_NULL   0
 

Functions

position & yy::operator+= (position &res, const int width)
 Add and assign a position. More...
 
const position yy::operator+ (const position &begin, const int width)
 Add two position objects. More...
 
position & yy::operator-= (position &res, const int width)
 Add and assign a position. More...
 
const position yy::operator- (const position &begin, const int width)
 Add two position objects. More...
 
bool yy::operator== (const position &pos1, const position &pos2)
 Compare two position objects. More...
 
bool yy::operator!= (const position &pos1, const position &pos2)
 Compare two position objects. More...
 
template<typename YYChar >
std::basic_ostream< YYChar > & yy::operator<< (std::basic_ostream< YYChar > &ostr, const position &pos)
 Intercept output stream redirection. More...
 

Detailed Description

Define the yy::position class.

Definition in file position.hh.

Macro Definition Documentation

#define YY_NULL   0

Definition at line 49 of file position.hh.