aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output/input/json-parsing/deal_parser.h
diff options
context:
space:
mode:
authorTom Harley2019-01-27 15:37:06 +0000
committerTom Harley2019-01-27 15:37:06 +0000
commita996283af7c21baaff0e114d58c34db820902c6f (patch)
tree2fe5b6f7a800d4a7b8a65ee345f8c98aa138e36b /src/main/input-output/input/json-parsing/deal_parser.h
parentSplit code into 3 files (diff)
downloadmetasol-a996283af7c21baaff0e114d58c34db820902c6f.tar.gz
metasol-a996283af7c21baaff0e114d58c34db820902c6f.zip

Reorganise repo

All solvitaire content has been shoved into a subdirectory to tidy up the root of the project. This also means solvitaire is treated similarly to other dependencies of the project, and allows other dependencies to be added easily.

There’s also a lot of other work done here, such as usign a thread pool library to manage the running of the voters.

Diffstat (limited to 'src/main/input-output/input/json-parsing/deal_parser.h')
-rw-r--r--src/main/input-output/input/json-parsing/deal_parser.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/main/input-output/input/json-parsing/deal_parser.h b/src/main/input-output/input/json-parsing/deal_parser.h
deleted file mode 100644
index 36f58d5..0000000
--- a/src/main/input-output/input/json-parsing/deal_parser.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Created by thecharlesblake on 10/21/17.
-//
-
-#ifndef SOLVITAIRE_DEAL_PARSER_H
-#define SOLVITAIRE_DEAL_PARSER_H
-
-#include <vector>
-
-#include <boost/optional.hpp>
-
-#include "../../../../../lib/rapidjson/document.h"
-#include "../../../../../lib/rapidjson/schema.h"
-
-class game_state;
-
-class deal_parser {
-public:
- static void parse(game_state&, const rapidjson::Document&);
- static void parse_tableau_piles(game_state&, const rapidjson::Document&);
- static void parse_hole(game_state&, const rapidjson::Document&);
- static void parse_cells(game_state&, const rapidjson::Document&);
- static void parse_stock(game_state&, const rapidjson::Document&);
- static void parse_waste(game_state&, const rapidjson::Document&);
- static void parse_reserve(game_state&, const rapidjson::Document&);
- static void parse_sequences(game_state&, const rapidjson::Document&);
- static void parse_accordion(game_state&, const rapidjson::Document&);
- static bool parse_foundations(game_state&, const rapidjson::Document&);
- static void fill_foundations(game_state&);
- static std::string deal_schema_json();
-};
-
-#endif //SOLVITAIRE_DEAL_PARSER_H