|
EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
|
Implementation of the EnigmaMachine class. More...
#include <algorithm>#include <filesystem>#include <iostream>#include <stdexcept>#include <vector>#include "EnigmaConfigLoader.hpp"#include "EnigmaMachine.hpp"#include "FileAssetProvider.hpp"#include "PlugBoard.hpp"#include "RotorBox.hpp"#include "config.hpp"
Include dependency graph for EnigmaMachine.cpp:Go to the source code of this file.
Typedefs | |
| using | FileName = EnigmaConfigLoader::FileName |
| using | AssetPath = EnigmaConfigLoader::AssetPath |
Functions | |
| static std::string | resolveDefaultAssetPath () |
| Resolves the default asset path based on execution context. Checks for a local 'assets/' folder first, otherwise falls back to the path defined during installation. | |
Implementation of the EnigmaMachine class.
Definition in file EnigmaMachine.cpp.
Definition at line 48 of file EnigmaMachine.cpp.
| using FileName = EnigmaConfigLoader::FileName |
Loads default configuration files (Rotor1, Rotor2, Rotor3, Reflector) from the global assets directory defined in config.hpp.
Definition at line 47 of file EnigmaMachine.cpp.
|
static |
Resolves the default asset path based on execution context. Checks for a local 'assets/' folder first, otherwise falls back to the path defined during installation.
Definition at line 26 of file EnigmaMachine.cpp.
References assetsDir.
Referenced by EnigmaMachine::EnigmaMachine().
Here is the caller graph for this function: