aboutsummaryrefslogtreecommitdiff
path: root/src/main/command_line_helper.h
diff options
context:
space:
mode:
authorthecharlesblake2017-11-11 11:36:27 +0000
committerthecharlesblake2017-11-11 11:37:10 +0000
commitbba8775ce7c63783303240470d4a4b8404c9498b (patch)
treea3f6e5dc405ecb4637eca6c54e1261b5630a058c /src/main/command_line_helper.h
parentMerge pull request #19 from thecharlesblake/canfield (diff)
downloadmetasol-bba8775ce7c63783303240470d4a4b8404c9498b.tar.gz
metasol-bba8775ce7c63783303240470d4a4b8404c9498b.zip

Add src file directory structure

Diffstat (limited to 'src/main/command_line_helper.h')
-rw-r--r--src/main/command_line_helper.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/main/command_line_helper.h b/src/main/command_line_helper.h
deleted file mode 100644
index 8cc67cb..0000000
--- a/src/main/command_line_helper.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Created by thecharlesblake on 10/16/17.
-//
-
-#ifndef SOLVITAIRE_COMMAND_LINE_HELPER_H
-#define SOLVITAIRE_COMMAND_LINE_HELPER_H
-
-#include <boost/program_options.hpp>
-
-class command_line_helper {
-public:
- command_line_helper();
- bool parse(int argc, const char* argv[]);
- const std::vector<std::string> get_input_files();
- const std::string get_solitaire_type();
- int get_random_deal();
- bool get_help();
-private:
- bool assess_errors();
- bool assess_sol_type();
- void print_help();
- void print_no_input_error();
- void print_no_sol_type_error();
- void print_rand_plus_input_err();
-
- boost::program_options::options_description cmdline_options;
- boost::program_options::options_description main_options;
- boost::program_options::positional_options_description p;
-
- std::vector<std::string> input_files;
- std::string solitaire_type;
- int random_deal;
- bool help;
-};
-
-#endif //SOLVITAIRE_COMMAND_LINE_HELPER_H