webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | List of all members
WTF::Spectrum< T, CounterType > Class Template Reference

#include <Spectrum.h>

Classes

struct  KeyAndCount
 

Public Types

typedef HashMap< T, CounterType >::iterator iterator
 
typedef HashMap< T, CounterType >::const_iterator const_iterator
 
typedef HashMap< T, CounterType >::iterator iterator
 
typedef HashMap< T, CounterType >::const_iterator const_iterator
 
typedef HashMap< T, CounterType >::iterator iterator
 
typedef HashMap< T, CounterType >::const_iterator const_iterator
 

Public Member Functions

 Spectrum ()
 
void add (const T &key, CounterType count=1)
 
template<typename U >
void addAll (const Spectrum< T, U > &otherSpectrum)
 
CounterType get (const T &key) const
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
Vector< KeyAndCountbuildList () const
 
void clear ()
 
template<typename Functor >
void removeIf (const Functor &functor)
 
 Spectrum ()
 
void add (const T &key, CounterType count=1)
 
template<typename U >
void addAll (const Spectrum< T, U > &otherSpectrum)
 
CounterType get (const T &key) const
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
Vector< KeyAndCountbuildList () const
 
void clear ()
 
template<typename Functor >
void removeIf (const Functor &functor)
 
 Spectrum ()
 
void add (const T &key, CounterType count=1)
 
template<typename U >
void addAll (const Spectrum< T, U > &otherSpectrum)
 
CounterType get (const T &key) const
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
Vector< KeyAndCountbuildList () const
 
void clear ()
 
template<typename Functor >
void removeIf (const Functor &functor)
 

Member Typedef Documentation

◆ const_iterator [1/3]

template<typename T, typename CounterType = unsigned>
typedef HashMap<T, CounterType>::const_iterator WTF::Spectrum< T, CounterType >::const_iterator

◆ const_iterator [2/3]

template<typename T, typename CounterType = unsigned>
typedef HashMap<T, CounterType>::const_iterator WTF::Spectrum< T, CounterType >::const_iterator

◆ const_iterator [3/3]

template<typename T, typename CounterType = unsigned>
typedef HashMap<T, CounterType>::const_iterator WTF::Spectrum< T, CounterType >::const_iterator

◆ iterator [1/3]

template<typename T, typename CounterType = unsigned>
typedef HashMap<T, CounterType>::iterator WTF::Spectrum< T, CounterType >::iterator

◆ iterator [2/3]

template<typename T, typename CounterType = unsigned>
typedef HashMap<T, CounterType>::iterator WTF::Spectrum< T, CounterType >::iterator

◆ iterator [3/3]

template<typename T, typename CounterType = unsigned>
typedef HashMap<T, CounterType>::iterator WTF::Spectrum< T, CounterType >::iterator

Constructor & Destructor Documentation

◆ Spectrum() [1/3]

template<typename T, typename CounterType = unsigned>
WTF::Spectrum< T, CounterType >::Spectrum ( )
inline

◆ Spectrum() [2/3]

template<typename T, typename CounterType = unsigned>
WTF::Spectrum< T, CounterType >::Spectrum ( )
inline

◆ Spectrum() [3/3]

template<typename T, typename CounterType = unsigned>
WTF::Spectrum< T, CounterType >::Spectrum ( )
inline

Member Function Documentation

◆ add() [1/3]

template<typename T, typename CounterType = unsigned>
void WTF::Spectrum< T, CounterType >::add ( const T key,
CounterType  count = 1 
)
inline

◆ add() [2/3]

template<typename T, typename CounterType = unsigned>
void WTF::Spectrum< T, CounterType >::add ( const T key,
CounterType  count = 1 
)
inline

◆ add() [3/3]

template<typename T, typename CounterType = unsigned>
void WTF::Spectrum< T, CounterType >::add ( const T key,
CounterType  count = 1 
)
inline

◆ addAll() [1/3]

template<typename T, typename CounterType = unsigned>
template<typename U >
void WTF::Spectrum< T, CounterType >::addAll ( const Spectrum< T, U > &  otherSpectrum)
inline

◆ addAll() [2/3]

template<typename T, typename CounterType = unsigned>
template<typename U >
void WTF::Spectrum< T, CounterType >::addAll ( const Spectrum< T, U > &  otherSpectrum)
inline

◆ addAll() [3/3]

template<typename T, typename CounterType = unsigned>
template<typename U >
void WTF::Spectrum< T, CounterType >::addAll ( const Spectrum< T, U > &  otherSpectrum)
inline

