2#include "Engine/Network/NodeImpl.h"
3#include "Engine/Network/NodeType.h"
4#include <boost/config.hpp>
10inline constexpr const char* kNodeConstructorPrefix =
"enzoNode_";
13inline std::string nodeConstructorSymbol(
const std::string& constructorName)
15 return kNodeConstructorPrefix + constructorName;
31#define ENZO_REGISTER_NODE(constructorName, ImplementationClass) \
32 extern "C" BOOST_SYMBOL_EXPORT enzo::nt::NodeImpl* enzoNode_##constructorName( \
33 enzo::nt::Node& node, \
34 enzo::nt::CookContext& context \
37 return new ImplementationClass(node, context); \