24#ifndef HTML_MASK_FORM_FILENAME_HPP
25#define HTML_MASK_FORM_FILENAME_HPP
37#include "body_builder.hpp"
40#include "html_form_dynamic_table.hpp"
42#include "html_form.hpp"
43#include "html_mask.hpp"
44#include "bibliotheque_subconfig.hpp"
45#include "html_form_mask_bool.hpp"
46#include "html_form_mask_expression.hpp"
62 static const std::string changed;
76 void set_child(
const std::shared_ptr<bibliotheque> & ptr,
80 virtual std::unique_ptr<libdar::mask>
get_mask()
const override {
return root.
get_mask(); };
87 const std::string & context,
88 std::string & changed_event)
const override;
91 virtual void load_json(
const json & source)
override;
103 virtual void on_event(
const std::string & event_name)
override;
117 std::deque<std::string>
get_labels()
const {
return labels; };
132 std::deque<std::string> labels;
136 std::shared_ptr<bibliotheque> biblio;
141 template <
class T>
void init_bool_obj(T & obj)
const;
143 static constexpr const unsigned int format_version = 1;
144 static constexpr const char* myclass_id =
"html_mask_form_filename";
146 static constexpr const char* jlabel_bool_config =
"bool-config";
150template <
class T>
void html_mask_form_filename::init_bool_obj(T & obj)
const
152 obj.set_obj_type_provider(
this);
153 for(std::deque<std::string>::const_iterator it = labels.begin(); it != labels.end(); ++it)
154 obj.add_mask_type(*it);
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
category
change event is replaced by a static method with category in argument
Definition: bibliotheque.hpp:63
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 html_mask defines the interface of all masks
Definition: html_mask.hpp:44
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