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

WTF

WTF Namespace Reference


Classes

class  HashCountedSet
struct  IntTypes< 1 >
struct  IntTypes< 2 >
struct  IntTypes< 4 >
struct  IntTypes< 8 >
struct  IntHash
struct  PtrHash
struct  PtrHash< RefPtr< P > >
struct  DefaultHash< int >
struct  DefaultHash< unsigned >
struct  DefaultHash< long >
struct  DefaultHash< unsigned long >
struct  DefaultHash< long long >
struct  DefaultHash< unsigned long long >
struct  DefaultHash< P * >
struct  DefaultHash< RefPtr< P > >
class  HashMap
struct  PairFirstExtractor
struct  HashMapTranslator< true, ValueType, ValueTraits, ValueStorageTraits, HashFunctions >
struct  HashMapTranslator< false, ValueType, ValueTraits, ValueStorageTraits, HashFunctions >
class  HashSet
struct  IdentityExtractor
struct  HashSetTranslator< true, ValueType, ValueTraits, StorageTraits, HashFunctions >
struct  HashSetTranslator< false, ValueType, ValueTraits, StorageTraits, HashFunctions >
struct  HashSetTranslatorAdapter< true, ValueType, StorageTraits, T, Translator >
struct  HashSetTranslatorAdapter< false, ValueType, StorageTraits, T, Translator >
class  HashTableConstIterator
class  HashTableIterator
struct  Mover< T, true >
struct  Mover< T, false >
class  IdentityHashTranslator
class  HashTable
struct  HashTableConstIteratorAdapter
struct  HashTableIteratorAdapter
struct  NeedsRef
struct  NeedsRef< PairBaseHashTraits< FirstTraits, SecondTraits >, ValueStorageTraits >
struct  RefCounterBase< false, ValueTraits, ValueStorageTraits >
struct  RefCounterBase< true, ValueTraits, ValueStorageTraits >
struct  RefCounter
struct  RefCounter< PairBaseHashTraits< FirstTraits, SecondTraits >, ValueStorageTraits >
struct  HashTableRefCounterBase< false, HashTableType, ValueTraits >
struct  HashTableRefCounterBase< true, HashTableType, ValueTraits >
struct  HashTableRefCounter
struct  Assigner< false, FromType, ToType, FromTraits >
struct  Assigner< true, FromType, ToType, FromTraits >
struct  Assigner< false, FromType, FromType, FromTraits >
struct  Assigner< true, FromType, FromType, FromTraits >
struct  IsInteger
struct  IsInteger< bool >
struct  IsInteger< char >
struct  IsInteger< signed char >
struct  IsInteger< unsigned char >
struct  IsInteger< short >
struct  IsInteger< unsigned short >
struct  IsInteger< int >
struct  IsInteger< unsigned int >
struct  IsInteger< long >
struct  IsInteger< unsigned long >
struct  IsInteger< long long >
struct  IsInteger< unsigned long long >
struct  GenericHashTraitsBase< true, T >
struct  GenericHashTraitsBase< false, T >
struct  GenericHashTraits
struct  HashTraits
struct  HashTraits< signed char >
struct  HashTraits< short >
struct  HashTraits< int >
struct  HashTraits< unsigned int >
struct  HashTraits< long >
struct  HashTraits< unsigned long >
struct  HashTraits< long long >
struct  HashTraits< unsigned long long >
struct  HashTraits< P * >
struct  HashTraits< RefPtr< P > >
struct  DeletedValueAssigner
struct  PairBaseHashTraits
struct  PairHashTraits
struct  HashTraits< pair< First, Second > >
struct  DeletedValueAssigner< PairHashTraits< FirstTraits, SecondTraits > >
struct  DeletedValueAssigner< HashTraits< pair< First, Second > > >
struct  HashKeyStorageTraits
struct  HashKeyStorageTraits< PtrHash< P * >, HashTraits< P * > >
struct  HashKeyStorageTraits< PtrHash< RefPtr< P > >, HashTraits< RefPtr< P > > >
class  ListRefPtr
class  OwnArrayPtr
class  OwnPtr
class  PassRefPtr
class  RefPtr
class  SharedPtr
struct  VectorDestructor< false, T >
struct  VectorDestructor< true, T >
struct  VectorInitializer< false, ignore, T >
struct  VectorInitializer< true, false, T >
struct  VectorInitializer< true, true, T >
struct  VectorMover< false, T >
struct  VectorMover< true, T >
struct  VectorCopier< false, T >
struct  VectorCopier< true, T >
struct  VectorFiller< false, T >
struct  VectorFiller< true, T >
struct  VectorTypeOperations
class  VectorBuffer< T, 0 >
class  VectorBuffer
class  Vector
struct  IsPod
struct  IsPod< bool >
struct  IsPod< char >
struct  IsPod< signed char >
struct  IsPod< unsigned char >
struct  IsPod< short >
struct  IsPod< unsigned short >
struct  IsPod< int >
struct  IsPod< unsigned int >
struct  IsPod< long >
struct  IsPod< unsigned long >
struct  IsPod< long long >
struct  IsPod< unsigned long long >
struct  IsPod< float >
struct  IsPod< double >
struct  IsPod< long double >
struct  IsPod< P * >
struct  VectorTraitsBase< false, T >
struct  VectorTraitsBase< true, T >
struct  VectorTraits
struct  SimpleClassVectorTraits
struct  VectorTraits< RefPtr< P > >
struct  VectorTraits< pair< First, Second > >

