![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qstringhash_p.h>
Classes | |
| struct | Node |
| struct | NewedNode |
| struct | ReservedNodePool |
| class | Iterator |
Public Types | |
| typedef QHashedString | key_type |
| typedef T | mapped_type |
| using | MutableIteratorData = QStringHashData::IteratorData<QStringHash<T>> |
| using | ConstIteratorData = QStringHashData::IteratorData<const QStringHash<T>> |
| using | MutableIterator = Iterator<MutableIteratorData, T> |
| using | ConstIterator = Iterator<ConstIteratorData, const T> |
Public Member Functions | |
| template<typename K> | |
| Node * | findNode (const K &) const |
| Node * | createNode (const Node &o) |
| template<typename K> | |
| Node * | createNode (const K &, const T &) |
| Node * | insertNode (Node *, quint32) |
| void | initializeNode (Node *, const QHashedString &key) |
| void | initializeNode (Node *, const QHashedCStringRef &key) |
| template<typename K> | |
| Node * | takeNode (const K &key, const T &value) |
| Node * | takeNode (const Node &o) |
| void | copy (const QStringHash< T > &) |
| void | copyNode (const QStringHashNode *otherNode) |
| QStringHash () | |
| QStringHash (const QStringHash &) | |
| ~QStringHash () | |
| QStringHash & | operator= (const QStringHash< T > &) |
| void | copyAndReserve (const QStringHash< T > &other, int additionalReserve) |
| bool | isEmpty () const |
| void | clear () |
| int | count () const |
| int | numBuckets () const |
| template<typename K> | |
| void | insert (const K &, const T &) |
| void | insert (const MutableIterator &) |
| void | insert (const ConstIterator &) |
| template<typename K> | |
| T * | value (const K &) const |
| T * | value (const QV4::String *string) const |
| T * | value (const MutableIterator &) const |
| T * | value (const ConstIterator &) const |
| template<typename K> | |
| bool | contains (const K &) const |
| template<typename K> | |
| T & | operator[] (const K &) |
| MutableIterator | begin () |
| ConstIterator | begin () const |
| ConstIterator | constBegin () const |
| MutableIterator | end () |
| ConstIterator | end () const |
| ConstIterator | constEnd () const |
| template<typename K> | |
| MutableIterator | find (const K &) |
| template<typename K> | |
| ConstIterator | find (const K &) const |
| void | reserve (int) |
Public Attributes | |
| QStringHashData | data |
| NewedNode * | newedNodes |
| ReservedNodePool * | nodePool |
Definition at line 271 of file qstringhash_p.h.
| using QStringHash< T >::ConstIterator = Iterator<ConstIteratorData, const T> |
Definition at line 377 of file qstringhash_p.h.
| using QStringHash< T >::ConstIteratorData = QStringHashData::IteratorData<const QStringHash<T>> |
Definition at line 278 of file qstringhash_p.h.
| typedef QHashedString QStringHash< T >::key_type |
Definition at line 274 of file qstringhash_p.h.
| typedef T QStringHash< T >::mapped_type |
Definition at line 275 of file qstringhash_p.h.
| using QStringHash< T >::MutableIterator = Iterator<MutableIteratorData, T> |
Definition at line 376 of file qstringhash_p.h.
| using QStringHash< T >::MutableIteratorData = QStringHashData::IteratorData<QStringHash<T>> |
Definition at line 277 of file qstringhash_p.h.
|
inline |
Definition at line 414 of file qstringhash_p.h.
References newedNodes, and nodePool.
|
inline |
Definition at line 420 of file qstringhash_p.h.
References copy(), count(), newedNodes, nodePool, and reserve().
|
inline |
Definition at line 455 of file qstringhash_p.h.
References clear().
|
inline |
Definition at line 763 of file qstringhash_p.h.
|
inline |
Definition at line 769 of file qstringhash_p.h.
|
inline |
Definition at line 461 of file qstringhash_p.h.
References newedNodes, and nodePool.
Referenced by ~QStringHash(), copyAndReserve(), and operator=().
|
inline |
Definition at line 398 of file qstringhash_p.h.
|
inline |
Definition at line 402 of file qstringhash_p.h.
Definition at line 734 of file qstringhash_p.h.
|
inline |
Definition at line 580 of file qstringhash_p.h.
References copyNode().
Referenced by QStringHash(), copyAndReserve(), and operator=().
| void QStringHash< T >::copyAndReserve | ( | const QStringHash< T > & | other, |
| int | additionalReserve ) |
| void QStringHash< T >::copyNode | ( | const QStringHashNode * | otherNode | ) |
Definition at line 566 of file qstringhash_p.h.
References copyNode().
Referenced by copy(), and copyNode().
|
inline |
Definition at line 490 of file qstringhash_p.h.
Referenced by QStringHash(), copyAndReserve(), and operator=().
|
inline |
Definition at line 648 of file qstringhash_p.h.
|
inline |
Definition at line 640 of file qstringhash_p.h.
|
inline |
Definition at line 775 of file qstringhash_p.h.
|
inline |
Definition at line 781 of file qstringhash_p.h.
|
inline |
Definition at line 788 of file qstringhash_p.h.
|
inline |
Definition at line 796 of file qstringhash_p.h.
|
inline |
Definition at line 694 of file qstringhash_p.h.
|
inline |
Definition at line 514 of file qstringhash_p.h.
|
inline |
Definition at line 502 of file qstringhash_p.h.
|
inline |
Definition at line 687 of file qstringhash_p.h.
|
inline |
Definition at line 671 of file qstringhash_p.h.
|
inline |
Definition at line 681 of file qstringhash_p.h.
|
inline |
Definition at line 655 of file qstringhash_p.h.
|
inline |
Definition at line 484 of file qstringhash_p.h.
|
inlinestatic |
Definition at line 625 of file qstringhash_p.h.
|
inlinestatic |
Definition at line 599 of file qstringhash_p.h.
|
inline |
Definition at line 496 of file qstringhash_p.h.
| QStringHash< T > & QStringHash< T >::operator= | ( | const QStringHash< T > & | other | ) |
Definition at line 741 of file qstringhash_p.h.
|
inline |
Definition at line 749 of file qstringhash_p.h.
References nodePool.
Referenced by QStringHash(), copyAndReserve(), and operator=().
|
inline |
Definition at line 523 of file qstringhash_p.h.
References newedNodes, and nodePool.
|
inline |
Definition at line 539 of file qstringhash_p.h.
References newedNodes, and nodePool.
|
inline |
Definition at line 720 of file qstringhash_p.h.
Definition at line 707 of file qstringhash_p.h.
|
inline |
Definition at line 714 of file qstringhash_p.h.
|
inline |
Definition at line 726 of file qstringhash_p.h.
| QStringHashData QStringHash< T >::data |
Definition at line 302 of file qstringhash_p.h.
| NewedNode* QStringHash< T >::newedNodes |
Definition at line 303 of file qstringhash_p.h.
Referenced by QStringHash(), QStringHash(), clear(), takeNode(), and takeNode().
| ReservedNodePool* QStringHash< T >::nodePool |
Definition at line 304 of file qstringhash_p.h.
Referenced by QStringHash(), QStringHash(), clear(), reserve(), takeNode(), and takeNode().