|
Toast Engine
|
Global registry mapping fully-qualified type names to NodeInfo pointers. More...
#include <reflect_node.hpp>
Static Public Member Functions | |
| static void | registerNode (const NodeInfo *info) |
| Called by the generated registration function; inserts a type into the registry. | |
| static auto | reflect (std::string_view name) -> const NodeInfo * |
| Looks up a Node type by its fully-qualified C++ name. | |
| template<typename F> | |
| static void | forEachType (F &&fn) |
| Calls fn(info) for every registered node type. | |
Global registry mapping fully-qualified type names to NodeInfo pointers.
The singleton is populated by registerEngineTypes(), which is generated by refgen and called at engine startup. After startup the registry is read-only from user code.
|
inlinestaticnodiscard |