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
Message Class Reference

[custom type definition] More...

#include <qqmljslogger_p.h>

Inheritance diagram for Message:
Collaboration diagram for Message:

Public Types

enum class  CompilationStatus { Normal , Skip , Error }

Public Member Functions

 Message ()=default
 ~Message ()=default
 Message (const Message &)=default
Messageoperator= (const Message &)=default
 Message (const QString &body, const QStringList &headers)
QStringView body () const
 [custom type streaming operator]
QStringList headers () const
quint32 lineForDisabling () const
 Message ()=default
 ~Message ()=default
 Message (const Message &)=default
Messageoperator= (const Message &)=default
 Message (const QString &body, const QStringList &headers)
QStringView body () const
QStringList headers () const
Public Member Functions inherited from QQmlJS::DiagnosticMessage
bool isError () const
bool isWarning () const

Public Attributes

QAnyStringView id
std::optional< QQmlJSFixSuggestionfixSuggestion
CompilationStatus compilationStatus = CompilationStatus::Normal
std::optional< quint32customLineForDisabling = std::nullopt
Public Attributes inherited from QQmlJS::DiagnosticMessage
QString message
QtMsgType type = QtCriticalMsg
SourceLocation loc

Detailed Description

[custom type definition]

Definition at line 10 of file customtypeexample.cpp.

Member Enumeration Documentation

◆ CompilationStatus

enum class Message::CompilationStatus
strong
Enumerator
Normal 
Skip 
Error 

Definition at line 109 of file qqmljslogger_p.h.

Constructor & Destructor Documentation

◆ Message() [1/6]

Message::Message ( )
default

◆ ~Message() [1/2]

Message::~Message ( )
default

◆ Message() [2/6]

Message::Message ( const Message & )
default

◆ Message() [3/6]

Message::Message ( const QString & body,
const QStringList & headers )

◆ Message() [4/6]

Message::Message ( )
default

◆ ~Message() [2/2]

Message::~Message ( )
default

◆ Message() [5/6]

Message::Message ( const Message & )
default

◆ Message() [6/6]

Message::Message ( const QString & body,
const QStringList & headers )

Member Function Documentation

◆ body() [1/2]

QStringView Message::body ( ) const

[custom type streaming operator]

[getter functions]

Definition at line 55 of file customtypeexample.cpp.

◆ body() [2/2]

QStringView Message::body ( ) const

◆ headers() [1/2]

QStringList Message::headers ( ) const

Definition at line 60 of file customtypeexample.cpp.

◆ headers() [2/2]

QStringList Message::headers ( ) const

◆ lineForDisabling()

quint32 Message::lineForDisabling ( ) const
inline

Definition at line 118 of file qqmljslogger_p.h.

◆ operator=() [1/2]

Message & Message::operator= ( const Message & )
default

◆ operator=() [2/2]

Message & Message::operator= ( const Message & )
default

Member Data Documentation

◆ compilationStatus

CompilationStatus Message::compilationStatus = CompilationStatus::Normal

Definition at line 115 of file qqmljslogger_p.h.

◆ customLineForDisabling

std::optional<quint32> Message::customLineForDisabling = std::nullopt

Definition at line 116 of file qqmljslogger_p.h.

◆ fixSuggestion

std::optional<QQmlJSFixSuggestion> Message::fixSuggestion

Definition at line 114 of file qqmljslogger_p.h.

◆ id

QAnyStringView Message::id

Definition at line 113 of file qqmljslogger_p.h.


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