void sort_by_id(Json &data)
ShPtr< Element > ElPtr
An alias for a shared pointer of Element class.
Updater is an abstract class to update data held by an Element object.
nlohmann::json Json
Json is an alias for nlohmann::json.
static const bool do_sorting_by_id
Starter sets some properties to an empty Element object.
Updater()=default
Constructor of Updater class.
virtual void compute_body(const ElPtr &elem, Json &data) override
Compute or parse properties and set them to Element::data given as a mutable reference.
This file has a definition of Updater class, which is one of the cores of this program.