diff options
Diffstat (limited to 'src/interfaces/argument_parser.hpp')
-rw-r--r-- | src/interfaces/argument_parser.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/interfaces/argument_parser.hpp b/src/interfaces/argument_parser.hpp deleted file mode 100644 index 6415422..0000000 --- a/src/interfaces/argument_parser.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#include "interfaces/randomization.hpp" - -#include <getopt.h> -#include <memory> -#include <string_view> -#include <vector> - -struct ParsedArguments -{ - std::shared_ptr<IRandomNumberGenerator> random_gen = nullptr; -}; - -// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) -class IArgumentParser -{ -public: - virtual ~IArgumentParser() noexcept = default; - - virtual auto parse( - const std::vector<option> &options, - const std::string_view &short_options, - const int &argc, - char *const *argv) noexcept - -> ParsedArguments = 0; // NOLINT(cppcoreguidelines-avoid-c-arrays, - // modernize-avoid-c-arrays) -}; |