EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
Loading...
Searching...
No Matches
config.hpp
Go to the documentation of this file.
1#pragma once
2#include <string_view>
3
10inline constexpr int TRANSFORMER_SIZE = 26;
11
13inline constexpr int PLUGBOARD_MAX_PAIRS = 13;
14
16inline constexpr std::string_view assetsDir = "assets/";
17
19inline constexpr std::string_view defaultRotor1File = "Rotor1.toml";
20inline constexpr std::string_view defaultRotor2File = "Rotor2.toml";
21inline constexpr std::string_view defaultRotor3File = "Rotor3.toml";
22inline constexpr std::string_view defaultReflectorFile = "Reflector.toml";
constexpr std::string_view defaultRotor2File
Definition config.hpp:20
constexpr std::string_view assetsDir
Default assets base directory.
Definition config.hpp:16
constexpr int TRANSFORMER_SIZE
Size of the alphabet/transformer (Standard Enigma is 26).
Definition config.hpp:10
constexpr std::string_view defaultRotor3File
Definition config.hpp:21
constexpr std::string_view defaultRotor1File
Default configuration files.
Definition config.hpp:19
constexpr std::string_view defaultReflectorFile
Definition config.hpp:22
constexpr int PLUGBOARD_MAX_PAIRS
Maximum number of allowed pairs on the plugboard.
Definition config.hpp:13