QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | Public Attributes | List of all members
QgsMeshEditingError Class Reference

Class that represents an error during mesh editing. More...

#include <qgsmesheditor.h>

Public Member Functions

 QgsMeshEditingError ()
 Constructor of the default error, that is NoError. More...
 
 QgsMeshEditingError (Qgis::MeshEditingErrorType type, int elementIndex)
 Constructor with eht error type and the index of the element elementIndex. More...
 
bool operator!= (const QgsMeshEditingError &other) const
 
bool operator== (const QgsMeshEditingError &other) const
 

Public Attributes

int elementIndex = -1
 
Qgis::MeshEditingErrorType errorType = Qgis::MeshEditingErrorType::NoError
 

Detailed Description

Class that represents an error during mesh editing.

Since
QGIS 3.22

Definition at line 42 of file qgsmesheditor.h.

Constructor & Destructor Documentation

◆ QgsMeshEditingError() [1/2]

QgsMeshEditingError::QgsMeshEditingError ( )

Constructor of the default error, that is NoError.

Definition at line 953 of file qgsmesheditor.cpp.

◆ QgsMeshEditingError() [2/2]

QgsMeshEditingError::QgsMeshEditingError ( Qgis::MeshEditingErrorType  type,
int  elementIndex 
)

Constructor with eht error type and the index of the element elementIndex.

Definition at line 955 of file qgsmesheditor.cpp.

Member Function Documentation

◆ operator!=()

bool QgsMeshEditingError::operator!= ( const QgsMeshEditingError other) const
inline

Definition at line 57 of file qgsmesheditor.h.

◆ operator==()

bool QgsMeshEditingError::operator== ( const QgsMeshEditingError other) const
inline

Definition at line 56 of file qgsmesheditor.h.

Member Data Documentation

◆ elementIndex

int QgsMeshEditingError::elementIndex = -1

Definition at line 54 of file qgsmesheditor.h.

◆ errorType

Definition at line 52 of file qgsmesheditor.h.


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