QtBase  v6.3.1
Public Member Functions | Public Attributes | List of all members
QtPrivate::XmlStringRef Class Reference

#include <qxmlstream_p.h>

Collaboration diagram for QtPrivate::XmlStringRef:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 65 of file qxmlstream_p.h.

Constructor & Destructor Documentation

◆ XmlStringRef() [1/3]

constexpr QtPrivate::XmlStringRef::XmlStringRef ( )
constexprdefault

◆ XmlStringRef() [2/3]

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

Definition at line 73 of file qxmlstream_p.h.

◆ XmlStringRef() [3/3]

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

Definition at line 77 of file qxmlstream_p.h.

Member Function Documentation

◆ clear()

void QtPrivate::XmlStringRef::clear ( )
inline

Definition at line 92 of file qxmlstream_p.h.

Here is the caller graph for this function:

◆ isEmpty()

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

Definition at line 94 of file qxmlstream_p.h.

Here is the caller graph for this function:

◆ isNull()

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

Definition at line 95 of file qxmlstream_p.h.

Here is the caller graph for this function:

◆ operator QStringView()

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

Definition at line 90 of file qxmlstream_p.h.

Here is the call graph for this function:

◆ operator QXmlString()

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

Definition at line 82 of file qxmlstream_p.h.

Here is the call graph for this function:

◆ toString()

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

Definition at line 96 of file qxmlstream_p.h.

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

◆ view()

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

Definition at line 93 of file qxmlstream_p.h.

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

Member Data Documentation

◆ m_pos

qsizetype QtPrivate::XmlStringRef::m_pos = 0

Definition at line 69 of file qxmlstream_p.h.

◆ m_size

qsizetype QtPrivate::XmlStringRef::m_size = 0

Definition at line 70 of file qxmlstream_p.h.

◆ m_string

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

Definition at line 68 of file qxmlstream_p.h.


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