9 #ifndef ADD_CHILD_POSITIONS_H 10 #define ADD_CHILD_POSITIONS_H 99 const Str &child_name_);
AddChildPositions adds relative positions of a child Element object to a parent Element object...
ShPtr< Element > ElPtr
An alias for a shared pointer of Element class.
virtual void compute_impl(Json &data, JsonToVoidFunc check_required_keys, JsonToBoolFunc check_optional_keys) override
This method overrides Updater::compute_impl.
Adder adds new properties to a non-empty Element object.
std::function< bool(const Json &)> JsonToBoolFunc
An alias for a function accepts a Json object and returns a bool.
std::string Str
Str is an alias for string.
nlohmann::json Json
Json is an alias for nlohmann::json.
This file has a definition of Adder class, which is a subclass of Updater class.
AddChildPositions(const ElPtr &elem, const Str &child_name_)
Constructor of AddChildPositions class.
std::function< void(const Json &)> JsonToVoidFunc
An alias for a function accepts a Json object.