1 #ifndef DESERIALISATION_H 2 #define DESERIALISATION_H 6 #include "core/Command.h" 7 #include "core/TaskHandler.h" 9 #include "LineString.h" 39 template <
typename value_type>
50 std::istringstream isstr(value_string);
56 std::string error_msg(
"deserialisation failed, ");
57 error_msg +=
"could not extract value";
58 std::runtime_error e(error_msg);
114 #endif // DESERIALISATION_H
value_type deserialise_scalar_value(const LineString &key, std::istream &in)
void read_key(const LineString &key, std::istream &in)
std::istream & operator>>(std::istream &in, LineString &line_string)
std::string read_value(std::istream &in)