FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
Port.h
Go to the documentation of this file.
1#ifndef BUSINESS_LOGIC_ELEMENTS_BLOCKS_STRUCTURES_PORT_H
2#define BUSINESS_LOGIC_ELEMENTS_BLOCKS_STRUCTURES_PORT_H
3
4#include <cstdint>
5#include <string>
6
11 struct Port {
12 public:
16 std::string name;
17
21 enum class Type : std::uint8_t { INPUT, OUTPUT };
22
27 };
28} // namespace business_logic::elements::structures
29
30#endif // BUSINESS_LOGIC_ELEMENTS_BLOCKS_STRUCTURES_PORT_H
Abstract structures that constitute for the calculator GUI and are logical models of the rendered ent...
Represents a port on a block.
Definition Port.h:11
std::string name
The name/label of the port.
Definition Port.h:16
Type type
The type of the port.
Definition Port.h:26