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
QtCbor::ByteData Struct Reference

#include <qcborvalue_p.h>

+ Collaboration diagram for QtCbor::ByteData:

Public Member Functions

const char * byte () const
 
char * byte ()
 
const QCharutf16 () const
 
QCharutf16 ()
 
QByteArray toByteArray () const
 
QString toString () const
 
QString toUtf8String () const
 
QByteArray asByteArrayView () const
 
QLatin1StringView asLatin1 () const
 
QUtf8StringView asUtf8StringView () const
 
QStringView asStringView () const
 
QString asQStringRaw () const
 

Public Attributes

QByteArray::size_type len
 

Detailed Description

Definition at line 73 of file qcborvalue_p.h.

Member Function Documentation

◆ asByteArrayView()

QByteArray QtCbor::ByteData::asByteArrayView ( ) const
inline

Definition at line 86 of file qcborvalue_p.h.

References QByteArray::fromRawData().

Referenced by QCborValue::toUrl(), and QCborValue::toUuid().

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

◆ asLatin1()

QLatin1StringView QtCbor::ByteData::asLatin1 ( ) const
inline

Definition at line 87 of file qcborvalue_p.h.

References byte().

Referenced by QCborValue::toDateTime().

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

◆ asQStringRaw()

QString QtCbor::ByteData::asQStringRaw ( ) const
inline

Definition at line 90 of file qcborvalue_p.h.

References QString::fromRawData(), and utf16().

+ Here is the call graph for this function:

◆ asStringView()

QStringView QtCbor::ByteData::asStringView ( ) const
inline

Definition at line 89 of file qcborvalue_p.h.

References utf16().

Referenced by sortContainer().

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

◆ asUtf8StringView()

QUtf8StringView QtCbor::ByteData::asUtf8StringView ( ) const
inline

Definition at line 88 of file qcborvalue_p.h.

Referenced by sortContainer().

+ Here is the caller graph for this function:

◆ byte() [1/2]

char * QtCbor::ByteData::byte ( )
inline

Definition at line 78 of file qcborvalue_p.h.

◆ byte() [2/2]

const char * QtCbor::ByteData::byte ( ) const
inline

Definition at line 77 of file qcborvalue_p.h.

Referenced by asLatin1().

+ Here is the caller graph for this function:

◆ toByteArray()

QByteArray QtCbor::ByteData::toByteArray ( ) const
inline

Definition at line 82 of file qcborvalue_p.h.

References QByteArray().

+ Here is the call graph for this function:

◆ toString()

QString QtCbor::ByteData::toString ( ) const
inline

Definition at line 83 of file qcborvalue_p.h.

References utf16().

+ Here is the call graph for this function:

◆ toUtf8String()

QString QtCbor::ByteData::toUtf8String ( ) const
inline

Definition at line 84 of file qcborvalue_p.h.

References QString::fromUtf8().

+ Here is the call graph for this function:

◆ utf16() [1/2]

QChar * QtCbor::ByteData::utf16 ( )
inline

Definition at line 80 of file qcborvalue_p.h.

◆ utf16() [2/2]

const QChar * QtCbor::ByteData::utf16 ( ) const
inline

Definition at line 79 of file qcborvalue_p.h.

Referenced by asQStringRaw(), asStringView(), and toString().

+ Here is the caller graph for this function:

Member Data Documentation

◆ len

QByteArray::size_type QtCbor::ByteData::len

Definition at line 75 of file qcborvalue_p.h.

Referenced by QCborContainerPrivate::addByteDataImpl().


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