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

#include <qhashedstring_p.h>

Collaboration diagram for QHashedStringRef:

Public Member Functions

 QHashedStringRef ()
 QHashedStringRef (const QString &)
 QHashedStringRef (QStringView)
 QHashedStringRef (const QChar *, int)
 QHashedStringRef (const QChar *, int, quint32)
 QHashedStringRef (const QHashedString &)
 QHashedStringRef (const QHashedStringRef &)
QHashedStringRefoperator= (const QHashedStringRef &)
bool operator== (const QString &string) const
bool operator== (const QHashedString &string) const
bool operator== (const QHashedStringRef &string) const
bool operator== (const QHashedCStringRef &string) const
bool operator!= (const QString &string) const
bool operator!= (const QHashedString &string) const
bool operator!= (const QHashedStringRef &string) const
bool operator!= (const QHashedCStringRef &string) const
quint32 hash () const
QChardata ()
const QCharat (int) const
const QCharconstData () const
bool startsWith (const QString &) const
bool endsWith (const QString &) const
int indexOf (const QChar &, int from=0) const
QHashedStringRef mid (int, int) const
QList< QHashedStringRefsplit (const QChar sep) const
bool isEmpty () const
int length () const
bool startsWithUpper () const
QString toString () const
bool isLatin1 () const

Friends

class QHashedString

Detailed Description

Definition at line 60 of file qhashedstring_p.h.

Constructor & Destructor Documentation

◆ QHashedStringRef() [1/7]

QHashedStringRef::QHashedStringRef ( )
inline

Definition at line 199 of file qhashedstring_p.h.

◆ QHashedStringRef() [2/7]

QHashedStringRef::QHashedStringRef ( const QString & str)
inline

Definition at line 205 of file qhashedstring_p.h.

◆ QHashedStringRef() [3/7]

QHashedStringRef::QHashedStringRef ( QStringView str)
inline

Definition at line 211 of file qhashedstring_p.h.

◆ QHashedStringRef() [4/7]

QHashedStringRef::QHashedStringRef ( const QChar * data,
int length )
inline

Definition at line 217 of file qhashedstring_p.h.

◆ QHashedStringRef() [5/7]

QHashedStringRef::QHashedStringRef ( const QChar * data,
int length,
quint32 hash )
inline

Definition at line 222 of file qhashedstring_p.h.

◆ QHashedStringRef() [6/7]

QHashedStringRef::QHashedStringRef ( const QHashedString & string)
inline

Definition at line 227 of file qhashedstring_p.h.

◆ QHashedStringRef() [7/7]

QHashedStringRef::QHashedStringRef ( const QHashedStringRef & string)
inline

Definition at line 233 of file qhashedstring_p.h.

Member Function Documentation

◆ at()

const QChar & QHashedStringRef::at ( int index) const
inline

Definition at line 302 of file qhashedstring_p.h.

◆ constData()

const QChar * QHashedStringRef::constData ( ) const
inline

Definition at line 308 of file qhashedstring_p.h.

◆ data()

QChar * QHashedStringRef::data ( )
inline

Definition at line 297 of file qhashedstring_p.h.

◆ endsWith()

bool QHashedStringRef::endsWith ( const QString & s) const

Definition at line 35 of file qhashedstring.cpp.

◆ hash()

quint32 QHashedStringRef::hash ( ) const
inline

Definition at line 341 of file qhashedstring_p.h.

◆ indexOf()

int QHashedStringRef::indexOf ( const QChar & c,
int from = 0 ) const

Definition at line 47 of file qhashedstring.cpp.

◆ isEmpty()

bool QHashedStringRef::isEmpty ( ) const
inline

Definition at line 313 of file qhashedstring_p.h.

◆ isLatin1()

bool QHashedStringRef::isLatin1 ( ) const
inline

Definition at line 323 of file qhashedstring_p.h.

◆ length()

int QHashedStringRef::length ( ) const
inline

Definition at line 318 of file qhashedstring_p.h.

◆ mid()

QT_BEGIN_NAMESPACE QHashedStringRef QHashedStringRef::mid ( int offset,
int length ) const

Definition at line 9 of file qhashedstring.cpp.

◆ operator!=() [1/4]

bool QHashedStringRef::operator!= ( const QHashedCStringRef & string) const
inline

Definition at line 292 of file qhashedstring_p.h.

◆ operator!=() [2/4]

bool QHashedStringRef::operator!= ( const QHashedString & string) const
inline

Definition at line 282 of file qhashedstring_p.h.

◆ operator!=() [3/4]

bool QHashedStringRef::operator!= ( const QHashedStringRef & string) const
inline

Definition at line 287 of file qhashedstring_p.h.

◆ operator!=() [4/4]

bool QHashedStringRef::operator!= ( const QString & string) const
inline

Definition at line 277 of file qhashedstring_p.h.

◆ operator=()

QHashedStringRef & QHashedStringRef::operator= ( const QHashedStringRef & o)
inline

Definition at line 238 of file qhashedstring_p.h.

◆ operator==() [1/4]

bool QHashedStringRef::operator== ( const QHashedCStringRef & string) const
inline

Definition at line 270 of file qhashedstring_p.h.

◆ operator==() [2/4]

bool QHashedStringRef::operator== ( const QHashedString & string) const
inline

Definition at line 252 of file qhashedstring_p.h.

◆ operator==() [3/4]

bool QHashedStringRef::operator== ( const QHashedStringRef & string) const
inline

Definition at line 261 of file qhashedstring_p.h.

◆ operator==() [4/4]

bool QHashedStringRef::operator== ( const QString & string) const
inline

Definition at line 246 of file qhashedstring_p.h.

◆ split()

QList< QHashedStringRef > QHashedStringRef::split ( const QChar sep) const

Definition at line 16 of file qhashedstring.cpp.

◆ startsWith()

bool QHashedStringRef::startsWith ( const QString & s) const

Definition at line 41 of file qhashedstring.cpp.

◆ startsWithUpper()

bool QHashedStringRef::startsWithUpper ( ) const
inline

Definition at line 335 of file qhashedstring_p.h.

◆ toString()

QString QHashedStringRef::toString ( ) const

Definition at line 53 of file qhashedstring.cpp.

◆ QHashedString

friend class QHashedString
friend

Definition at line 101 of file qhashedstring_p.h.


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