Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QStringHash< T >::Node Struct Reference

#include <qstringhash_p.h>

+ Inheritance diagram for QStringHash< T >::Node:
+ Collaboration diagram for QStringHash< T >::Node:

Public Member Functions

 Node (const QHashedString &key, const T &value)
 
 Node (const QHashedCStringRef &key, const T &value)
 
 Node (const Node &o)
 
 Node ()
 
- Public Member Functions inherited from QStringHashNode
 QStringHashNode ()
 
 QStringHashNode (const QHashedString &key)
 
 QStringHashNode (const QHashedCStringRef &key)
 
 QStringHashNode (const QStringHashNode &o)
 
 ~QStringHashNode ()
 
QHashedString key () const
 
bool isQString () const
 
void setQString (bool v)
 
qsizetype size () const
 
const char * cStrData () const
 
const char16_t * utf16Data () const
 
bool equals (const QV4::Value &string) const
 
bool equals (const QV4::String *string) const
 
bool equals (const QHashedStringRef &string) const
 
bool equals (const QHashedCStringRef &string) const
 

Public Attributes

value
 
- Public Attributes inherited from QStringHashNode
QTaggedPointer< QStringHashNode, Tagnext
 
qint32 length = 0
 
quint32 hash = 0
 
quint32 symbolId = 0
 
QTypedArrayData< char16_t > * arrayData = nullptr
 
union { 
 
   const char *   ckey = nullptr 
 
   char16_t *   strData 
 
};  
 

Additional Inherited Members

- Public Types inherited from QStringHashNode
enum  Tag { NodeIsCString , NodeIsQString }
 

Detailed Description

template<class T>
struct QStringHash< T >::Node

Definition at line 279 of file qstringhash_p.h.

Constructor & Destructor Documentation

◆ Node() [1/4]

template<class T >
QStringHash< T >::Node::Node ( const QHashedString & key,
const T & value )
inline

Definition at line 280 of file qstringhash_p.h.

◆ Node() [2/4]

template<class T >
QStringHash< T >::Node::Node ( const QHashedCStringRef & key,
const T & value )
inline

Definition at line 281 of file qstringhash_p.h.

◆ Node() [3/4]

template<class T >
QStringHash< T >::Node::Node ( const Node & o)
inline

Definition at line 282 of file qstringhash_p.h.

◆ Node() [4/4]

template<class T >
QStringHash< T >::Node::Node ( )
inline

Definition at line 283 of file qstringhash_p.h.

Member Data Documentation

◆ value

template<class T >
T QStringHash< T >::Node::value

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