Namespaces

namespace  Unicode

Functions

void * fastMalloc (size_t n)
void * fastCalloc (size_t n_elements, size_t element_size)
void fastFree (void *p)
void * fastRealloc (void *p, size_t n)
unsigned intHash (uint32_t key)
unsigned intHash (uint64_t key)
template<typename T, typename U, typename V, typename W, typename X>
bool operator== (const HashMap< T, U, V, W, X > &a, const HashMap< T, U, V, W, X > &b)
template<typename T, typename U, typename V, typename W, typename X>
bool operator!= (const HashMap< T, U, V, W, X > &a, const HashMap< T, U, V, W, X > &b)
template<typename MappedType, typename HashTableType>
void deleteAllPairSeconds (HashTableType &collection)
template<typename T, typename U, typename V, typename W, typename X>
void deleteAllValues (const HashMap< T, U, V, W, X > &collection)
template<typename KeyType, typename HashTableType>
void deleteAllPairFirsts (HashTableType &collection)
template<typename T, typename U, typename V, typename W, typename X>
void deleteAllKeys (const HashMap< T, U, V, W, X > &collection)
template<typename Value, typename HashFunctions, typename Traits>
void deleteAllValues (const HashSet< Value, HashFunctions, Traits > &)
template<typename ValueType, typename HashTableType>
void deleteAllValues (HashTableType &collection)
template<typename T, typename U, typename V>
void deleteAllValues (const HashSet< T, U, V > &collection)
template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
void addIterator (const HashTable< Key, Value, Extractor, HashFunctions, Traits, KeyTraits > *, HashTableConstIterator< Key, Value, Extractor, HashFunctions, Traits, KeyTraits > *)
template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
void removeIterator (HashTableConstIterator< Key, Value, Extractor, HashFunctions, Traits, KeyTraits > *)
template<typename T, typename U>
void swap (pair< T, U > &a, pair< T, U > &b)
template<typename T, typename U>
bool operator== (const HashTableConstIteratorAdapter< T, U > &a, const HashTableConstIteratorAdapter< T, U > &b)
template<typename T, typename U>
bool operator!= (const HashTableConstIteratorAdapter< T, U > &a, const HashTableConstIteratorAdapter< T, U > &b)
template<typename T, typename U>
bool operator== (const HashTableIteratorAdapter< T, U > &a, const HashTableIteratorAdapter< T, U > &b)
template<typename T, typename U>
bool operator!= (const HashTableIteratorAdapter< T, U > &a, const HashTableIteratorAdapter< T, U > &b)
template<typename T, typename Traits>
void assignDeleted (T &location)
template<typename T>
void swap (OwnArrayPtr< T > &a, OwnArrayPtr< T > &b)
template<typename T>
void swap (OwnPtr< T > &a, OwnPtr< T > &b)
template<typename T>
PassRefPtr< T > adoptRef (T *p)
template<typename T, typename U>
bool operator== (const PassRefPtr< T > &a, const PassRefPtr< U > &b)
template<typename T, typename U>
bool operator== (const PassRefPtr< T > &a, const RefPtr< U > &b)
template<typename T, typename U>
bool operator== (const RefPtr< T > &a, const PassRefPtr< U > &b)
template<typename T, typename U>
bool operator== (const PassRefPtr< T > &a, U *b)
template<typename T, typename U>
bool operator== (T *a, const PassRefPtr< U > &b)
template<typename T, typename U>
bool operator!= (const PassRefPtr< T > &a, const PassRefPtr< U > &b)
template<typename T, typename U>
bool operator!= (const PassRefPtr< T > &a, const RefPtr< U > &b)
template<typename T, typename U>
bool operator!= (const RefPtr< T > &a, const PassRefPtr< U > &b)
template<typename T, typename U>
bool operator!= (const PassRefPtr< T > &a, U *b)
template<typename T, typename U>
bool operator!= (T *a, const PassRefPtr< U > &b)
template<typename T, typename U>
PassRefPtr< T > static_pointer_cast (const PassRefPtr< U > &p)
template<typename T, typename U>
PassRefPtr< T > const_pointer_cast (const PassRefPtr< U > &p)
template<class T>
void swap (RefPtr< T > &a, RefPtr< T > &b)
template<typename T, typename U>
bool operator== (const RefPtr< T > &a, const RefPtr< U > &b)
template<typename T, typename U>
bool operator== (const RefPtr< T > &a, U *b)
template<typename T, typename U>
bool operator== (T *a, const RefPtr< U > &b)
template<typename T, typename U>
bool operator!= (const RefPtr< T > &a, const RefPtr< U > &b)
template<typename T, typename U>
bool operator!= (const RefPtr< T > &a, U *b)
template<typename T, typename U>
bool operator!= (T *a, const RefPtr< U > &b)
template<typename T, typename U>
RefPtr< T > static_pointer_cast (const RefPtr< U > &p)
template<typename T, typename U>
RefPtr< T > const_pointer_cast (const RefPtr< U > &p)
template<class T>
bool operator== (const SharedPtr< T > &a, const SharedPtr< T > &b)
template<class T>
bool operator== (const SharedPtr< T > &a, const T *b)
template<class T>
bool operator== (const T *a, const SharedPtr< T > &b)
template<class T>
bool operator!= (const SharedPtr< T > &a, const SharedPtr< T > &b)
template<class T>
bool operator!= (const SharedPtr< T > &a, const T *b)
template<class T>
bool operator!= (const T *a, const SharedPtr< T > &b)
template<class T, class U>
SharedPtr< T > static_pointer_cast (const SharedPtr< U > &p)
template<class T, class U>
SharedPtr< T > const_pointer_cast (const SharedPtr< U > &p)
template<typename T, size_t inlineCapacity>
void deleteAllValues (const Vector< T, inlineCapacity > &collection)
template<typename T, size_t inlineCapacity>
void swap (Vector< T, inlineCapacity > &a, Vector< T, inlineCapacity > &b)

