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

WTF

  • WTF
  • HashSet
Public Types | Public Member Functions | List of all members
WTF::HashSet< ValueArg, HashArg, TraitsArg > Class Template Reference

#include <HashSet.h>

Public Types

typedef ValueTraits::TraitType ValueType
 

Public Member Functions

template<typename T , typename HashTranslator >
pair< iterator, bool > add (const T &)
 
template<typename T , typename Translator >
pair< typename HashSet< Value, HashFunctions, Traits >::iterator, bool > add (const T &value)
 
pair< iterator, bool > add (const ValueType &)
 
iterator begin ()
 
const_iterator begin () const
 
int capacity () const
 
void clear ()
 
template<typename T , typename HashTranslator >
bool contains (const T &) const
 
bool contains (const ValueType &) const
 
iterator end ()
 
const_iterator end () const
 
template<typename T , typename HashTranslator >
iterator find (const T &)
 
template<typename T , typename HashTranslator >
const_iterator find (const T &) const
 
iterator find (const ValueType &)
 
const_iterator find (const ValueType &) const
 
bool isEmpty () const
 
void remove (const ValueType &)
 
void remove (iterator)
 
int size () const
 
void swap (HashSet &)
 

Detailed Description

template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
class WTF::HashSet< ValueArg, HashArg, TraitsArg >

Definition at line 37 of file HashSet.h.

Member Typedef Documentation

◆ ValueType

template<typename ValueArg , typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
typedef ValueTraits::TraitType WTF::HashSet< ValueArg, HashArg, TraitsArg >::ValueType

Definition at line 43 of file HashSet.h.

Member Function Documentation

◆ add() [1/3]

template<typename ValueArg , typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
template<typename T , typename HashTranslator >
pair< iterator, bool > WTF::HashSet< ValueArg, HashArg, TraitsArg >::add ( const T &  )

◆ add() [2/3]

template<typename ValueArg , typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
template<typename T , typename Translator >
pair< typename HashSet< Value, HashFunctions, Traits >::iterator, bool > WTF::HashSet< ValueArg, HashArg, TraitsArg >::add ( const T &  value)

Definition at line 214 of file HashSet.h.

◆ add() [3/3]

template<typename T , typename U , typename V >
pair< typename HashSet< T, U, V >::iterator, bool > WTF::HashSet< T, U, V >::add ( const ValueType &  value)

Definition at line 206 of file HashSet.h.

◆ begin() [1/2]

template<typename T , typename U , typename V >
HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::begin
inline

Definition at line 138 of file HashSet.h.

◆ begin() [2/2]

template<typename T , typename U , typename V >
HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::begin
inline

Definition at line 150 of file HashSet.h.

◆ capacity()

template<typename T , typename U , typename V >
int WTF::HashSet< T, U, V >::capacity
inline

Definition at line 126 of file HashSet.h.

◆ clear()

template<typename T , typename U , typename V >
void WTF::HashSet< T, U, V >::clear
inline

Definition at line 236 of file HashSet.h.

◆ contains() [1/2]

template<typename Value , typename HashFunctions , typename Traits >
template<typename T , typename Translator >
bool WTF::HashSet< Value, HashFunctions, Traits >::contains ( const T &  value) const
inline

Definition at line 199 of file HashSet.h.

◆ contains() [2/2]

template<typename T , typename U , typename V >
bool WTF::HashSet< T, U, V >::contains ( const ValueType &  value) const
inline

Definition at line 174 of file HashSet.h.

◆ end() [1/2]

template<typename T , typename U , typename V >
HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::end
inline

Definition at line 144 of file HashSet.h.

◆ end() [2/2]

template<typename T , typename U , typename V >
HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::end
inline

Definition at line 156 of file HashSet.h.

◆ find() [1/4]

template<typename Value , typename HashFunctions , typename Traits >
template<typename T , typename Translator >
HashSet< Value, HashFunctions, Traits >::iterator WTF::HashSet< Value, HashFunctions, Traits >::find ( const T &  value)
inline

Definition at line 182 of file HashSet.h.

◆ find() [2/4]

template<typename Value , typename HashFunctions , typename Traits >
template<typename T , typename Translator >
HashSet< Value, HashFunctions, Traits >::const_iterator WTF::HashSet< Value, HashFunctions, Traits >::find ( const T &  value) const
inline

Definition at line 191 of file HashSet.h.

◆ find() [3/4]

template<typename T , typename U , typename V >
HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::find ( const ValueType &  value)
inline

Definition at line 162 of file HashSet.h.

◆ find() [4/4]

template<typename T , typename U , typename V >
HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::find ( const ValueType &  value) const
inline

Definition at line 168 of file HashSet.h.

◆ isEmpty()

template<typename T , typename U , typename V >
bool WTF::HashSet< T, U, V >::isEmpty
inline

Definition at line 132 of file HashSet.h.

◆ remove() [1/2]

template<typename T , typename U , typename V >
void WTF::HashSet< T, U, V >::remove ( const ValueType &  value)
inline

Definition at line 230 of file HashSet.h.

◆ remove() [2/2]

template<typename T , typename U , typename V >
void WTF::HashSet< T, U, V >::remove ( iterator  it)
inline

Definition at line 221 of file HashSet.h.

◆ size()

template<typename T , typename U , typename V >
int WTF::HashSet< T, U, V >::size
inline

Definition at line 120 of file HashSet.h.

◆ swap()

template<typename T , typename U , typename V >
void WTF::HashSet< T, U, V >::swap ( HashSet< ValueArg, HashArg, TraitsArg > &  other)
inline

Definition at line 114 of file HashSet.h.


The documentation for this class was generated from the following file:
  • HashSet.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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