|
QGIS API Documentation 4.3.0-Master (bd2f5e21fd1)
|
Represents a key-value entry in an Esri Arcade dictionary literal. More...
#include <qgsesriarcadescript.h>
Public Member Functions | |
| QgsEsriArcadeDictionaryElement (const QString &key, QgsEsriArcadeExpression *value, bool isAutoKey=false) | |
| Constructor for QgsEsriArcadeDictionaryElement. | |
| ~QgsEsriArcadeDictionaryElement () | |
| QgsEsriArcadeDictionaryElement * | clone () const |
| Creates a deep copy of the element. | |
| QString | dump () const |
| Formats the element as string. | |
| bool | isAutoKey () const |
Returns true if the entry was defined using auto-keys. | |
| QString | key () const |
| Returns the entry key. | |
| QgsEsriArcadeExpression * | value () const |
| Returns the entry value expression. | |
Represents a key-value entry in an Esri Arcade dictionary literal.
Eg the a: 5 part of the {a: 5, b: 6} dictionary literal.
Definition at line 982 of file qgsesriarcadescript.h.
| QgsEsriArcadeDictionaryElement::QgsEsriArcadeDictionaryElement | ( | const QString & | key, |
| QgsEsriArcadeExpression * | value, | ||
| bool | isAutoKey = false ) |
Constructor for QgsEsriArcadeDictionaryElement.
Ownership of value is transferred to this element.
Definition at line 571 of file qgsesriarcadescript.cpp.
|
default |
| QgsEsriArcadeDictionaryElement * QgsEsriArcadeDictionaryElement::clone | ( | ) | const |
Creates a deep copy of the element.
Caller takes ownership of the returned object.
Definition at line 587 of file qgsesriarcadescript.cpp.
| QString QgsEsriArcadeDictionaryElement::dump | ( | ) | const |
Formats the element as string.
Definition at line 579 of file qgsesriarcadescript.cpp.
|
inline |
Returns true if the entry was defined using auto-keys.
Definition at line 1007 of file qgsesriarcadescript.h.
|
inline |
Returns the entry key.
Definition at line 997 of file qgsesriarcadescript.h.
|
inline |
Returns the entry value expression.
Definition at line 1002 of file qgsesriarcadescript.h.