QGIS API Documentation  3.6.0-Noosa (5873452)
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 41 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 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.


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