Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QStringHash< T >::NewedNode Struct Reference

#include <qstringhash_p.h>

Inheritance diagram for QStringHash< T >::NewedNode:
Collaboration diagram for QStringHash< T >::NewedNode:

Public Member Functions

 NewedNode (const QHashedString &key, const T &value)
 NewedNode (const QHashedCStringRef &key, const T &value)
 NewedNode (const Node &o)
Public Member Functions inherited from QStringHash< T >::Node
 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

NewedNodenextNewed
Public Attributes inherited from QStringHash< T >::Node
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 >::NewedNode

Definition at line 286 of file qstringhash_p.h.

Constructor & Destructor Documentation

◆ NewedNode() [1/3]

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

Definition at line 287 of file qstringhash_p.h.

References nextNewed.

◆ NewedNode() [2/3]

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

Definition at line 288 of file qstringhash_p.h.

References nextNewed.

◆ NewedNode() [3/3]

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

Definition at line 289 of file qstringhash_p.h.

References nextNewed.

Member Data Documentation

◆ nextNewed

template<class T>
NewedNode* QStringHash< T >::NewedNode::nextNewed

Definition at line 290 of file qstringhash_p.h.

Referenced by NewedNode(), NewedNode(), and NewedNode().


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