#include <iostream>
#include <string>
Go to the source code of this file.
Classes | |
class | TQMake::position |
Functions | |
const position & | TQMake::operator+= (position &res, const int width) |
const position | TQMake::operator+ (const position &begin, const int width) |
const position & | TQMake::operator-= (position &res, const int width) |
const position | TQMake::operator- (const position &begin, const int width) |
std::ostream & | TQMake::operator<< (std::ostream &ostr, const position &pos) |
Detailed Description
Define the TQMake::position class.
Definition in file position.hh.
Function Documentation
◆ operator+()
|
inline |
Add two position objects.
Definition at line 109 of file position.hh.
◆ operator+=()
|
inline |
Add and assign a position.
Definition at line 101 of file position.hh.
◆ operator-()
|
inline |
Add two position objects.
Definition at line 124 of file position.hh.
◆ operator-=()
|
inline |
Add and assign a position.
Definition at line 117 of file position.hh.
◆ operator<<()
|
inline |
Intercept output stream redirection.
- Parameters
-
ostr the destination output stream pos a reference to the position to redirect
Definition at line 134 of file position.hh.