|
Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
This class declares an iterator to loop through all children of the root node. More...
#include <XmlParser.h>
Public Types | |
| enum | IterationMode { PreOrderMode , PostOrderMode } |
| The iteration mode. More... | |
Public Member Functions | |
| void | clear () |
| Will clear all collected nodes. | |
| void | collectChildrenPostOrder (XmlNode &node) |
| Will iterate through all children in post-order iteration. | |
| void | collectChildrenPreOrder (XmlNode &node) |
| Will iterate through all children in pre-order iteration. | |
| bool | getNext (XmlNode &next) |
| Will iterate through all collected nodes. | |
| bool | isEmpty () const |
| Returns true, if the node is empty. | |
| size_t | size () const |
| Will return the number of collected nodes. | |
| XmlNodeIterator (XmlNode &parent, IterationMode mode) | |
| The class constructor. | |
| ~XmlNodeIterator ()=default | |
| The class destructor, default implementation. | |
This class declares an iterator to loop through all children of the root node.
|
inlineexplicit |
The class constructor.
| parent | [in] The xml parent to to iterate through. |
| mode | [in] The iteration mode. |
|
default |
The class destructor, default implementation.
|
inline |
Will clear all collected nodes.
Will iterate through all children in post-order iteration.
| node | [in] The nod to iterate through. |
Will iterate through all children in pre-order iteration.
| node | [in] The nod to iterate through. |
Will iterate through all collected nodes.
| next | The next node, if there is any. |
|
inline |
Returns true, if the node is empty.
|
inline |
Will return the number of collected nodes.