- snprintf(buf, sizeof(buf), "%u", i);
- child->add_property("id", std::string(buf));
- snprintf(buf, sizeof(buf), "%+f", _shadow_data[i]);
- child->add_property("value", std::string(buf));
+ child->set_property("id", i);
+ child->set_property("value", _shadow_data[i]);