plot_regression_test_generator.h
Go to the documentation of this file.
31 plot_regression_test_generator(const std::string& test_dir, const constants::plot_types plot_type) :
Definition: plot_regression_test_generator.h:21
Definition: enum_description.h:15
void write(std::ostream &out) const
Definition: plot_regression_test_generator.h:86
void plot(model::metrics::run_metrics &run, model::plot::plot_data< model::plot::candle_stick_point > &data) const
Definition: metric_filter_iterator.h:72
std::string basename(std::string const &source)
Definition: filesystem.cpp:95
Definition: run_metrics.h:54
plot_regression_test_generator(const std::string &run_folder, const std::string &test_dir, const constants::plot_types plot_type)
Definition: plot_regression_test_generator.h:42
std::string baseline() const
Definition: plot_regression_test_generator.h:55
void read(const std::string &run_folder, const size_t thread_count=1) INTEROP_THROW_SPEC((xml void read(const std::string &run_folder, const std::vector< unsigned char > &valid_to_load, const size_t thread_count=1, const bool skip_loaded=false) INTEROP_THROW_SPEC((xml size_t read_xml(const std::string &run_folder) INTEROP_THROW_SPEC((io void read_run_info(const std::string &run_folder) INTEROP_THROW_SPEC((xml size_t read_run_parameters(const std::string &run_folder, const bool force_load=false) INTEROP_THROW_SPEC((io void finalize_after_load(size_t count=std::numeric_limits< size_t >::max()) INTEROP_THROW_SPEC((model bool empty() const
Definition: run_metrics.h:223
base_type clone(const std::string &run_folder) const
Definition: plot_regression_test_generator.h:110
bool advance()
Definition: plot_regression_test_generator.h:94
bool read_expected(const std::string &baseline_file, PlotData &expected) const
Definition: plot_regression_test_generator.h:120
void reset(const std::string &run_info_filename, const constants::plot_types plot_type)
Definition: metric_filter_iterator.h:57
constants::metric_type metric() const
Definition: metric_filter_iterator.h:197
bool generate_actual(const std::string &run_folder, PlotData &actual) const
Definition: plot_regression_test_generator.h:67
virtual std::string baseline() const
Definition: abstract_regression_test_generator.h:114
bool advance()
Definition: metric_filter_iterator.h:217
const model::plot::filter_options & options() const
Definition: metric_filter_iterator.h:208
plot_regression_test_generator(const std::string &test_dir, const constants::plot_types plot_type)
Definition: plot_regression_test_generator.h:31
abstract_generator< PlotData >::parent_type base_t
Definition: abstract_regression_test_generator.h:26
void read_metrics_safe(model::metrics::run_metrics &metrics, const std::string &run_folder)
Definition: abstract_regression_test_generator.h:158
std::string m_run_folder
Definition: abstract_regression_test_generator.h:148
Definition: abstract_regression_test_generator.h:22
std::string m_test_dir
Definition: abstract_regression_test_generator.h:150
bool write_actual(const std::string &baseline_file, const PlotData &actual) const
Definition: plot_regression_test_generator.h:141
base_type clone() const
Definition: plot_regression_test_generator.h:102