QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
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 116 of file qgsexpressionnode.h.
|
virtual |
Definition at line 47 of file qgsexpressionnodeimpl.cpp.
|
inline |
Takes ownership of the provided node.
Definition at line 121 of file qgsexpressionnode.h.
void QgsExpressionNode::NodeList::append | ( | QgsExpressionNode::NamedNode * | node | ) |
Adds a named node.
Takes ownership of the provided node.
Definition at line 52 of file qgsexpressionnodeimpl.cpp.
|
inline |
Gets the node at position i in the list.
Definition at line 150 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 60 of file qgsexpressionnodeimpl.cpp.
|
inline |
Returns the number of nodes in the list.
Definition at line 132 of file qgsexpressionnode.h.
|
virtual |
Returns a string dump of the expression node.
Definition at line 72 of file qgsexpressionnodeimpl.cpp.
|
inline |
Returns true if list contains any named nodes.
Definition at line 138 of file qgsexpressionnode.h.
|
inline |
Gets a list of all the nodes.
Definition at line 143 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 156 of file qgsexpressionnode.h.