QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
#include <qgsexpression.h>
Public Member Functions | |
NodeList () | |
virtual | ~NodeList () |
void | append (Node *node) |
Takes ownership of the provided node. More... | |
void | append (NamedNode *node) |
Adds a named node. More... | |
NodeList * | clone () const |
Creates a deep copy of this list. More... | |
int | count () const |
Returns the number of nodes in the list. More... | |
virtual QString | dump () const |
bool | hasNamedNodes () const |
Returns true if list contains any named nodes. More... | |
QList< Node * > | list () |
QStringList | names () const |
Returns a list of names for nodes. More... | |
Protected Attributes | |
QList< Node * > | mList |
QStringList | mNameList |
Definition at line 1044 of file qgsexpression.h.
|
inline |
Definition at line 1047 of file qgsexpression.h.
|
inlinevirtual |
Definition at line 1048 of file qgsexpression.h.
|
inline |
Takes ownership of the provided node.
Definition at line 1050 of file qgsexpression.h.
|
inline |
Adds a named node.
Takes ownership of the provided node.
Definition at line 1055 of file qgsexpression.h.
QgsExpression::NodeList * QgsExpression::NodeList::clone | ( | ) | const |
Creates a deep copy of this list.
Ownership is transferred to the caller
Definition at line 4061 of file qgsexpression.cpp.
|
inline |
Returns the number of nodes in the list.
Definition at line 1059 of file qgsexpression.h.
|
virtual |
Definition at line 4073 of file qgsexpression.cpp.
|
inline |
Returns true if list contains any named nodes.
Definition at line 1063 of file qgsexpression.h.
Definition at line 1065 of file qgsexpression.h.
|
inline |
Returns a list of names for nodes.
Unnamed nodes will be indicated by an empty string in the list.
Definition at line 1069 of file qgsexpression.h.
Definition at line 1077 of file qgsexpression.h.
|
protected |
Definition at line 1078 of file qgsexpression.h.