diff options
Diffstat (limited to 'src/argument_parser.hpp')
-rw-r--r-- | src/argument_parser.hpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/argument_parser.hpp b/src/argument_parser.hpp deleted file mode 100644 index 3a32e0b..0000000 --- a/src/argument_parser.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include "interfaces/argument_parser.hpp" -#include "interfaces/randomization.hpp" - -#include <yacppdic/auto_wirable.hpp> - -#include <getopt.h> -#include <string_view> -#include <vector> - -class ArgumentParser - : public IArgumentParser, - public yacppdic:: - AutoWirable<IArgumentParser, ArgumentParser, IRandomNumberGeneratorFactory> -{ -public: - explicit ArgumentParser( - IRandomNumberGeneratorFactory random_number_generator_factory) noexcept; - - auto parse( - const std::vector<option> &options, - const std::string_view &short_options, - const int &argc, - char *const *argv) noexcept - -> ParsedArguments override; // NOLINT(cppcoreguidelines-avoid-c-arrays, - // modernize-avoid-c-arrays) - -private: - IRandomNumberGeneratorFactory _random_number_generator_factory; -}; |