| Grantlee 5.3.0
    | 
A list of Nodes with some convenience API for rendering them. More...
#include <grantlee/node.h>

| Public Member Functions | |
| NodeList () | |
| NodeList (const NodeList &list) | |
| NodeList (const QList< Grantlee::Node * > &list) | |
| ~NodeList () | |
| void | append (Grantlee::Node *node) | 
| void | append (QList< Grantlee::Node * > nodeList) | 
| bool | containsNonText () const | 
| template<typename T > | |
| QList< T > | findChildren () | 
| NodeList & | operator= (const NodeList &list) | 
| void | render (OutputStream *stream, Context *c) const | 
Typically, tags which have an end tag will create and later render a list of child nodes.
This class contains API such as append and render to make creating such list easily.
The findChildren method behaves similarly to the QObject::findChildren method, returning a list of nodes of a particular type from the Node objects contained in the list (and their children).
| Grantlee::NodeList::NodeList | ( | ) | 
Creates an empty NodeList.
| Grantlee::NodeList::NodeList | ( | const NodeList & | list | ) | 
Copy constructor.
| Grantlee::NodeList::NodeList | ( | const QList< Grantlee::Node * > & | list | ) | 
Convenience constructor
| Grantlee::NodeList::~NodeList | ( | ) | 
Destructor.
| void Grantlee::NodeList::append | ( | Grantlee::Node * | node | ) | 
Appends node to the end of this NodeList. 
| void Grantlee::NodeList::append | ( | QList< Grantlee::Node * > | nodeList | ) | 
Appends nodeList to the end of this NodeList. 
| bool Grantlee::NodeList::containsNonText | ( | ) | const | 
Returns true if this NodeList contains non-text nodes.
| 
 | inline | 
| void Grantlee::NodeList::render | ( | OutputStream * | stream, | 
| Context * | c ) const | 
Renders the list of Nodes in the Context c.