|
EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
|
Configuration structure for an individual Rotor. More...
#include <EnigmaMachineConfig.hpp>
Public Member Functions | |
| RotorConfig () | |
Public Attributes | |
| AlphabetIndex | notchPosition = 0 |
| The position (0 - (TRANSFORMER_SIZE - 1)) at which the rotor triggers the turnover of the next rotor. | |
| std::array< AlphabetIndex, TRANSFORMER_SIZE > | wiring |
| The internal wiring permutation array (forward direction). Must be of size TRANSFORMER_SIZE. | |
Configuration structure for an individual Rotor.
Definition at line 13 of file EnigmaMachineConfig.hpp.
| RotorConfig::RotorConfig | ( | ) |
Definition at line 10 of file EnigmaMachineConfig.cpp.
References wiring.
| AlphabetIndex RotorConfig::notchPosition = 0 |
The position (0 - (TRANSFORMER_SIZE - 1)) at which the rotor triggers the turnover of the next rotor.
Definition at line 16 of file EnigmaMachineConfig.hpp.
Referenced by Rotor::Rotor(), and EnigmaConfigLoader::loadRotor().
| std::array<AlphabetIndex, TRANSFORMER_SIZE> RotorConfig::wiring |
The internal wiring permutation array (forward direction). Must be of size TRANSFORMER_SIZE.
Definition at line 18 of file EnigmaMachineConfig.hpp.
Referenced by Rotor::Rotor(), RotorConfig(), and EnigmaConfigLoader::loadRotor().