![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Stateless validator for exec connections in Visual Script graphs (Phase 20-B). More...
#include "VSConnectionValidator.h"#include "../system/system_utils.h"#include <map>#include <vector>#include <unordered_set>
Include dependency graph for VSConnectionValidator.cpp:Go to the source code of this file.
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Functions | |
| static bool | Olympe::NodeTypeAcceptsExecInput (TaskNodeType type) |
Stateless validator for exec connections in Visual Script graphs (Phase 20-B).
Implements three checks before a new exec connection is added: Check A — Self-loop (srcNodeID == dstNodeID) Check B — Duplicate output pin (srcPinName already has an outgoing connection) Check C — Cycle detection via iterative DFS
C++14 compliant — no std::optional, structured bindings, std::filesystem, std::string_view.
Definition in file VSConnectionValidator.cpp.