24#ifndef HTML_OPTIONS_TEST_HPP
25#define HTML_OPTIONS_TEST_HPP
35#include <dar/libdar.hpp>
38#include "body_builder.hpp"
40#include "html_form.hpp"
41#include "html_form_fieldset.hpp"
42#include "html_form_input.hpp"
43#include "html_derouleur.hpp"
44#include "html_mask_form_filename.hpp"
45#include "html_mask_form_path.hpp"
48#include "bibliotheque_subconfig.hpp"
60 static const std::string changed;
70 void set_biblio(
const std::shared_ptr<bibliotheque> & ptr);
76 virtual void load_json(
const json & source)
override;
88 virtual void on_event(
const std::string & event_name)
override;
119 std::shared_ptr<html_mask_form_filename> filename_mask;
122 std::shared_ptr<html_mask_form_path> path_mask;
124 void reset_non_pointer_fields();
125 void trigger_change();
127 static constexpr const unsigned int format_version = 1;
128 static constexpr const char* myclass_id =
"html_options_test";
130 static constexpr const char* jlabel_dry_run =
"dry-run";
131 static constexpr const char* jlabel_info_details =
"info-details";
132 static constexpr const char* jlabel_disp_treated =
"display-treated";
133 static constexpr const char* jlabel_disp_only_dir =
"display-only-dirs";
134 static constexpr const char* jlabel_disp_skipped =
"display-skipped";
135 static constexpr const char* jlabel_file_mask =
"file-mask";
136 static constexpr const char* jlabel_path_mask =
"path-mask";
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
class bibliotheque_subconfig is an interface (pure virtual class)
Definition: bibliotheque_subconfig.hpp:50
std::set< coordinates > using_set
list of configs a given config depends on
Definition: bibliotheque.hpp:117
class body_builder is the root class of object generating HTML body
Definition: body_builder.hpp:99
class chemin definition
Definition: chemin.hpp:51
class events
Definition: events.hpp:52
class guichet let one fetch config from a bibliotheque, save as or setup manually for a given compone...
Definition: guichet.hpp:92
class html_derouleur is a pure virtual class
Definition: html_derouleur.hpp:55
html component for the user to provide parameters of libdar archive testing operation
Definition: html_options_test.hpp:58
virtual void on_event(const std::string &event_name) override
inherited from actor
Definition: html_options_test.cpp:266
void set_biblio(const std::shared_ptr< bibliotheque > &ptr)
mandatory call to invoke ASAP after constructor
Definition: html_options_test.cpp:142
libdar::archive_options_test get_options() const
extract component info as an option set for libdar
Definition: html_options_test.cpp:157
virtual bibliotheque::using_set get_using_set() const override
inherited from biblioteque_subconfig
Definition: html_options_test.cpp:256
virtual json save_json() const override
inherited from jsoner
Definition: html_options_test.cpp:220
virtual void new_css_library_available() override
Definition: html_options_test.cpp:298
virtual void load_json(const json &source) override
inherited from jsoner
Definition: html_options_test.cpp:174
virtual void clear_json() override
inherited from jsoner
Definition: html_options_test.cpp:237
virtual std::string inherited_get_body_part(const chemin &path, const request &req) override
implementation of get_body_part() method for inherited classes
Definition: html_options_test.cpp:292
void set_to_webdar_defaults()
set the object to webdar defaults
Definition: html_options_test.cpp:282
class jsoner
Definition: jsoner.hpp:73
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45
defines jsoner class and class exception_json