QGIS API Documentation  3.14.0-Pi (9f7028fd23)
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, Qgis::MessageLevel level=Qgis::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...
 

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,
Qgis::MessageLevel  level = Qgis::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.


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