Function squiggles::deserialize_path

Function Documentation

std::optional<std::vector<ProfilePoint>> squiggles::deserialize_path(std::istream &in)

Converts CSV data into a path.

Return

The path specified by the CSV data or std::nullopt if de-serializing the path was unsuccessful.

Parameters
  • in: The input stream containing the CSV data. This is usually a file.