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. More... | |
void | collectChildrenPostOrder (XmlNode &node) |
Will iterate through all children in post-order iteration. More... | |
void | collectChildrenPreOrder (XmlNode &node) |
Will iterate through all children in pre-order iteration. More... | |
bool | getNext (XmlNode &next) |
Will iterate through all collected nodes. More... | |
bool | isEmpty () const |
Returns true, if the node is empty. More... | |
size_t | size () const |
Will return the number of collected nodes. More... | |
XmlNodeIterator (XmlNode &parent, IterationMode mode) | |
The class constructor. More... | |
~XmlNodeIterator ()=default | |
The class destructor, default implementation. More... | |
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.
|
inline |
Will iterate through all children in post-order iteration.
node | [in] The nod to iterate through. |
|
inline |
Will iterate through all children in pre-order iteration.
node | [in] The nod to iterate through. |
|
inline |
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.