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
QtParseCommon::ParsedText Struct Reference

#include <qtparsecommon_p.h>

Inheritance diagram for QtParseCommon::ParsedText:
Collaboration diagram for QtParseCommon::ParsedText:

Public Member Functions

constexpr operator bool () const noexcept
constexpr bool isEmpty () const
constexpr qsizetype size () const
constexpr QStringView used (QStringView text) const

Public Attributes

qsizetype startIndex = 0
qsizetype endIndex = 0

Detailed Description

Definition at line 24 of file qtparsecommon_p.h.

Member Function Documentation

◆ isEmpty()

bool QtParseCommon::ParsedText::isEmpty ( ) const
inlineconstexpr

Definition at line 30 of file qtparsecommon_p.h.

◆ operator bool()

QtParseCommon::ParsedText::operator bool ( ) const
inlineconstexprnoexcept

Definition at line 29 of file qtparsecommon_p.h.

◆ size()

qsizetype QtParseCommon::ParsedText::size ( ) const
inlineconstexpr

Definition at line 32 of file qtparsecommon_p.h.

◆ used()

QStringView QtParseCommon::ParsedText::used ( QStringView text) const
inlineconstexpr

Definition at line 34 of file qtparsecommon_p.h.

Member Data Documentation

◆ endIndex

qsizetype QtParseCommon::ParsedText::endIndex = 0

Definition at line 27 of file qtparsecommon_p.h.

◆ startIndex

qsizetype QtParseCommon::ParsedText::startIndex = 0

Definition at line 26 of file qtparsecommon_p.h.


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