///////////////////////////////////////////////////////////////////////////
| 254 | |
| 255 | //////////////////////////////////////////////////////////////////////////////// |
| 256 | float Task::get_float(const std::string& name) const { |
| 257 | auto i = data.find(name); |
| 258 | if (i != data.end()) return strtof(i->second.c_str(), nullptr); |
| 259 | |
| 260 | return 0.0; |
| 261 | } |
| 262 | |
| 263 | //////////////////////////////////////////////////////////////////////////////// |
| 264 | time_t Task::get_date(const std::string& name) const { |