webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <HashCountedSet.h>
Public Member Functions | |
HashCountedSet () | |
HashCountedSet (std::initializer_list< typename ImplType::KeyValuePairType > initializerList) | |
HashCountedSet (std::initializer_list< typename ImplType::KeyType > initializerList) | |
void | swap (HashCountedSet &) |
unsigned | size () const |
unsigned | capacity () const |
bool | isEmpty () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | find (const ValueType &) |
const_iterator | find (const ValueType &) const |
bool | contains (const ValueType &) const |
unsigned | count (const ValueType &) const |
AddResult | add (const ValueType &) |
AddResult | add (ValueType &&) |
AddResult | add (const ValueType &, unsigned) |
AddResult | add (ValueType &&, unsigned) |
bool | remove (const ValueType &) |
bool | remove (iterator) |
bool | removeAll (iterator) |
bool | removeAll (const ValueType &) |
void | clear () |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, iterator >::type | find (typename GetPtrHelper< V >::PtrType) |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, const_iterator >::type | find (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, bool >::type | contains (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, unsigned >::type | count (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, bool >::type | remove (typename GetPtrHelper< V >::PtrType) |
HashCountedSet () | |
HashCountedSet (std::initializer_list< typename ImplType::KeyValuePairType > initializerList) | |
HashCountedSet (std::initializer_list< typename ImplType::KeyType > initializerList) | |
void | swap (HashCountedSet &) |
unsigned | size () const |
unsigned | capacity () const |
bool | isEmpty () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | find (const ValueType &) |
const_iterator | find (const ValueType &) const |
bool | contains (const ValueType &) const |
unsigned | count (const ValueType &) const |
AddResult | add (const ValueType &) |
AddResult | add (ValueType &&) |
AddResult | add (const ValueType &, unsigned) |
AddResult | add (ValueType &&, unsigned) |
bool | remove (const ValueType &) |
bool | remove (iterator) |
bool | removeAll (iterator) |
bool | removeAll (const ValueType &) |
void | clear () |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, iterator >::type | find (typename GetPtrHelper< V >::PtrType) |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, const_iterator >::type | find (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, bool >::type | contains (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, unsigned >::type | count (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, bool >::type | remove (typename GetPtrHelper< V >::PtrType) |
HashCountedSet () | |
HashCountedSet (std::initializer_list< typename ImplType::KeyValuePairType > initializerList) | |
HashCountedSet (std::initializer_list< typename ImplType::KeyType > initializerList) | |
void | swap (HashCountedSet &) |
unsigned | size () const |
unsigned | capacity () const |
bool | isEmpty () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | find (const ValueType &) |
const_iterator | find (const ValueType &) const |
bool | contains (const ValueType &) const |
unsigned | count (const ValueType &) const |
AddResult | add (const ValueType &) |
AddResult | add (ValueType &&) |
AddResult | add (const ValueType &, unsigned) |
AddResult | add (ValueType &&, unsigned) |
bool | remove (const ValueType &) |
bool | remove (iterator) |
bool | removeAll (iterator) |
bool | removeAll (const ValueType &) |
void | clear () |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, iterator >::type | find (typename GetPtrHelper< V >::PtrType) |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, const_iterator >::type | find (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, bool >::type | contains (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, unsigned >::type | count (typename GetPtrHelper< V >::PtrType) const |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, bool >::type | remove (typename GetPtrHelper< V >::PtrType) |
template<typename V > | |
auto | find (typename GetPtrHelper< V >::PtrType value) -> typename std::enable_if< IsSmartPtr< V >::value, iterator >::type |
template<typename V > | |
auto | find (typename GetPtrHelper< V >::PtrType value) const -> typename std::enable_if< IsSmartPtr< V >::value, const_iterator >::type |
template<typename V > | |
auto | contains (typename GetPtrHelper< V >::PtrType value) const -> typename std::enable_if< IsSmartPtr< V >::value, bool >::type |
template<typename V > | |
auto | count (typename GetPtrHelper< V >::PtrType value) const -> typename std::enable_if< IsSmartPtr< V >::value, unsigned >::type |
template<typename V > | |
auto | remove (typename GetPtrHelper< V >::PtrType value) -> typename std::enable_if< IsSmartPtr< V >::value, bool >::type |
typedef ImplType::AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::AddResult |
typedef ImplType::AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::AddResult |
typedef ImplType::AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::AddResult |
typedef ImplType::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::const_iterator |
typedef ImplType::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::const_iterator |
typedef ImplType::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::const_iterator |
typedef ImplType::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::iterator |
typedef ImplType::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::iterator |
typedef ImplType::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::iterator |
typedef Value WTF::HashCountedSet< Value, HashFunctions, Traits >::ValueType |
typedef Value WTF::HashCountedSet< Value, HashFunctions, Traits >::ValueType |
typedef Value WTF::HashCountedSet< Value, HashFunctions, Traits >::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | const ValueType & | ) |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | const ValueType & | ) |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | ValueType && | ) |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | ValueType && | ) |
|
inline |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | const ValueType & | , |
unsigned | |||
) |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | const ValueType & | , |
unsigned | |||
) |
|
inline |
|
inline |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | ValueType && | , |
unsigned | |||
) |
AddResult WTF::HashCountedSet< Value, HashFunctions, Traits >::add | ( | ValueType && | , |
unsigned | |||
) |
iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin | ( | ) |
|
inline |
iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin | ( | ) |
const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin | ( | ) | const |
|
inline |
const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin | ( | ) | const |
|
inline |
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::capacity | ( | ) | const |
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::capacity | ( | ) | const |
void WTF::HashCountedSet< Value, HashFunctions, Traits >::clear | ( | ) |
|
inline |
void WTF::HashCountedSet< Value, HashFunctions, Traits >::clear | ( | ) |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::contains | ( | const ValueType & | ) | const |
|
inline |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::contains | ( | const ValueType & | ) | const |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::contains | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::contains | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::contains | ( | typename GetPtrHelper< V >::PtrType | ) | const |
|
inline |
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::count | ( | const ValueType & | ) | const |
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::count | ( | const ValueType & | ) | const |
|
inline |
std::enable_if<IsSmartPtr<V>::value, unsigned>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::count | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, unsigned>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::count | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, unsigned>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::count | ( | typename GetPtrHelper< V >::PtrType | ) | const |
|
inline |
iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end | ( | ) |
iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end | ( | ) |
|
inline |
const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end | ( | ) | const |
|
inline |
const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end | ( | ) | const |
iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | const ValueType & | ) |
|
inline |
iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | const ValueType & | ) |
const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | const ValueType & | ) | const |
|
inline |
const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | const ValueType & | ) | const |
std::enable_if<IsSmartPtr<V>::value, iterator>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, iterator>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, iterator>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, const_iterator>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, const_iterator>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, const_iterator>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | typename GetPtrHelper< V >::PtrType | ) | const |
|
inline |
|
inline |
|
inline |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::isEmpty | ( | ) | const |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::isEmpty | ( | ) | const |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | const ValueType & | ) |
|
inline |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | const ValueType & | ) |
|
inline |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | iterator | ) |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | iterator | ) |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | typename GetPtrHelper< V >::PtrType | ) |
|
inline |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::removeAll | ( | iterator | ) |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::removeAll | ( | iterator | ) |
|
inline |
|
inline |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::removeAll | ( | const ValueType & | ) |
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::removeAll | ( | const ValueType & | ) |
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::size | ( | ) | const |
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::size | ( | ) | const |
|
inline |
void WTF::HashCountedSet< Value, HashFunctions, Traits >::swap | ( | HashCountedSet< Value, HashFunctions, Traits > & | ) |
void WTF::HashCountedSet< Value, HashFunctions, Traits >::swap | ( | HashCountedSet< Value, HashFunctions, Traits > & | ) |
|
inline |