Class Report

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class SmartPeak::Report : public SmartPeak::Widget

Public Functions

Report(ApplicationHandler &application_handler)
virtual void draw() override

Interface to show the widget

NOTE: free to override in inherited implmementations

Protected Functions

void reportButton(const std::string &title, std::shared_ptr<ReportFilePickerHandler> report_file_picker_handler, const std::string &default_file_name)

Protected Attributes

std::shared_ptr<ReportFilePickerHandler> feature_db_file_picker_handler_
std::shared_ptr<ReportFilePickerHandler> pivot_table_file_picker_handler_
std::shared_ptr<ReportFilePickerHandler> group_feature_db_file_picker_handler_
std::shared_ptr<ReportFilePickerHandler> group_pivot_table_file_picker_handler_
FilePicker report_file_picker_
struct ReportFilePickerHandler : public SmartPeak::IFilePickerHandler

Public Types

typedef bool (*WriterMethod)(const SequenceHandler&, const std::filesystem::path&, const std::vector<FeatureMetadata>&, const std::set<SampleType>&)

Public Functions

inline ReportFilePickerHandler(const Report &report, const std::string title, WriterMethod writer_method)
virtual bool onFilePicked(const std::filesystem::path &filename, ApplicationHandler *application_handler) override

IFilePickerHandler

Protected Attributes

const Report &report_
const std::string title_
WriterMethod writer_method_