24 for (std::list<std::pair<std::string, tlp::DataType *>>::const_iterator it = data.begin();
25 it != data.end(); ++it) {
26 const std::pair<std::string, tlp::DataType *> &p = *it;
29 value = *(
static_cast<T *
>(p.second->value));
39 for (std::list<std::pair<std::string, tlp::DataType *>>::iterator it = data.begin();
40 it != data.end(); ++it) {
41 std::pair<std::string, tlp::DataType *> &p = *it;
44 value = *(
static_cast<T *
>(p.second->value));
56 TypedData<T> dtc(
new T(value));