|
EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
|
Global configuration constants for the Enigma machine. More...
#include <string_view>
Include dependency graph for config.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Variables | |
| constexpr int | TRANSFORMER_SIZE = 26 |
| Size of the alphabet/transformer (Standard Enigma is 26). | |
| constexpr int | PLUGBOARD_MAX_PAIRS = 13 |
| Maximum number of allowed pairs on the plugboard. | |
| constexpr std::string_view | assetsDir = "assets/" |
| Default assets base directory. | |
| constexpr std::string_view | defaultRotor1File = "Rotor1.toml" |
| Default configuration files. | |
| constexpr std::string_view | defaultRotor2File = "Rotor2.toml" |
| constexpr std::string_view | defaultRotor3File = "Rotor3.toml" |
| constexpr std::string_view | defaultReflectorFile = "Reflector.toml" |
Global configuration constants for the Enigma machine.
Definition in file config.hpp.
|
inlineconstexpr |
Default assets base directory.
Definition at line 16 of file config.hpp.
Referenced by resolveDefaultAssetPath(), and resolveDefaultAssetPath().
|
inlineconstexpr |
Definition at line 22 of file config.hpp.
Referenced by EnigmaMachine::EnigmaMachine().
|
inlineconstexpr |
Default configuration files.
Definition at line 19 of file config.hpp.
Referenced by EnigmaMachine::EnigmaMachine().
|
inlineconstexpr |
Definition at line 20 of file config.hpp.
Referenced by EnigmaMachine::EnigmaMachine().
|
inlineconstexpr |
Definition at line 21 of file config.hpp.
Referenced by EnigmaMachine::EnigmaMachine().
|
inlineconstexpr |
Maximum number of allowed pairs on the plugboard.
Definition at line 13 of file config.hpp.
Referenced by EnigmaConfigLoader::load().
|
inlineconstexpr |
Size of the alphabet/transformer (Standard Enigma is 26).
Definition at line 10 of file config.hpp.
Referenced by PlugBoard::PlugBoard(), ReflectorConfig::ReflectorConfig(), Rotor::initReverseLookupTable(), Rotor::rotate(), PlugBoard::swap(), Rotor::transformForward(), and Rotor::transformReverse().