• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

WTF

  • WTF
  • HashCountedSet
Public Types | Public Member Functions | List of all members
WTF::HashCountedSet< Value, HashFunctions, Traits > Class Template Reference

#include <HashCountedSet.h>

Public Types

typedef Value ValueType
 

Public Member Functions

 HashCountedSet ()
 
std::pair< iterator, bool > add (const ValueType &value)
 
iterator begin ()
 
const_iterator begin () const
 
int capacity () const
 
void clear ()
 
bool contains (const ValueType &value) const
 
unsigned count (const ValueType &value) const
 
iterator end ()
 
const_iterator end () const
 
iterator find (const ValueType &value)
 
const_iterator find (const ValueType &value) const
 
bool isEmpty () const
 
void remove (const ValueType &value)
 
void remove (iterator it)
 
int size () const
 

Detailed Description

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
class WTF::HashCountedSet< Value, HashFunctions, Traits >

Definition at line 33 of file HashCountedSet.h.

Member Typedef Documentation

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
typedef Value WTF::HashCountedSet< Value, HashFunctions, Traits >::ValueType

Definition at line 37 of file HashCountedSet.h.

Constructor & Destructor Documentation

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
WTF::HashCountedSet< Value, HashFunctions, Traits >::HashCountedSet ( )
inline

Definition at line 41 of file HashCountedSet.h.

Member Function Documentation

template<typename Value , typename HashFunctions , typename Traits >
std::pair< typename HashCountedSet< Value, HashFunctions, Traits >::iterator, bool > WTF::HashCountedSet< Value, HashFunctions, Traits >::add ( const ValueType &  value)
inline

Definition at line 141 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin ( )
inline

Definition at line 93 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin ( ) const
inline

Definition at line 105 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
int WTF::HashCountedSet< Value, HashFunctions, Traits >::capacity ( ) const
inline

Definition at line 81 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
void WTF::HashCountedSet< Value, HashFunctions, Traits >::clear ( )
inline

Definition at line 170 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::contains ( const ValueType &  value) const
inline

Definition at line 129 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::count ( const ValueType &  value) const
inline

Definition at line 135 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end ( )
inline

Definition at line 99 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end ( ) const
inline

Definition at line 111 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find ( const ValueType &  value)
inline

Definition at line 117 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find ( const ValueType &  value) const
inline

Definition at line 123 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::isEmpty ( ) const
inline

Definition at line 87 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
void WTF::HashCountedSet< Value, HashFunctions, Traits >::remove ( const ValueType &  value)
inline

Definition at line 149 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
void WTF::HashCountedSet< Value, HashFunctions, Traits >::remove ( iterator  it)
inline

Definition at line 155 of file HashCountedSet.h.

template<typename Value , typename HashFunctions , typename Traits >
int WTF::HashCountedSet< Value, HashFunctions, Traits >::size ( ) const
inline

Definition at line 75 of file HashCountedSet.h.


The documentation for this class was generated from the following file:
  • HashCountedSet.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

WTF

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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