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
QVector< 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 59 of file qhashedstring_p.h.

Constructor & Destructor Documentation

◆ QHashedStringRef() [1/7]

QHashedStringRef::QHashedStringRef ( )
inline

Definition at line 198 of file qhashedstring_p.h.

◆ QHashedStringRef() [2/7]

QHashedStringRef::QHashedStringRef ( const QString & str)
inline

Definition at line 204 of file qhashedstring_p.h.

◆ QHashedStringRef() [3/7]

QHashedStringRef::QHashedStringRef ( QStringView str)
inline

Definition at line 210 of file qhashedstring_p.h.

◆ QHashedStringRef() [4/7]

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

Definition at line 216 of file qhashedstring_p.h.

◆ QHashedStringRef() [5/7]

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

Definition at line 221 of file qhashedstring_p.h.

◆ QHashedStringRef() [6/7]

QHashedStringRef::QHashedStringRef ( const QHashedString & string)
inline

Definition at line 226 of file qhashedstring_p.h.

◆ QHashedStringRef() [7/7]

QHashedStringRef::QHashedStringRef ( const QHashedStringRef & string)
inline

Definition at line 232 of file qhashedstring_p.h.

Member Function Documentation

◆ at()

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

Definition at line 301 of file qhashedstring_p.h.

◆ constData()

const QChar * QHashedStringRef::constData ( ) const
inline

Definition at line 307 of file qhashedstring_p.h.

◆ data()

QChar * QHashedStringRef::data ( )
inline

Definition at line 296 of file qhashedstring_p.h.

◆ endsWith()

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

Definition at line 34 of file qhashedstring.cpp.

◆ hash()

quint32 QHashedStringRef::hash ( ) const
inline

Definition at line 340 of file qhashedstring_p.h.

◆ indexOf()

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

Definition at line 46 of file qhashedstring.cpp.

◆ isEmpty()

bool QHashedStringRef::isEmpty ( ) const
inline

Definition at line 312 of file qhashedstring_p.h.

◆ isLatin1()

bool QHashedStringRef::isLatin1 ( ) const
inline

Definition at line 322 of file qhashedstring_p.h.

◆ length()

int QHashedStringRef::length ( ) const
inline

Definition at line 317 of file qhashedstring_p.h.

◆ mid()

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

Definition at line 8 of file qhashedstring.cpp.

◆ operator!=() [1/4]

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

Definition at line 291 of file qhashedstring_p.h.

◆ operator!=() [2/4]

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

Definition at line 281 of file qhashedstring_p.h.

◆ operator!=() [3/4]

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

Definition at line 286 of file qhashedstring_p.h.

◆ operator!=() [4/4]

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

Definition at line 276 of file qhashedstring_p.h.

◆ operator=()

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

Definition at line 237 of file qhashedstring_p.h.

◆ operator==() [1/4]

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

Definition at line 269 of file qhashedstring_p.h.

◆ operator==() [2/4]

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

Definition at line 251 of file qhashedstring_p.h.

◆ operator==() [3/4]

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

Definition at line 260 of file qhashedstring_p.h.

◆ operator==() [4/4]

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

Definition at line 245 of file qhashedstring_p.h.

◆ split()

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

Definition at line 15 of file qhashedstring.cpp.

◆ startsWith()

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

Definition at line 40 of file qhashedstring.cpp.

◆ startsWithUpper()

bool QHashedStringRef::startsWithUpper ( ) const
inline

Definition at line 334 of file qhashedstring_p.h.

◆ toString()

QString QHashedStringRef::toString ( ) const

Definition at line 52 of file qhashedstring.cpp.

◆ QHashedString

friend class QHashedString
friend

Definition at line 100 of file qhashedstring_p.h.


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