◆ begin() [1/6]

template<typename T, typename CounterType = unsigned>
iterator WTF::Spectrum< T, CounterType >::begin ( )
inline

◆ begin() [2/6]

template<typename T, typename CounterType = unsigned>
iterator WTF::Spectrum< T, CounterType >::begin ( )
inline

◆ begin() [3/6]

template<typename T, typename CounterType = unsigned>
iterator WTF::Spectrum< T, CounterType >::begin ( )
inline

◆ begin() [4/6]

template<typename T, typename CounterType = unsigned>
const_iterator WTF::Spectrum< T, CounterType >::begin ( ) const
inline

◆ begin() [5/6]

template<typename T, typename CounterType = unsigned>
const_iterator WTF::Spectrum< T, CounterType >::begin ( ) const
inline

◆ begin() [6/6]

template<typename T, typename CounterType = unsigned>
const_iterator WTF::Spectrum< T, CounterType >::begin ( ) const
inline

◆ buildList() [1/3]

template<typename T, typename CounterType = unsigned>
Vector<KeyAndCount> WTF::Spectrum< T, CounterType >::buildList ( ) const
inline

◆ buildList() [2/3]

template<typename T, typename CounterType = unsigned>
Vector<KeyAndCount> WTF::Spectrum< T, CounterType >::buildList ( ) const
inline

◆ buildList() [3/3]

template<typename T, typename CounterType = unsigned>
Vector<KeyAndCount> WTF::Spectrum< T, CounterType >::buildList ( ) const
inline

◆ clear() [1/3]

template<typename T, typename CounterType = unsigned>
void WTF::Spectrum< T, CounterType >::clear ( )
inline

◆ clear() [2/3]

template<typename T, typename CounterType = unsigned>
void WTF::Spectrum< T, CounterType >::clear ( )
inline

◆ clear() [3/3]

template<typename T, typename CounterType = unsigned>
void WTF::Spectrum< T, CounterType >::clear ( )
inline

◆ end() [1/6]

template<typename T, typename CounterType = unsigned>
iterator WTF::Spectrum< T, CounterType >::end ( )
inline

◆ end() [2/6]

template<typename T, typename CounterType = unsigned>
iterator WTF::Spectrum< T, CounterType >::end ( )
inline

◆ end() [3/6]

template<typename T, typename CounterType = unsigned>
iterator WTF::Spectrum< T, CounterType >::end ( )
inline

◆ end() [4/6]

template<typename T, typename CounterType = unsigned>
const_iterator WTF::Spectrum< T, CounterType >::end ( ) const
inline

◆ end() [5/6]

template<typename T, typename CounterType = unsigned>
const_iterator WTF::Spectrum< T, CounterType >::end ( ) const
inline

◆ end() [6/6]

template<typename T, typename CounterType = unsigned>
const_iterator WTF::Spectrum< T, CounterType >::end ( ) const
inline

◆ get() [1/3]

template<typename T, typename CounterType = unsigned>
CounterType WTF::Spectrum< T, CounterType >::get ( const T key) const
inline

◆ get() [2/3]

template<typename T, typename CounterType = unsigned>
CounterType WTF::Spectrum< T, CounterType >::get ( const T key) const
inline

◆ get() [3/3]

template<typename T, typename CounterType = unsigned>
CounterType WTF::Spectrum< T, CounterType >::get ( const T key) const
inline

◆ removeIf() [1/3]

template<typename T, typename CounterType = unsigned>
template<typename Functor >
void WTF::Spectrum< T, CounterType >::removeIf ( const Functor &  functor)
inline

◆ removeIf() [2/3]

template<typename T, typename CounterType = unsigned>
template<typename Functor >
void WTF::Spectrum< T, CounterType >::removeIf ( const Functor &  functor)
inline

◆ removeIf() [3/3]

template<typename T, typename CounterType = unsigned>
template<typename Functor >
void WTF::Spectrum< T, CounterType >::removeIf ( const Functor &  functor)
inline

◆ size() [1/3]

template<typename T, typename CounterType = unsigned>
size_t WTF::Spectrum< T, CounterType >::size ( ) const
inline

◆ size() [2/3]

template<typename T, typename CounterType = unsigned>
size_t WTF::Spectrum< T, CounterType >::size ( ) const
inline

◆ size() [3/3]

template<typename T, typename CounterType = unsigned>
size_t WTF::Spectrum< T, CounterType >::size ( ) const
inline

The documentation for this class was generated from the following file: