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

kabc

  • KABC
  • Resource
  • ConstIterator
Public Member Functions
KABC::Resource::ConstIterator Class Reference

#include <resource.h>

List of all members.

Public Member Functions

 ConstIterator ()
 ConstIterator (const ConstIterator &)
 ConstIterator (const Iterator &)
virtual bool operator!= (const ConstIterator &it) const
virtual const Addressee & operator* () const
virtual ConstIterator & operator++ ()
virtual ConstIterator & operator++ (int)
virtual ConstIterator & operator-- ()
virtual ConstIterator & operator-- (int)
virtual ConstIterator & operator= (const ConstIterator &)
virtual bool operator== (const ConstIterator &it) const

Detailed Description

Resource Const Iterator.

This class provides a const iterator for resource entries.

Definition at line 165 of file resource.h.


Constructor & Destructor Documentation

Resource::ConstIterator::ConstIterator ( )

Default constructor.

Definition at line 135 of file resource.cpp.

Resource::ConstIterator::ConstIterator ( const ConstIterator &  other)

Copy constructor.

Definition at line 140 of file resource.cpp.

Resource::ConstIterator::ConstIterator ( const Iterator &  other)

Copy constructor.

Constructs a ConstIterator from an non-const Iterator

Definition at line 147 of file resource.cpp.


Member Function Documentation

bool Resource::ConstIterator::operator!= ( const ConstIterator &  it) const
virtual

Inequality operator.

Compares this iterator to it

      @param it the iterator to compare this iterator to
      @return @c true if the iterators are not equal,
              @c false otherwise

Definition at line 202 of file resource.cpp.

const Addressee & Resource::ConstIterator::operator* ( ) const
virtual

Constant Dereference operator.

Note:
For invalid iterators, the result is undefined.
Unlike in Iterator, there is no non-constant dereference operator.
Returns:
the const Addressee object the iterator points to.

Definition at line 168 of file resource.cpp.

Resource::ConstIterator & Resource::ConstIterator::operator++ ( )
virtual

Preincrement operator.

Advances the iterator by one.

      @return this iterator, @c *this

Definition at line 173 of file resource.cpp.

Resource::ConstIterator & Resource::ConstIterator::operator++ ( int  )
virtual

Postincrement operator.

Advances the iterator by one.

Note:
This function does not copy the iterator object.
Returns:
this iterator, *this

Definition at line 179 of file resource.cpp.

Resource::ConstIterator & Resource::ConstIterator::operator-- ( )
virtual

Predecrement operator.

Decreases the iterator by one.

      @return this iterator, @c *this

Definition at line 185 of file resource.cpp.

Resource::ConstIterator & Resource::ConstIterator::operator-- ( int  )
virtual

Postdecrement operator.

Decreases the iterator by one.

Note:
This function does not copy the iterator object.
Returns:
this iterator, *this

Definition at line 191 of file resource.cpp.

Resource::ConstIterator & Resource::ConstIterator::operator= ( const ConstIterator &  other)
virtual

Assignment operator.

Assignes the given iterator to *this.

Returns:
this iterator, *this

Definition at line 154 of file resource.cpp.

bool Resource::ConstIterator::operator== ( const ConstIterator &  it) const
virtual

Equality operator.

Compares this iterator to it

      @param it the iterator to compare this iterator to
      @return @c true if both iterators are equal,
              @c false otherwise

Definition at line 197 of file resource.cpp.


The documentation for this class was generated from the following files:
  • resource.h
  • resource.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Mon Jun 24 2013 13:01:32 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kabc

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

kdepimlibs-4.10.4 API Reference

Skip menu "kdepimlibs-4.10.4 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