QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
A list of expression nodes. More...
#include <qgsexpressionnode.h>
Public Member Functions | |
virtual | ~NodeList () |
void | append (QgsExpressionNode *node) |
Takes ownership of the provided node. More... | |
void | append (QgsExpressionNode::NamedNode *node) |
Adds a named node. More... | |
QgsExpressionNode * | at (int i) |
Gets the node at position i in the list. More... | |
QgsExpressionNode::NodeList * | clone () const |
Creates a deep copy of this list. Ownership is transferred to the caller. More... | |
int | count () const |
Returns the number of nodes in the list. More... | |
virtual QString | dump () const |
Returns a string dump of the expression node. More... | |
bool | hasNamedNodes () const |
Returns true if list contains any named nodes. More... | |
QList< QgsExpressionNode * > | list () |
Gets a list of all the nodes. More... | |
QStringList | names () const |
Returns a list of names for nodes. More... | |
A list of expression nodes.
Definition at line 121 of file qgsexpressionnode.h.
|
virtual |
Definition at line 54 of file qgsexpressionnodeimpl.cpp.
|
inline |
Takes ownership of the provided node.
Definition at line 126 of file qgsexpressionnode.h.
void QgsExpressionNode::NodeList::append | ( | QgsExpressionNode::NamedNode * | node | ) |
Adds a named node.
Takes ownership of the provided node.
Definition at line 59 of file qgsexpressionnodeimpl.cpp.
|
inline |
Gets the node at position i in the list.
Definition at line 155 of file qgsexpressionnode.h.
QgsExpressionNode::NodeList * QgsExpressionNode::NodeList::clone | ( | ) | const |
Creates a deep copy of this list. Ownership is transferred to the caller.
Definition at line 67 of file qgsexpressionnodeimpl.cpp.
|
inline |
Returns the number of nodes in the list.
Definition at line 137 of file qgsexpressionnode.h.
|
virtual |
Returns a string dump of the expression node.
Definition at line 79 of file qgsexpressionnodeimpl.cpp.
|
inline |
Returns true
if list contains any named nodes.
Definition at line 143 of file qgsexpressionnode.h.
|
inline |
Gets a list of all the nodes.
Definition at line 148 of file qgsexpressionnode.h.
|
inline |
Returns a list of names for nodes.
Unnamed nodes will be indicated by an empty string in the list.
Definition at line 161 of file qgsexpressionnode.h.