20 pair.sourcePortIndex = -1;
21 pair.destinationPortIndex = -1;
constexpr int TRANSFORMER_SIZE
Size of the alphabet/transformer (Standard Enigma is 26).
EnigmaMachineConfig()
Default constructor. Initializes plugboard pairs to -1 (unused).
std::array< PlugBoardPair, PLUGBOARD_MAX_PAIRS > plugBoardPairs
Plugboard connection pairs.
std::array< AlphabetIndex, TRANSFORMER_SIZE > wiring
The internal wiring permutation array (reflection map). Must be of size TRANSFORMER_SIZE.
std::array< AlphabetIndex, TRANSFORMER_SIZE > wiring
The internal wiring permutation array (forward direction). Must be of size TRANSFORMER_SIZE.