|
QGIS API Documentation 4.3.0-Master (c8cdfe19d7b)
|
Converts an Esri Arcade script to a QgsExpression. More...
#include <qgsesriarcadeconverter.h>
Public Types | |
| enum class | Result { Success , ParserError , InvalidScriptMultiStatements , InvalidScriptIncompatible , UnknownError } |
| Results of converting the Arcade script. More... | |
Public Member Functions | |
| QgsEsriArcadeConverter (const QString &script) | |
| Constructor for QgsEsriArcadeConverter for converting the specified script. | |
| QString | errorMessage () const |
| Returns the descriptive error message, if an error was obtained while converting the script. | |
| QString | expression () const |
| Returns the QGIS expression equivalent of the Arcade script, if conversion was successful. | |
| Result | result () const |
| Returns the result of converting the script. | |
Converts an Esri Arcade script to a QgsExpression.
Definition at line 31 of file qgsesriarcadeconverter.h.
|
strong |
Results of converting the Arcade script.
Definition at line 37 of file qgsesriarcadeconverter.h.
| PRIVATE QgsEsriArcadeConverter::QgsEsriArcadeConverter | ( | const QString & | script | ) |
Constructor for QgsEsriArcadeConverter for converting the specified script.
Definition at line 977 of file qgsesriarcadeconverter.cpp.
|
inline |
Returns the descriptive error message, if an error was obtained while converting the script.
Definition at line 65 of file qgsesriarcadeconverter.h.
|
inline |
Returns the QGIS expression equivalent of the Arcade script, if conversion was successful.
Definition at line 70 of file qgsesriarcadeconverter.h.
|
inline |
Returns the result of converting the script.
If the conversion was not successful, a descriptive error can be retrieved by errorMessage().
Definition at line 58 of file qgsesriarcadeconverter.h.