QJson home page

/builddir/build/BUILD/qjson-d0f62e65f0b79fb7724d8d551dc9ff11d085127b/src/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...

Functions

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

Detailed Description

Define the yy::position class.

Definition in file position.hh.


SourceForge Logo hosts this site. Send comments to:
QJson Developers