KHolidays Library
#include <iostream>
#include <string>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | KHolidays::position |
Functions | |
bool | KHolidays::operator!= (const position &pos1, const position &pos2) |
const position | KHolidays::operator+ (const position &begin, const int width) |
const position & | KHolidays::operator+= (position &res, const int width) |
const position | KHolidays::operator- (const position &begin, const int width) |
const position & | KHolidays::operator-= (position &res, const int width) |
std::ostream & | KHolidays::operator<< (std::ostream &ostr, const position &pos) |
bool | KHolidays::operator== (const position &pos1, const position &pos2) |
Detailed Description
Define the KHolidays::position class.
Definition in file position.hh.
Function Documentation
◆ operator!=()
Compare two position objects.
Definition at line 142 of file position.hh.
◆ operator+()
|
inline |
Add two position objects.
Definition at line 110 of file position.hh.
◆ operator+=()
|
inline |
Add and assign a position.
Definition at line 102 of file position.hh.
◆ operator-()
|
inline |
Add two position objects.
Definition at line 125 of file position.hh.
◆ operator-=()
|
inline |
Add and assign a position.
Definition at line 118 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 151 of file position.hh.
◆ operator==()
Compare two position objects.
Definition at line 132 of file position.hh.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.