|
|
Donner
C++20 SVG rendering library
|
#include "donner/base/EcsRegistry.h"#include "donner/base/RcString.h"#include "donner/base/SmallVector.h"#include "donner/base/xml/XMLQualifiedName.h"Classes | |
| class | donner::components::TreeComponent |
| Stores the tree structure for an XML element, such as the parent, children, and siblings. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| template<typename Func> | |
| void | donner::components::ForAllChildrenRecursive (EntityHandle handle, const Func &func) |
| Iterate over all children of the given entity recursively and call the given functor for each child. | |
| template<typename Func> | |
| void | donner::components::ForAllChildren (EntityHandle handle, const Func &func) |
| Iterate over all direct children of the given entity and call the given functor for each child. | |
| void donner::components::ForAllChildren | ( | EntityHandle | handle, |
| const Func & | func ) |
Iterate over all direct children of the given entity and call the given functor for each child.
Iterates in pre-order traversal order.
| handle | Entity handle to iterate over. |
| func | Functor to call for each child. |
| void donner::components::ForAllChildrenRecursive | ( | EntityHandle | handle, |
| const Func & | func ) |
Iterate over all children of the given entity recursively and call the given functor for each child.
Iterates in pre-order traversal order.
| handle | Entity handle to iterate over. |
| func | Functor to call for each child. |