QGIS API Documentation 3.39.0-Master (be2050b798e)
Loading...
Searching...
No Matches
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.
 
QStringList categories () const
 Returns the stack of categories of the message.
 
Qgis::MessageLevel level () const
 Returns the message level.
 
QString message () const
 Returns the message string.
 
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 41 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 44 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 57 of file qgsreadwritecontext.h.

◆ level()

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

Returns the message level.

Definition at line 54 of file qgsreadwritecontext.h.

◆ message()

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

Returns the message string.

Definition at line 51 of file qgsreadwritecontext.h.

◆ operator!=()

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

Definition at line 66 of file qgsreadwritecontext.h.

◆ operator==()

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

Definition at line 61 of file qgsreadwritecontext.h.


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