Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

position.hh File Reference

#include <iostream>
#include <string>

Include dependency graph for position.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yy

Functions

const position & operator+= (position &res, const int width)
 Add and assign a position.
const position operator+ (const position &begin, const int width)
 Add two position objects.
const position & operator-= (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.


Detailed Description

Define the position class.

Function Documentation

const position operator+ const position &  begin,
const int  width
[inline]
 

Add two position objects.

const position& operator+= position &  res,
const int  width
[inline]
 

Add and assign a position.

const position operator- const position &  begin,
const int  width
[inline]
 

Add two position objects.

const position& operator-= position &  res,
const int  width
[inline]
 

Add and assign a position.

std::ostream& 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


Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed Mar 1 10:33:12 2006 for spot by doxygen 1.4.0