EnigmaMachineCore
0.1.0
A modular Enigma Machine simulation in C++20
Loading...
Searching...
No Matches
PlugBoard
include
PlugBoardPair.hpp
Go to the documentation of this file.
1
#pragma once
2
11
struct
PlugBoardPair
{
13
int
sourcePortIndex
{-1};
15
int
destinationPortIndex
{-1};
16
};
PlugBoardPair
Represents a pair of characters connected on the plugboard.
Definition
PlugBoardPair.hpp:11
PlugBoardPair::sourcePortIndex
int sourcePortIndex
The first port index (0 - (TRANSFORMER_SIZE - 1)).
Definition
PlugBoardPair.hpp:13
PlugBoardPair::destinationPortIndex
int destinationPortIndex
The second port index (0 - (TRANSFORMER_SIZE - 1)).
Definition
PlugBoardPair.hpp:15
Generated by
1.9.8