QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Public Member Functions | List of all members
QgsReadWriteContext::ReadWriteMessage Struct Reference

Struct for QgsReadWriteContext error or warning messages. More...

#include <qgsreadwritecontext.h>

Public Member Functions

 ReadWriteMessage (const QString &message=QString(), Qgis::MessageLevel level=Qgis::MessageLevel::Warning, const QStringList &categories=QStringList())
 Construct a container for QgsReadWriteContext error or warning messages. More...
 
QStringList categories () const
 Returns the stack of categories of the message. More...
 
Qgis::MessageLevel level () const
 Returns the message level. More...
 
QString message () const
 Returns the message string. More...
 
bool operator!= (const QgsReadWriteContext::ReadWriteMessage &other) const
 
bool operator== (const QgsReadWriteContext::ReadWriteMessage &other) const
 

Detailed Description

Struct for QgsReadWriteContext error or warning messages.

Since
QGIS 3.2

Definition at line 42 of file qgsreadwritecontext.h.

Constructor & Destructor Documentation

◆ ReadWriteMessage()

QgsReadWriteContext::ReadWriteMessage::ReadWriteMessage ( const QString &  message = QString(),
Qgis::MessageLevel  level = Qgis::MessageLevel::Warning,
const QStringList &  categories = QStringList() 
)
inline

Construct a container for QgsReadWriteContext error or warning messages.

Definition at line 45 of file qgsreadwritecontext.h.

Member Function Documentation

◆ categories()

QStringList QgsReadWriteContext::ReadWriteMessage::categories ( ) const
inline

Returns the stack of categories of the message.

Definition at line 58 of file qgsreadwritecontext.h.

◆ level()

Qgis::MessageLevel QgsReadWriteContext::ReadWriteMessage::level ( ) const
inline

Returns the message level.

Definition at line 55 of file qgsreadwritecontext.h.

◆ message()

QString QgsReadWriteContext::ReadWriteMessage::message ( ) const
inline

Returns the message string.

Definition at line 52 of file qgsreadwritecontext.h.

◆ operator!=()

bool QgsReadWriteContext::ReadWriteMessage::operator!= ( const QgsReadWriteContext::ReadWriteMessage other) const
inline

Definition at line 67 of file qgsreadwritecontext.h.

◆ operator==()

bool QgsReadWriteContext::ReadWriteMessage::operator== ( const QgsReadWriteContext::ReadWriteMessage other) const
inline

Definition at line 62 of file qgsreadwritecontext.h.


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