Function Documentation

template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
void WTF::addIterator ( const HashTable< Key, Value, Extractor, HashFunctions, Traits, KeyTraits > *  ,
HashTableConstIterator< Key, Value, Extractor, HashFunctions, Traits, KeyTraits > *   
) [inline]

Definition at line 71 of file HashTable.h.

template<typename T>
PassRefPtr< T > WTF::adoptRef ( T *  p  )  [inline]

Definition at line 166 of file PassRefPtr.h.

template<typename T, typename Traits>
void WTF::assignDeleted ( T &  location  )  [inline]

Definition at line 133 of file HashTraits.h.

template<class T, class U>
SharedPtr<T> WTF::const_pointer_cast ( const SharedPtr< U > &  p  )  [inline]

Definition at line 120 of file SharedPtr.h.

template<typename T, typename U>
RefPtr<T> WTF::const_pointer_cast ( const RefPtr< U > &  p  )  [inline]

Definition at line 186 of file RefPtr.h.

template<typename T, typename U>
PassRefPtr<T> WTF::const_pointer_cast ( const PassRefPtr< U > &  p  )  [inline]

Definition at line 176 of file PassRefPtr.h.

template<typename T, typename U, typename V, typename W, typename X>
void WTF::deleteAllKeys ( const HashMap< T, U, V, W, X > &  collection  )  [inline]

