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
QtPrivate::XmlStringRef Class Reference

#include <qxmlstream_p.h>

Collaboration diagram for QtPrivate::XmlStringRef:

Public Types

using value_type = QStringView::value_type
using size_type = QStringView::size_type
using difference_type = QStringView::difference_type
using pointer = QStringView::pointer
using const_pointer = QStringView::const_pointer
using reference = QStringView::reference
using const_reference = QStringView::const_reference
using iterator = QStringView::iterator
using const_iterator = QStringView::const_iterator
using reverse_iterator = QStringView::reverse_iterator
using const_reverse_iterator = QStringView::const_reverse_iterator

Public Member Functions

constexpr XmlStringRef ()=default
constexpr XmlStringRef (const QString *string, qsizetype pos, qsizetype length)
 XmlStringRef (const QString *string)
 operator QXmlString () const
void clear ()
QStringView view () const
bool isEmpty () const
bool isNull () const
QString toString () const
XmlStringRef sliced (qsizetype pos) const
XmlStringRef sliced (qsizetype pos, qsizetype n) const

Public Attributes

const QStringm_string = nullptr
qsizetype m_pos = 0
qsizetype m_size = 0

Detailed Description

Definition at line 34 of file qxmlstream_p.h.

Member Typedef Documentation

◆ const_iterator

◆ const_pointer

◆ const_reference

◆ const_reverse_iterator

◆ difference_type

◆ iterator

◆ pointer

◆ reference

◆ reverse_iterator

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ XmlStringRef() [1/3]

QtPrivate::XmlStringRef::XmlStringRef ( )
constexprdefault

◆ XmlStringRef() [2/3]

QtPrivate::XmlStringRef::XmlStringRef ( const QString * string,
qsizetype pos,
qsizetype length )
inlineconstexpr

Definition at line 42 of file qxmlstream_p.h.

References XmlStringRef().

Referenced by XmlStringRef().

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

◆ XmlStringRef() [3/3]

QtPrivate::XmlStringRef::XmlStringRef ( const QString * string)
inline

Definition at line 46 of file qxmlstream_p.h.

Member Function Documentation

◆ clear()

void QtPrivate::XmlStringRef::clear ( )
inline

Definition at line 60 of file qxmlstream_p.h.

◆ isEmpty()

bool QtPrivate::XmlStringRef::isEmpty ( ) const
inline

Definition at line 62 of file qxmlstream_p.h.

◆ isNull()

bool QtPrivate::XmlStringRef::isNull ( ) const
inline

Definition at line 63 of file qxmlstream_p.h.

◆ operator QXmlString()

QtPrivate::XmlStringRef::operator QXmlString ( ) const
inline

Definition at line 51 of file qxmlstream_p.h.

◆ sliced() [1/2]

XmlStringRef QtPrivate::XmlStringRef::sliced ( qsizetype pos) const
inline

Definition at line 66 of file qxmlstream_p.h.

◆ sliced() [2/2]

XmlStringRef QtPrivate::XmlStringRef::sliced ( qsizetype pos,
qsizetype n ) const
inline

Definition at line 71 of file qxmlstream_p.h.

◆ toString()

QString QtPrivate::XmlStringRef::toString ( ) const
inline

Definition at line 64 of file qxmlstream_p.h.

◆ view()

QStringView QtPrivate::XmlStringRef::view ( ) const
inline

Definition at line 61 of file qxmlstream_p.h.

Member Data Documentation

◆ m_pos

qsizetype QtPrivate::XmlStringRef::m_pos = 0

Definition at line 38 of file qxmlstream_p.h.

◆ m_size

qsizetype QtPrivate::XmlStringRef::m_size = 0

Definition at line 39 of file qxmlstream_p.h.

◆ m_string

const QString* QtPrivate::XmlStringRef::m_string = nullptr

Definition at line 37 of file qxmlstream_p.h.


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