GGUI/Public/NodeRows.h file

Storage beside NodeStorage, by node: a value for every node (NodeRows), for the few nodes that have one (NodeSparse), or several per node (NodeChain).

A slot's value outlives its node: whoever keeps rows resets them when a node is destroyed (NodeStorageListener).

Namespaces

namespace GGUI

Classes

template<typename T>
class GGUI::NodeRows
One value per node, in chunks aligned with NodeStorage's.
template<typename T>
class GGUI::NodeSparse
NodeSparse<T>: a value for the few nodes that have one.
template<typename T>
class GGUI::NodeChain
NodeChain<T>: a short list of values per node.