Definition at line 374 of file HashMap.h.

template<typename KeyType, typename HashTableType>
void WTF::deleteAllPairFirsts ( HashTableType &  collection  )  [inline]

Definition at line 365 of file HashMap.h.

template<typename MappedType, typename HashTableType>
void WTF::deleteAllPairSeconds ( HashTableType &  collection  )  [inline]

Definition at line 350 of file HashMap.h.

template<typename T, size_t inlineCapacity>
void WTF::deleteAllValues ( const Vector< T, inlineCapacity > &  collection  )  [inline]

Definition at line 605 of file Vector.h.

template<typename T, typename U, typename V>
void WTF::deleteAllValues ( const HashSet< T, U, V > &  collection  )  [inline]

Definition at line 313 of file HashSet.h.

template<typename ValueType, typename HashTableType>
void WTF::deleteAllValues ( HashTableType &  collection  )  [inline]

Definition at line 304 of file HashSet.h.

template<typename Value, typename HashFunctions, typename Traits>
void WTF::deleteAllValues ( const HashSet< Value, HashFunctions, Traits > &   )  [inline]

template<typename T, typename U, typename V, typename W, typename X>
void WTF::deleteAllValues ( const HashMap< T, U, V, W, X > &  collection  )  [inline]

Definition at line 359 of file HashMap.h.

void* WTF::fastCalloc ( size_t  n_elements,
size_t  element_size 
) [inline]

Definition at line 40 of file FastMalloc.h.

void WTF::fastFree ( void *  p  )  [inline]

Definition at line 44 of file FastMalloc.h.

void* WTF::fastMalloc ( size_t  n  )  [inline]

Definition at line 36 of file FastMalloc.h.

void* WTF::fastRealloc ( void *  p,
size_t  n 
) [inline]

Definition at line 48 of file FastMalloc.h.

unsigned WTF::intHash ( uint64_t  key  )  [inline]

Definition at line 55 of file HashFunctions.h.

unsigned WTF::intHash ( uint32_t  key  )  [inline]

Definition at line 43 of file HashFunctions.h.

template<class T>
bool WTF::operator!= ( const T *  a,
const SharedPtr< T > &  b 
) [inline]

Definition at line 110 of file SharedPtr.h.

template<class T>
bool WTF::operator!= ( const SharedPtr< T > &  a,
const T *  b 
) [inline]

Definition at line 105 of file SharedPtr.h.

template<class T>
bool WTF::operator!= ( const SharedPtr< T > &  a,
const SharedPtr< T > &  b 
) [inline]

Definition at line 100 of file SharedPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( T *  a,
const RefPtr< U > &  b 
) [inline]

Definition at line 176 of file RefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const RefPtr< T > &  a,
U *  b 
) [inline]

Definition at line 171 of file RefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const RefPtr< T > &  a,
const RefPtr< U > &  b 
) [inline]

Definition at line 166 of file RefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( T *  a,
const PassRefPtr< U > &  b 
) [inline]

Definition at line 161 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const PassRefPtr< T > &  a,
U *  b 
) [inline]

Definition at line 156 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const RefPtr< T > &  a,
const PassRefPtr< U > &  b 
) [inline]

Definition at line 151 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const PassRefPtr< T > &  a,
const RefPtr< U > &  b 
) [inline]

Definition at line 146 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const PassRefPtr< T > &  a,
const PassRefPtr< U > &  b 
) [inline]

Definition at line 141 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator!= ( const HashTableIteratorAdapter< T, U > &  a,
const HashTableIteratorAdapter< T, U > &  b 
) [inline]

Definition at line 837 of file HashTable.h.

template<typename T, typename U>
bool WTF::operator!= ( const HashTableConstIteratorAdapter< T, U > &  a,
const HashTableConstIteratorAdapter< T, U > &  b 
) [inline]

Definition at line 825 of file HashTable.h.

