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
QHashedCStringRef Class Reference

#include <qhashedstring_p.h>

+ Collaboration diagram for QHashedCStringRef:

Public Member Functions

 QHashedCStringRef ()
 
 QHashedCStringRef (const char *, int)
 
 QHashedCStringRef (const char *, int, quint32)
 
 QHashedCStringRef (const QHashedCStringRef &)
 
quint32 hash () const
 
const char * constData () const
 
int length () const
 
Q_AUTOTEST_EXPORT QString toUtf16 () const
 
int utf16length () const
 
void writeUtf16 (QChar *) const
 
void writeUtf16 (quint16 *) const
 

Friends

class QHashedStringRef
 

Detailed Description

Definition at line 109 of file qhashedstring_p.h.

Constructor & Destructor Documentation

◆ QHashedCStringRef() [1/4]

QHashedCStringRef::QHashedCStringRef ( )
inline

Definition at line 346 of file qhashedstring_p.h.

◆ QHashedCStringRef() [2/4]

QHashedCStringRef::QHashedCStringRef ( const char * data,
int length )
inline

Definition at line 350 of file qhashedstring_p.h.

◆ QHashedCStringRef() [3/4]

QHashedCStringRef::QHashedCStringRef ( const char * data,
int length,
quint32 hash )
inline

Definition at line 355 of file qhashedstring_p.h.

◆ QHashedCStringRef() [4/4]

QHashedCStringRef::QHashedCStringRef ( const QHashedCStringRef & o)
inline

Definition at line 360 of file qhashedstring_p.h.

Member Function Documentation

◆ constData()

const char * QHashedCStringRef::constData ( ) const
inline

Definition at line 371 of file qhashedstring_p.h.

References m_data.

◆ hash()

quint32 QHashedCStringRef::hash ( ) const
inline

Definition at line 365 of file qhashedstring_p.h.

◆ length()

int QHashedCStringRef::length ( ) const
inline

Definition at line 376 of file qhashedstring_p.h.

◆ toUtf16()

QString QHashedCStringRef::toUtf16 ( ) const

Definition at line 59 of file qhashedstring.cpp.

References QString::resize(), and writeUtf16().

+ Here is the call graph for this function:

◆ utf16length()

int QHashedCStringRef::utf16length ( ) const
inline

Definition at line 381 of file qhashedstring_p.h.

◆ writeUtf16() [1/2]

void QHashedCStringRef::writeUtf16 ( QChar * output) const
inline

Definition at line 386 of file qhashedstring_p.h.

References output, and writeUtf16().

Referenced by toUtf16(), and writeUtf16().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ writeUtf16() [2/2]

void QHashedCStringRef::writeUtf16 ( quint16 * output) const
inline

Definition at line 391 of file qhashedstring_p.h.

References d, m_data, and output.

Friends And Related Symbol Documentation

◆ QHashedStringRef

friend class QHashedStringRef
friend

Definition at line 127 of file qhashedstring_p.h.


The documentation for this class was generated from the following files: