webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <HashSet.h>
Public Types | |
typedef ValueTraits::TraitType | ValueType |
typedef HashTableConstIteratorAdapter< HashTableType, ValueType > | iterator |
typedef HashTableConstIteratorAdapter< HashTableType, ValueType > | const_iterator |
typedef HashTableType::AddResult | AddResult |
typedef ValueTraits::TraitType | ValueType |
typedef HashTableConstIteratorAdapter< HashTableType, ValueType > | iterator |
typedef HashTableConstIteratorAdapter< HashTableType, ValueType > | const_iterator |
typedef HashTableType::AddResult | AddResult |
typedef ValueTraits::TraitType | ValueType |
typedef HashTableConstIteratorAdapter< HashTableType, ValueType > | iterator |
typedef HashTableConstIteratorAdapter< HashTableType, ValueType > | const_iterator |
typedef HashTableType::AddResult | AddResult |
Public Member Functions | |
HashSet () | |
HashSet (std::initializer_list< ValueArg > initializerList) | |
void | swap (HashSet &) |
unsigned | size () const |
unsigned | capacity () const |
bool | isEmpty () const |
iterator | begin () const |
iterator | end () const |
iterator | find (const ValueType &) const |
bool | contains (const ValueType &) const |
template<typename HashTranslator , typename T > | |
iterator | find (const T &) const |
template<typename HashTranslator , typename T > | |
bool | contains (const T &) const |
AddResult | add (const ValueType &) |
AddResult | add (ValueType &&) |
template<typename HashTranslator , typename T > | |
AddResult | add (const T &) |
template<typename IteratorType > | |
bool | add (IteratorType begin, IteratorType end) |
bool | remove (const ValueType &) |
bool | remove (iterator) |
template<typename Functor > | |
void | removeIf (const Functor &) |
void | clear () |
TakeType | take (const ValueType &) |
TakeType | take (iterator) |
TakeType | takeAny () |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, 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, bool >::type | remove (typename GetPtrHelper< V >::PtrType) |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, TakeType >::type | take (typename GetPtrHelper< V >::PtrType) |
template<typename OtherCollection > | |
bool | operator== (const OtherCollection &) const |
HashSet () | |
HashSet (std::initializer_list< ValueArg > initializerList) | |
void | swap (HashSet &) |
unsigned | size () const |
unsigned | capacity () const |
bool | isEmpty () const |
iterator | begin () const |
iterator | end () const |
iterator | find (const ValueType &) const |
bool | contains (const ValueType &) const |
template<typename HashTranslator , typename T > | |
iterator | find (const T &) const |
template<typename HashTranslator , typename T > | |
bool | contains (const T &) const |
AddResult | add (const ValueType &) |
AddResult | add (ValueType &&) |
template<typename HashTranslator , typename T > | |
AddResult | add (const T &) |
template<typename IteratorType > | |
bool | add (IteratorType begin, IteratorType end) |
bool | remove (const ValueType &) |
bool | remove (iterator) |
template<typename Functor > | |
void | removeIf (const Functor &) |
void | clear () |
TakeType | take (const ValueType &) |
TakeType | take (iterator) |
TakeType | takeAny () |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, 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, bool >::type | remove (typename GetPtrHelper< V >::PtrType) |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, TakeType >::type | take (typename GetPtrHelper< V >::PtrType) |
template<typename OtherCollection > | |
bool | operator== (const OtherCollection &) const |
HashSet () | |
HashSet (std::initializer_list< ValueArg > initializerList) | |
void | swap (HashSet &) |
unsigned | size () const |
unsigned | capacity () const |
bool | isEmpty () const |
iterator | begin () const |
iterator | end () const |
iterator | find (const ValueType &) const |
bool | contains (const ValueType &) const |
template<typename HashTranslator , typename T > | |
iterator | find (const T &) const |
template<typename HashTranslator , typename T > | |
bool | contains (const T &) const |
AddResult | add (const ValueType &) |
AddResult | add (ValueType &&) |
template<typename HashTranslator , typename T > | |
AddResult | add (const T &) |
template<typename IteratorType > | |
bool | add (IteratorType begin, IteratorType end) |
bool | remove (const ValueType &) |
bool | remove (iterator) |
template<typename Functor > | |
void | removeIf (const Functor &) |
void | clear () |
TakeType | take (const ValueType &) |
TakeType | take (iterator) |
TakeType | takeAny () |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, 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, bool >::type | remove (typename GetPtrHelper< V >::PtrType) |
template<typename V = ValueType> | |
std::enable_if< IsSmartPtr< V >::value, TakeType >::type | take (typename GetPtrHelper< V >::PtrType) |
template<typename OtherCollection > | |
bool | operator== (const OtherCollection &) const |
template<typename HashTranslator , typename T > | |
auto | find (const T &value) const -> iterator |
template<typename HashTranslator , typename T > | |
auto | add (const T &value) -> AddResult |
template<typename V > | |
auto | find (typename GetPtrHelper< V >::PtrType value) const -> typename std::enable_if< IsSmartPtr< V >::value, 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 | remove (typename GetPtrHelper< V >::PtrType value) -> typename std::enable_if< IsSmartPtr< V >::value, bool >::type |
template<typename V > | |
auto | take (typename GetPtrHelper< V >::PtrType value) -> typename std::enable_if< IsSmartPtr< V >::value, TakeType >::type |
Static Public Member Functions | |
static bool | isValidValue (const ValueType &) |
static bool | isValidValue (const ValueType &) |
static bool | isValidValue (const ValueType &) |
typedef HashTableType::AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::AddResult |
typedef HashTableType::AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::AddResult |
typedef HashTableType::AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::AddResult |
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::const_iterator |
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::const_iterator |
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::const_iterator |
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::iterator |
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::iterator |
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::iterator |
typedef ValueTraits::TraitType WTF::HashSet< ValueArg, HashArg, TraitsArg >::ValueType |
typedef ValueTraits::TraitType WTF::HashSet< ValueArg, HashArg, TraitsArg >::ValueType |
typedef ValueTraits::TraitType WTF::HashSet< ValueArg, HashArg, TraitsArg >::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | const ValueType & | ) |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | const ValueType & | ) |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | ValueType && | ) |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | ValueType && | ) |
|
inline |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | const T & | ) |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | const T & | ) |
AddResult WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | const T & | ) |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | IteratorType | begin, |
IteratorType | end | ||
) |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::add | ( | IteratorType | begin, |
IteratorType | end | ||
) |
|
inline |
|
inline |
|
inline |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::begin | ( | ) | const |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::begin | ( | ) | const |
|
inline |
unsigned WTF::HashSet< ValueArg, HashArg, TraitsArg >::capacity | ( | ) | const |
unsigned WTF::HashSet< ValueArg, HashArg, TraitsArg >::capacity | ( | ) | const |
|
inline |
void WTF::HashSet< ValueArg, HashArg, TraitsArg >::clear | ( | ) |
void WTF::HashSet< ValueArg, HashArg, TraitsArg >::clear | ( | ) |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | const ValueType & | ) | const |
|
inline |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | const ValueType & | ) | const |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | const T & | ) | const |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | const T & | ) | const |
|
inline |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::contains | ( | typename GetPtrHelper< V >::PtrType | ) | const |
|
inline |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::end | ( | ) | const |
|
inline |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::end | ( | ) | const |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | const ValueType & | ) | const |
|
inline |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | const ValueType & | ) | const |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | const T & | ) | const |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | const T & | ) | const |
iterator WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | const T & | ) | const |
std::enable_if<IsSmartPtr<V>::value, iterator>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, iterator>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | typename GetPtrHelper< V >::PtrType | ) | const |
std::enable_if<IsSmartPtr<V>::value, iterator>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::find | ( | typename GetPtrHelper< V >::PtrType | ) | const |
|
inline |
|
inline |
|
inline |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::isEmpty | ( | ) | const |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::isEmpty | ( | ) | const |
|
static |
|
inlinestatic |
|
static |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::operator== | ( | const OtherCollection & | ) | const |
|
inline |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::operator== | ( | const OtherCollection & | ) | const |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | const ValueType & | ) |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | const ValueType & | ) |
|
inline |
|
inline |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | iterator | ) |
bool WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | iterator | ) |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, bool>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::remove | ( | typename GetPtrHelper< V >::PtrType | ) |
|
inline |
void WTF::HashSet< ValueArg, HashArg, TraitsArg >::removeIf | ( | const Functor & | ) |
|
inline |
void WTF::HashSet< ValueArg, HashArg, TraitsArg >::removeIf | ( | const Functor & | ) |
unsigned WTF::HashSet< ValueArg, HashArg, TraitsArg >::size | ( | ) | const |
|
inline |
unsigned WTF::HashSet< ValueArg, HashArg, TraitsArg >::size | ( | ) | const |
void WTF::HashSet< ValueArg, HashArg, TraitsArg >::swap | ( | HashSet< ValueArg, HashArg, TraitsArg > & | ) |
|
inline |
void WTF::HashSet< ValueArg, HashArg, TraitsArg >::swap | ( | HashSet< ValueArg, HashArg, TraitsArg > & | ) |
TakeType WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | const ValueType & | ) |
TakeType WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | const ValueType & | ) |
|
inline |
TakeType WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | iterator | ) |
TakeType WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | iterator | ) |
|
inline |
std::enable_if<IsSmartPtr<V>::value, TakeType>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, TakeType>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | typename GetPtrHelper< V >::PtrType | ) |
std::enable_if<IsSmartPtr<V>::value, TakeType>::type WTF::HashSet< ValueArg, HashArg, TraitsArg >::take | ( | typename GetPtrHelper< V >::PtrType | ) |
|
inline |
TakeType WTF::HashSet< ValueArg, HashArg, TraitsArg >::takeAny | ( | ) |
|
inline |
TakeType WTF::HashSet< ValueArg, HashArg, TraitsArg >::takeAny | ( | ) |