18#ifndef OPENSWMM_ENGINE_TYPE_HELPERS_HPP
19#define OPENSWMM_ENGINE_TYPE_HELPERS_HPP
21#include "../data/NodeData.hpp"
22#include "../data/LinkData.hpp"
23#include "../../../include/openswmm/engine/openswmm_nodes.h"
24#include "../../../include/openswmm/engine/openswmm_links.h"
38 default:
return false;
63 default:
return false;
Definition NodeCoupling.cpp:15
int internal_to_c_link_type(LinkType type) noexcept
Definition TypeHelpers.hpp:67
LinkType
Link type codes.
Definition LinkData.hpp:42
NodeType
Node type codes.
Definition NodeData.hpp:43
bool c_to_internal_node_type(int c_type, NodeType &out_type) noexcept
Definition TypeHelpers.hpp:32
int internal_to_c_node_type(NodeType type) noexcept
Definition TypeHelpers.hpp:42
bool c_to_internal_link_type(int c_type, LinkType &out_type) noexcept
Definition TypeHelpers.hpp:56
@ SWMM_LINK_PUMP
Definition openswmm_links.h:34
@ SWMM_LINK_ORIFICE
Definition openswmm_links.h:35
@ SWMM_LINK_CONDUIT
Definition openswmm_links.h:33
@ SWMM_LINK_OUTLET
Definition openswmm_links.h:37
@ SWMM_LINK_WEIR
Definition openswmm_links.h:36
@ SWMM_NODE_JUNCTION
Definition openswmm_nodes.h:33
@ SWMM_NODE_OUTFALL
Definition openswmm_nodes.h:34
@ SWMM_NODE_DIVIDER
Definition openswmm_nodes.h:36
@ SWMM_NODE_STORAGE
Definition openswmm_nodes.h:35