1#ifndef BUSINESS_LOGIC_ELEMENTS_BLOCKS_STRUCTURES_BLOCKS_CONNECTION_SIDE_H
2#define BUSINESS_LOGIC_ELEMENTS_BLOCKS_STRUCTURES_BLOCKS_CONNECTION_SIDE_H
56 return std::hash<business_logic::elements::blocks::BaseBlock*>()(p.
block) ^
57 (std::hash<const business_logic::elements::structures::Port*>()(p.
port) << 1U);
The base class for all blocks, containing common functionality and members.
The base classes and structs for elements.
Abstract structures that constitute for the calculator GUI and are logical models of the rendered ent...
std::pair< BlocksConnectionSide, BlocksConnectionSide > PortsConnection
The business logic module.
A side of a connection between two ports.
bool operator==(const BlocksConnectionSide &other) const
Equality operator.
business_logic::elements::blocks::BaseBlock * block
The block.
const business_logic::elements::structures::Port * port
The port.
Represents a port on a block.
std::size_t operator()(const business_logic::elements::structures::BlocksConnectionSide &p) const