template<typename T, typename U, typename V, typename W, typename X>
bool WTF::operator!= ( const HashMap< T, U, V, W, X > &  a,
const HashMap< T, U, V, W, X > &  b 
) [inline]

Definition at line 344 of file HashMap.h.

template<class T>
bool WTF::operator== ( const T *  a,
const SharedPtr< T > &  b 
) [inline]

Definition at line 95 of file SharedPtr.h.

template<class T>
bool WTF::operator== ( const SharedPtr< T > &  a,
const T *  b 
) [inline]

Definition at line 90 of file SharedPtr.h.

template<class T>
bool WTF::operator== ( const SharedPtr< T > &  a,
const SharedPtr< T > &  b 
) [inline]

Definition at line 85 of file SharedPtr.h.

template<typename T, typename U>
bool WTF::operator== ( T *  a,
const RefPtr< U > &  b 
) [inline]

Definition at line 161 of file RefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const RefPtr< T > &  a,
U *  b 
) [inline]

Definition at line 156 of file RefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const RefPtr< T > &  a,
const RefPtr< U > &  b 
) [inline]

Definition at line 151 of file RefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( T *  a,
const PassRefPtr< U > &  b 
) [inline]

Definition at line 136 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const PassRefPtr< T > &  a,
U *  b 
) [inline]

Definition at line 131 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const RefPtr< T > &  a,
const PassRefPtr< U > &  b 
) [inline]

Definition at line 126 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const PassRefPtr< T > &  a,
const RefPtr< U > &  b 
) [inline]

Definition at line 121 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const PassRefPtr< T > &  a,
const PassRefPtr< U > &  b 
) [inline]

Definition at line 116 of file PassRefPtr.h.

template<typename T, typename U>
bool WTF::operator== ( const HashTableIteratorAdapter< T, U > &  a,
const HashTableIteratorAdapter< T, U > &  b 
) [inline]

Definition at line 831 of file HashTable.h.

template<typename T, typename U>
bool WTF::operator== ( const HashTableConstIteratorAdapter< T, U > &  a,
const HashTableConstIteratorAdapter< T, U > &  b 
) [inline]

Definition at line 819 of file HashTable.h.

template<typename T, typename U, typename V, typename W, typename X>
bool WTF::operator== ( const HashMap< T, U, V, W, X > &  a,
const HashMap< T, U, V, W, X > &  b 
) [inline]

Definition at line 325 of file HashMap.h.

template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
void WTF::removeIterator ( HashTableConstIterator< Key, Value, Extractor, HashFunctions, Traits, KeyTraits > *   )  [inline]

Definition at line 75 of file HashTable.h.

template<class T, class U>
SharedPtr<T> WTF::static_pointer_cast ( const SharedPtr< U > &  p  )  [inline]

Definition at line 115 of file SharedPtr.h.

template<typename T, typename U>
RefPtr<T> WTF::static_pointer_cast ( const RefPtr< U > &  p  )  [inline]

Definition at line 181 of file RefPtr.h.

template<typename T, typename U>
PassRefPtr<T> WTF::static_pointer_cast ( const PassRefPtr< U > &  p  )  [inline]

Definition at line 171 of file PassRefPtr.h.

template<typename T, size_t inlineCapacity>
void WTF::swap ( Vector< T, inlineCapacity > &  a,
Vector< T, inlineCapacity > &  b 
) [inline]

Definition at line 614 of file Vector.h.

template<class T>
void WTF::swap ( RefPtr< T > &  a,
RefPtr< T > &  b 
) [inline]

Definition at line 146 of file RefPtr.h.

template<typename T>
void WTF::swap ( OwnPtr< T > &  a,
OwnPtr< T > &  b 
) [inline]

Definition at line 59 of file OwnPtr.h.

template<typename T>
void WTF::swap ( OwnArrayPtr< T > &  a,
OwnArrayPtr< T > &  b 
) [inline]

Definition at line 61 of file OwnArrayPtr.h.

template<typename T, typename U>
void WTF::swap ( pair< T, U > &  a,
pair< T, U > &  b 
) [inline]

Definition at line 241 of file HashTable.h.

WTF

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal