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
QGString Struct Reference

#include <qgst_p.h>

+ Inheritance diagram for QGString:
+ Collaboration diagram for QGString:

Public Member Functions

QLatin1StringView asStringView () const
 
QByteArrayView asByteArrayView () const
 
QString toQString () const
 
bool operator== (const QGString &str) const
 
bool operator== (const QLatin1StringView str) const
 
bool operator== (const QByteArrayView str) const
 
bool operator!= (const QGString &str) const
 
bool operator!= (const QLatin1StringView str) const
 
bool operator!= (const QByteArrayView str) const
 
 operator QByteArrayView () const
 
 operator QByteArray () const
 
- Public Member Functions inherited from QUniqueHandle< HandleTraits >
 QUniqueHandle ()=default
 
 QUniqueHandle (const Type &handle) noexcept
 
 QUniqueHandle (QUniqueHandle &&other) noexcept
 
 ~QUniqueHandle () noexcept
 
QUniqueHandleoperator= (QUniqueHandle &&rhs) noexcept
 
 QUniqueHandle (const QUniqueHandle &)=delete
 
QUniqueHandleoperator= (const QUniqueHandle &)=delete
 
bool isValid () const noexcept
 
 operator bool () const noexcept
 
Type get () const noexcept
 
void reset (const Type &handle) noexcept
 
Type release () noexcept
 
Typeoperator& () noexcept
 
void close () noexcept
 

Friends

bool operator< (const QGString &lhs, const QGString &rhs)
 
bool operator< (const QGString &lhs, const QLatin1StringView rhs)
 
bool operator< (const QGString &lhs, const QByteArrayView rhs)
 
bool operator< (const QLatin1StringView lhs, const QGString &rhs)
 
bool operator< (const QByteArrayView lhs, const QGString &rhs)
 

Additional Inherited Members

- Public Types inherited from QUniqueHandle< HandleTraits >
using Type = typename HandleTraits::Type
 

Detailed Description

Definition at line 193 of file qgst_p.h.

Member Function Documentation

◆ asByteArrayView()

QByteArrayView QGString::asByteArrayView ( ) const
inline

Definition at line 198 of file qgst_p.h.

◆ asStringView()

QLatin1StringView QGString::asStringView ( ) const
inline

Definition at line 197 of file qgst_p.h.

◆ operator QByteArray()

QGString::operator QByteArray ( ) const
inlineexplicit

Definition at line 257 of file qgst_p.h.

◆ operator QByteArrayView()

QGString::operator QByteArrayView ( ) const
inlineexplicit

Definition at line 256 of file qgst_p.h.

◆ operator!=() [1/3]

bool QGString::operator!= ( const QByteArrayView str) const
inline

Definition at line 232 of file qgst_p.h.

◆ operator!=() [2/3]

bool QGString::operator!= ( const QGString & str) const
inline

Definition at line 230 of file qgst_p.h.

◆ operator!=() [3/3]

bool QGString::operator!= ( const QLatin1StringView str) const
inline

Definition at line 231 of file qgst_p.h.

◆ operator==() [1/3]

bool QGString::operator== ( const QByteArrayView str) const
inline

Definition at line 228 of file qgst_p.h.

◆ operator==() [2/3]

bool QGString::operator== ( const QGString & str) const
inline

Definition at line 226 of file qgst_p.h.

◆ operator==() [3/3]

bool QGString::operator== ( const QLatin1StringView str) const
inline

Definition at line 227 of file qgst_p.h.

◆ toQString()

QString QGString::toQString ( ) const
inline

Definition at line 199 of file qgst_p.h.

Friends And Related Symbol Documentation

◆ operator< [1/5]

bool operator< ( const QByteArrayView lhs,
const QGString & rhs )
friend

Definition at line 250 of file qgst_p.h.

◆ operator< [2/5]

bool operator< ( const QGString & lhs,
const QByteArrayView rhs )
friend

Definition at line 242 of file qgst_p.h.

◆ operator< [3/5]

bool operator< ( const QGString & lhs,
const QGString & rhs )
friend

Definition at line 234 of file qgst_p.h.

◆ operator< [4/5]

bool operator< ( const QGString & lhs,
const QLatin1StringView rhs )
friend

Definition at line 238 of file qgst_p.h.

◆ operator< [5/5]

bool operator< ( const QLatin1StringView lhs,
const QGString & rhs )
friend

Definition at line 246 of file qgst_p.h.


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