![]() |
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 | |
class | Iterator |
struct | NewedNode |
struct | Node |
struct | ReservedNodePool |
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 270 of file qstringhash_p.h.
using QStringHash< T >::ConstIterator = Iterator<ConstIteratorData, const T> |
Definition at line 376 of file qstringhash_p.h.
using QStringHash< T >::ConstIteratorData = QStringHashData::IteratorData<const QStringHash<T>> |
Definition at line 277 of file qstringhash_p.h.
typedef QHashedString QStringHash< T >::key_type |
Definition at line 273 of file qstringhash_p.h.
typedef T QStringHash< T >::mapped_type |
Definition at line 274 of file qstringhash_p.h.
using QStringHash< T >::MutableIterator = Iterator<MutableIteratorData, T> |
Definition at line 375 of file qstringhash_p.h.
using QStringHash< T >::MutableIteratorData = QStringHashData::IteratorData<QStringHash<T>> |
Definition at line 276 of file qstringhash_p.h.
|
inline |
Definition at line 413 of file qstringhash_p.h.
References newedNodes, and nodePool.
|
inline |
Definition at line 419 of file qstringhash_p.h.
References copy(), count(), newedNodes, nodePool, and reserve().
|
inline |
Definition at line 454 of file qstringhash_p.h.
References clear().
|
inline |
Definition at line 762 of file qstringhash_p.h.
|
inline |
Definition at line 768 of file qstringhash_p.h.
|
inline |
Definition at line 460 of file qstringhash_p.h.
References newedNodes, and nodePool.
Referenced by ~QStringHash(), copyAndReserve(), and operator=().
|
inline |
Definition at line 397 of file qstringhash_p.h.
|
inline |
Definition at line 401 of file qstringhash_p.h.
Definition at line 733 of file qstringhash_p.h.
|
inline |
Definition at line 579 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 565 of file qstringhash_p.h.
References copyNode().
Referenced by copy(), and copyNode().
|
inline |
Definition at line 489 of file qstringhash_p.h.
Referenced by QStringHash(), copyAndReserve(), and operator=().
|
inline |
Definition at line 647 of file qstringhash_p.h.
|
inline |
Definition at line 639 of file qstringhash_p.h.
|
inline |
Definition at line 774 of file qstringhash_p.h.
|
inline |
Definition at line 780 of file qstringhash_p.h.
|
inline |
Definition at line 787 of file qstringhash_p.h.
|
inline |
Definition at line 795 of file qstringhash_p.h.
|
inline |
Definition at line 693 of file qstringhash_p.h.
|
inline |
Definition at line 513 of file qstringhash_p.h.
|
inline |
Definition at line 501 of file qstringhash_p.h.
|
inline |
Definition at line 686 of file qstringhash_p.h.
|
inline |
Definition at line 670 of file qstringhash_p.h.
|
inline |
Definition at line 680 of file qstringhash_p.h.
|
inline |
Definition at line 654 of file qstringhash_p.h.
|
inline |
Definition at line 483 of file qstringhash_p.h.
|
inlinestatic |
Definition at line 624 of file qstringhash_p.h.
|
inlinestatic |
Definition at line 598 of file qstringhash_p.h.
|
inline |
Definition at line 495 of file qstringhash_p.h.
QStringHash< T > & QStringHash< T >::operator= | ( | const QStringHash< T > & | other | ) |
Definition at line 740 of file qstringhash_p.h.
|
inline |
Definition at line 748 of file qstringhash_p.h.
References nodePool.
Referenced by QStringHash(), copyAndReserve(), and operator=().
|
inline |
Definition at line 522 of file qstringhash_p.h.
References newedNodes, and nodePool.
|
inline |
Definition at line 538 of file qstringhash_p.h.
References newedNodes, and nodePool.
|
inline |
Definition at line 719 of file qstringhash_p.h.
Definition at line 706 of file qstringhash_p.h.
|
inline |
Definition at line 713 of file qstringhash_p.h.
|
inline |
Definition at line 725 of file qstringhash_p.h.
QStringHashData QStringHash< T >::data |
Definition at line 301 of file qstringhash_p.h.
NewedNode* QStringHash< T >::newedNodes |
Definition at line 302 of file qstringhash_p.h.
Referenced by QStringHash(), QStringHash(), clear(), takeNode(), and takeNode().
ReservedNodePool* QStringHash< T >::nodePool |
Definition at line 303 of file qstringhash_p.h.
Referenced by QStringHash(), QStringHash(), clear(), reserve(), takeNode(), and takeNode().