• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

KHolidays Library

  • kholidays
  • parsers
  • plan2
Classes | Functions
position.hh File Reference
#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!=()

bool KHolidays::operator!= ( const position & pos1,
const position & pos2 )
inline

Compare two position objects.

Definition at line 142 of file position.hh.

◆ operator+()

const position KHolidays::operator+ ( const position & begin,
const int width )
inline

Add two position objects.

Definition at line 110 of file position.hh.

◆ operator+=()

const position & KHolidays::operator+= ( position & res,
const int width )
inline

Add and assign a position.

Definition at line 102 of file position.hh.

◆ operator-()

const position KHolidays::operator- ( const position & begin,
const int width )
inline

Add two position objects.

Definition at line 125 of file position.hh.

◆ operator-=()

const position & KHolidays::operator-= ( position & res,
const int width )
inline

Add and assign a position.

Definition at line 118 of file position.hh.

◆ operator<<()

std::ostream & KHolidays::operator<< ( std::ostream & ostr,
const position & pos )
inline

Intercept output stream redirection.

Parameters
ostrthe destination output stream
posa reference to the position to redirect

Definition at line 151 of file position.hh.

◆ operator==()

bool KHolidays::operator== ( const position & pos1,
const position & pos2 )
inline

Compare two position objects.

Definition at line 132 of file position.hh.

This file is part of the KDE documentation.
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.

KHolidays Library

Skip menu "KHolidays Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal