• 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
location.hh File Reference
#include <iostream>
#include <string>
#include "position.hh"

Go to the source code of this file.

Classes

class  KHolidays::location
 

Functions

bool KHolidays::operator!= (const location &loc1, const location &loc2)
 
const location KHolidays::operator+ (const location &begin, const location &end)
 
const location KHolidays::operator+ (const location &begin, unsigned int width)
 
location & KHolidays::operator+= (location &res, unsigned int width)
 
std::ostream & KHolidays::operator<< (std::ostream &ostr, const location &loc)
 
bool KHolidays::operator== (const location &loc1, const location &loc2)
 

Detailed Description

Define the KHolidays::location class.

Definition in file location.hh.

Function Documentation

◆ operator!=()

bool KHolidays::operator!= ( const location &  loc1,
const location &  loc2 
)
inline

Compare two location objects.

Definition at line 136 of file location.hh.

◆ operator+() [1/2]

const location KHolidays::operator+ ( const location &  begin,
const location &  end 
)
inline

Join two location objects to create a location.

Definition at line 105 of file location.hh.

◆ operator+() [2/2]

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

Add two location objects.

Definition at line 113 of file location.hh.

◆ operator+=()

location & KHolidays::operator+= ( location &  res,
unsigned int  width 
)
inline

Add and assign a location.

Definition at line 121 of file location.hh.

◆ operator<<()

std::ostream & KHolidays::operator<< ( std::ostream &  ostr,
const location &  loc 
)
inline

Intercept output stream redirection.

Parameters
ostrthe destination output stream
loca reference to the location to redirect

Avoid duplicate information.

Definition at line 147 of file location.hh.

◆ operator==()

bool KHolidays::operator== ( const location &  loc1,
const location &  loc2 
)
inline

Compare two location objects.

Definition at line 129 of file location.hh.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 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