|
ORE Studio 0.0.4
|
Produces a fully-stamped ore_import_plan from a scan_result and user-supplied import_choices. More...
#include <ore_import_planner.hpp>

Public Member Functions | |
| ore_import_planner (scanner::scan_result scan_result, std::set< std::string > existing_iso_codes, import_choices choices) | |
| Constructs the planner. | |
| ore_import_plan | plan () |
| Builds the import plan. | |
Produces a fully-stamped ore_import_plan from a scan_result and user-supplied import_choices.
This is a pure-logic class (no network calls). It:
|
explicit |
Constructs the planner.
| scan_result | Result of ore_directory_scanner::scan(). |
| existing_iso_codes | ISO codes already present in the database. |
| choices | User-supplied import options. |
| ore_import_plan plan | ( | ) |
Builds the import plan.
Pure function — safe to call multiple times (each call re-runs the hierarchy builder and re-imports trades).