Template Function otyca::operator<<(std::ostream&, const Schedule<T>&)

Function Documentation

template<typename T>
std::ostream &otyca::operator<<(std::ostream &out, const Schedule<T> &rhs)

Output stream operator for the Schedule class.

This operator outputs the schedule as a CSV format with time and corresponding values.

Parameters:
  • out – The output stream.

  • rhs – The schedule object to output.

Returns:

The output stream with the schedule data.